From 2e46ded844e9d159e2756c0749c333419ca3bd89 Mon Sep 17 00:00:00 2001 From: jsbyysheng Date: Thu, 9 Nov 2023 17:46:56 +0800 Subject: [PATCH] Update remoteprocess.py Fix errors for multimachine communications. --- tools/roslaunch/src/roslaunch/remoteprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/roslaunch/src/roslaunch/remoteprocess.py b/tools/roslaunch/src/roslaunch/remoteprocess.py index 6f44eff25f..db9bcc6abf 100644 --- a/tools/roslaunch/src/roslaunch/remoteprocess.py +++ b/tools/roslaunch/src/roslaunch/remoteprocess.py @@ -192,7 +192,7 @@ def _ssh_exec(self, command, address, port, username=None, password=None): if password is None: #use SSH agent ssh.connect(address, port, username, timeout=TIMEOUT_SSH_CONNECT, key_filename=identity_file) else: #use SSH with login/pass - ssh.connect(address, port, username, password, timeout=TIMEOUT_SSH_CONNECT) + ssh.connect(address, port, username, password, timeout=TIMEOUT_SSH_CONNECT, allow_agent=False) except paramiko.BadHostKeyException: _logger.error(traceback.format_exc()) err_msg = "Unable to verify host key for remote computer[%s:%s]"%(address, port)