Skip to content

Commit

Permalink
Update debug instruction for SSH Box (#1425)
Browse files Browse the repository at this point in the history
* update debug instruction for sshbox

* fix typo

---------

Co-authored-by: Robert Brennan <[email protected]>
  • Loading branch information
xingyaoww and rbren committed Apr 30, 2024
1 parent 0c2ebfd commit fe8bb51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opendevin/sandbox/docker/ssh_box.py
Expand Up @@ -176,7 +176,9 @@ def start_ssh_session(self):
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)
Expand Down

0 comments on commit fe8bb51

Please sign in to comment.