Skip to content

Commit 46cdb3f

Browse files
Peter Markirobertsipka
authored andcommitted
Fix error in SSHConnection.open (#221)
JSRemoteTest-DCO-1.0-Signed-off-by: Peter Marki [email protected]
1 parent 2c796b9 commit 46cdb3f

File tree

1 file changed

+1
-1
lines changed
  • jstest/testrunner/devices/connections

1 file changed

+1
-1
lines changed

jstest/testrunner/devices/connections/sshcom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def open(self):
4444
Open the ssh port.
4545
'''
4646
self.ssh.connect(hostname=self.ip, port=self.port, username=self.username,
47-
password=self.password, look_for_keys=bool(self.password))
47+
password=self.password, look_for_keys=not bool(self.password))
4848

4949
if self._no_exec_command:
5050
self.chan = self.ssh.invoke_shell()

0 commit comments

Comments
 (0)