commit 614d6e8a5bdfa5a8da1e3d4a3648091c6dab5ba1
parent 20449d03ad76ae5697f3422477ddab0fd444d517
Author: Sheng <webmaster0115@gmail.com>
Date: Sat, 18 Aug 2018 19:41:36 +0800
Changed error message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webssh/handler.py b/webssh/handler.py
@@ -159,7 +159,7 @@ class IndexHandler(MixinHandler, tornado.web.RequestHandler):
except socket.error:
raise ValueError('Unable to connect to {}:{}'.format(*dst_addr))
except paramiko.BadAuthenticationType:
- raise ValueError('SSH authentication failed.')
+ raise ValueError('Authentication failed.')
except paramiko.BadHostKeyException:
raise ValueError('Bad host key.')