Skip to content

Commit 71c9d94

Browse files
committed
Merge pull request #57 from bentsi/master
Improved Authentication excpetion text in SSHClient
2 parents 433bab1 + 9a19ac9 commit 71c9d94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pssh/ssh_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _connect(self, client, host, port, sock=None, retries=1):
180180
self.host, self.port,
181181
str(error_type), retries, self.num_retries,)
182182
except paramiko.AuthenticationException, ex:
183-
msg = "Host is '%s:%s'"
183+
msg = "Authentication error while connecting to %s:%s."
184184
raise AuthenticationException(msg, host, port)
185185
# SSHException is more general so should be below other types
186186
# of SSH failure

0 commit comments

Comments
 (0)