You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get the library to work with ssh-key authentication. If the key is not protected by a password everything is fine. As soon as I protect it with a password I get the ConnectAuthError.
Other playbooks using the OpenSSH implementation connecting to Linux servers work just fine with the password protected key. I just get prompted by the system once for the password and they run.
Best regards,
Jesse
The text was updated successfully, but these errors were encountered:
Ansible communicates with Junos devices different than most managed nodes.
With most managed nodes, Ansible makes an SSH connection to the node, pushes modules to the node, and executes the modules on the node. In this mode, Ansible is making the SSH connection.
With Junos devices, Ansible makes a "local" connection and executes the module directly on the local machine. The module then makes a NETCONF-over-SSH connection to the Junos device. In this mode, it's the module that is making the SSH connection.
For Junos devices using a password protected SSH key, you MUST specify the "passwd" option to pass the password to the module.
I am trying to get the library to work with ssh-key authentication. If the key is not protected by a password everything is fine. As soon as I protect it with a password I get the ConnectAuthError.
Other playbooks using the OpenSSH implementation connecting to Linux servers work just fine with the password protected key. I just get prompted by the system once for the password and they run.
Best regards,
Jesse
The text was updated successfully, but these errors were encountered: