Bladeren bron

Update debug instruction for SSH Box (#1425)

* update debug instruction for sshbox

* fix typo

---------

Co-authored-by: Robert Brennan <accounts@rbren.io>
Xingyao Wang 1 jaar geleden
bovenliggende
commit
fe8bb51f17
1 gewijzigde bestanden met toevoegingen van 3 en 1 verwijderingen
  1. 3 1
      opendevin/sandbox/docker/ssh_box.py

+ 3 - 1
opendevin/sandbox/docker/ssh_box.py

@@ -176,7 +176,9 @@ class DockerSSHBox(Sandbox):
         else:
             username = 'root'
         logger.info(
-            f"Connecting to {username}@{hostname} via ssh. If you encounter any issues, you can try `ssh -v -p {self._ssh_port} {username}@{hostname}` with the password '{self._ssh_password}' and report the issue on GitHub."
+            f"Connecting to {username}@{hostname} via ssh. "
+            f"If you encounter any issues, you can try `ssh -v -p {self._ssh_port} {username}@{hostname}` with the password '{self._ssh_password}' and report the issue on GitHub. "
+            f"If you started OpenDevin with `docker run`, you should try `ssh -v -p {self._ssh_port} {username}@localhost` with the password '{self._ssh_password} on the host machine (where you started the container)."
         )
         self.ssh.login(hostname, username, self._ssh_password,
                        port=self._ssh_port)