microsoft / routeros-scanner

Tool to scan for RouterOS (Mikrotik) forensic artifacts and vulnerabilities.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

paramiko.ssh_exception.SSHException: No existing session

opened this issue · comments

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?

Same problem. I added both allow_agent=False & look_for_keys=False

Hi, we uploaded several in-house fixes, one of them for this issue. You can see the updates here: #24