diff --git a/sshim_patch.py b/sshim_patch.py index 5d39940..e9ed9a9 100644 --- a/sshim_patch.py +++ b/sshim_patch.py @@ -20,7 +20,7 @@ def check_channel_shell_request(self, channel): 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_FAILED