diff --git a/src/service_runner.cpp b/src/service_runner.cpp
index fb2399e..173c5b6 100644
--- a/src/service_runner.cpp
+++ b/src/service_runner.cpp
@@ -522,8 +522,8 @@ void service_runner::interactive_ssh_service()
         return;
     }
 
-    std::string command = "/bin/bash -c 'docker exec -it " + m_service_info.service_name + " /bin/bash'";
-    interactive_ssh(m_server_name, command);
+    std::string command = construct_standard_command_run_cmd("ssh");
+    interactive_ssh(m_server_name, "/bin/bash -c '"+command+"'");
 }