Can't connect to Cisco router using network_cli but ssh from raw module works fine

In my experience, the error "msg": "No existing session" is difficult to identify the cause…

I am not too sure, but if you are using paramiko and authenticating by user and password, try the following ansible.cfg.

[paramiko_connection]
look_for_keys = False
1 Like