Commit 31761566 authored by ibuler's avatar ibuler

Update connect.py

parent 7072d16f
...@@ -249,7 +249,7 @@ class Tty(object): ...@@ -249,7 +249,7 @@ class Tty(object):
allow_agent=False, allow_agent=False,
look_for_keys=False) look_for_keys=False)
except paramiko.ssh_exception.AuthenticationException, paramiko.ssh_exception.SSHException: except (paramiko.ssh_exception.AuthenticationException, paramiko.ssh_exception.SSHException):
raise ServerError('认证失败 Authentication Error.') raise ServerError('认证失败 Authentication Error.')
except socket.error: except socket.error:
raise ServerError('端口可能不对 Connect SSH Socket Port Error, Please Correct it.') raise ServerError('端口可能不对 Connect SSH Socket Port Error, Please Correct it.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment