We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67f2643 commit b9112a9Copy full SHA for b9112a9
mitogen/ssh.py
@@ -291,8 +291,8 @@ def _connect_bootstrap(self, extra_fd):
291
raise HostKeyError(self.hostkey_failed_msg)
292
elif buf.lower().startswith((
293
PERMDENIED_PROMPT,
294
- b("%s@%s: %s" % (self.username, self.hostname,
295
- PERMDENIED_PROMPT)),
+ b("%s@%s: " % (self.username, self.hostname))
+ + PERMDENIED_PROMPT,
296
)):
297
# issue #271: work around conflict with user shell reporting
298
# 'permission denied' e.g. during chdir($HOME) by only matching
0 commit comments