Hello!
I installed Ansible on Debian.
When I try to access cisco device:
“ansible all -m ping -c ssh -u test --ask-pass”
I get an error:
SSH password:
192.168.150.39 | FAILED >> {
“failed”: true,
“msg”: “\r\nerror: unknown command: /bin/sh\r\nOpenSSH_6.7p1 Debian-5, OpenSSL 1.0.1k 8 Jan 2015\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: mux_client_request_session: master session id: 2\r\nShared connection to 192.168.150.39 closed.\r\n”,
“parsed”: false
}
My Ansible config file: