Skip to content

Commit

Permalink
Merge from 5.x: PR #15390
Browse files Browse the repository at this point in the history
Fixes #15388
  • Loading branch information
ccordoba12 committed Apr 22, 2021
2 parents 8e8c5c1 + 2d27b62 commit 7f119b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spyder/plugins/ipythonconsole/utils/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ def openssh_tunnel(self, lport, rport, server, remoteip='127.0.0.1',
failed = False
while True:
try:
i = tunnel.expect([ssh_newkey, '[Pp]assword:'], timeout=.1)
i = tunnel.expect(
[ssh_newkey, '[Pp]assword:', '[Pp]assphrase'],
timeout=.1
)
if i == 0:
host = server.split('@')[-1]
question = _("The authenticity of host <b>%s</b> can't be "
Expand Down

0 comments on commit 7f119b2

Please sign in to comment.