diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-10-15 12:46:43 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-10-15 12:46:43 -0400 |
commit | 151ff83594e85aff569c9ae7d1f2f1a33db3efc9 (patch) | |
tree | f19d0afa17a4f76ffaf426c9024df890fc57f728 /termcast_server | |
parent | adbfe49125bd21c25551e3d3dfd5c7bd311ca82f (diff) | |
download | python-termcast-server-151ff83594e85aff569c9ae7d1f2f1a33db3efc9.tar.gz python-termcast-server-151ff83594e85aff569c9ae7d1f2f1a33db3efc9.zip |
no reason to use password here
Diffstat (limited to 'termcast_server')
-rw-r--r-- | termcast_server/ssh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/termcast_server/ssh.py b/termcast_server/ssh.py index 360c3f7..beffefe 100644 --- a/termcast_server/ssh.py +++ b/termcast_server/ssh.py @@ -199,8 +199,8 @@ class Server(paramiko.ServerInterface): def check_channel_shell_request(self, channel): return True - def check_auth_password(self, username, password): + def check_auth_none(self, username): return paramiko.AUTH_SUCCESSFUL def get_allowed_auths(self, username): - return "password" + return "none" |