os-repl
root 2022-11-28 19:56:50 +00:00
parent 5ad3355f89
commit 9326d96c54
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def check_channel_shell_request(self, channel):
def check_auth_none(self, username): def check_auth_none(self, username):
if username == os.environ["ssh-username"]: if username == os.environ["SSH_USERNAME"]:
return paramiko.AUTH_PARTIALLY_SUCCESSFUL return paramiko.AUTH_PARTIALLY_SUCCESSFUL
return paramiko.AUTH_FAILED return paramiko.AUTH_FAILED