79363073

Date: 2025-01-16 21:16:30
Score: 1.5
Natty:
Report link

i made a mistake when i called client.connect() with username option:

before:

client.connect(host, username, key_filename=os.path.join(os.path.expanduser('~'), ".ssh",private_key_file))

after:

client.connect(host, username=username, key_filename=os.path.join(os.path.expanduser('~'), ".ssh",private_key_file))

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: NicoW