π OpenHands: AI-Driven Development
fix: print the wrong ssh port number (#1054)
Leo2326312d3a29
diff --git a/opendevin/sandbox/ssh_box.py b/opendevin/sandbox/ssh_box.pyindex a5c35a4c7f..b05303436b 100644--- a/opendevin/sandbox/ssh_box.py+++ b/opendevin/sandbox/ssh_box.py@@ -169,7 +169,7 @@ class DockerSSHBox(Sandbox):logger.info(# FIXME: mypy and autopep8 fight each other on this line# autopep8: off- f"Connecting to {username}@{hostname} via ssh. If you encounter any issues, you can try `ssh -v -p 2222 {username}@{hostname}` with the password '{self._ssh_password}' and report the issue on GitHub."+ 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.")self.ssh.login(hostname, username, self._ssh_password, port=self._ssh_port)