Skip to content

Commit 7cf94d2

Browse files
committed
Create connection object for every auth request
1 parent 393b607 commit 7cf94d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nxc/protocols/ssh.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def check_if_admin_sudo(self):
182182
return
183183

184184
def plaintext_login(self, username, password, private_key=""):
185+
self.create_conn_obj()
185186
self.username = username
186187
self.password = password
187188
stdout = None

0 commit comments

Comments
 (0)