From 9326d96c5434517014458141b0c3bbe7616115b0 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Nov 2022 19:56:50 +0000 Subject: [PATCH] Fix typo --- sshim_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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