paramiko.ssh_exception.SSHException: No existing session
Opened this issue · 2 comments
Deleted user commented
I ran into this issue when trying to test my router, it seems to be a common issue with paramiko.
The fix was to add look_for_keys=False
to main.py:
ssh_client.connect(hostname=args.ip, port=args.port, username=args.userName, password=args.password, look_for_keys=False)
Some people on the internet also suggest to add allow_agent=False
Can you possibly add this to readme-file?
Sallaxer commented
Same problem. I added both allow_agent=False
& look_for_keys=False