Hello, I would like to know if it possible to use some network modules (aireos for example) and connect to my device which is asking me multiples prompts (username and password).
The device behavior : When you try to ssh to the device, it's always working (no authentication required), and then the device ask for a username and then a password. Here's the debug connection with ssh : ssh 10.x.x.x -v OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017 debug1: Reading configuration data /home/florian_lacommare/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 59: Applying options for * debug1: Connecting to 10.x.x.x [ 10.x.x.x ] port 22. debug1: Connection established. debug1: key_load_public: No such file or directory debug1: identity file /home/florian_lacommare/.ssh/id_rsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/florian_lacommare/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/florian_lacommare/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/florian_lacommare/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/florian_lacommare/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/florian_lacommare/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/florian_lacommare/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/florian_lacommare/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.4 debug1: Remote protocol version 2.0, remote software version CISCO_WLC debug1: no match: CISCO_WLC debug1: Authenticating to 10.x.x.x:22 as 'florian_lacommare' debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: diffie-hellman-group-exchange-sha1 debug1: kex: host key algorithm: ssh-rsa debug1: kex: server->client cipher: arcfour128 MAC: hmac-sha2-256 compression: none debug1: kex: client->server cipher: arcfour128 MAC: hmac-sha2-256 compression: none debug1: kex: diffie-hellman-group-exchange-sha1 need=32 dh_need=32 debug1: kex: diffie-hellman-group-exchange-sha1 need=32 dh_need=32 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<8192<8192) sent debug1: got SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: got SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: ssh-rsa SHA256:WUCImUIJ7TlGIvZV8ltINHMHkgLR48sGRCrKGZq7goo debug1: Host ' 10.x.x.x ' is known and matches the RSA host key. debug1: Found key in /home/florian_lacommare/.ssh/known_hosts:22 debug1: rekey after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: rekey after 134217728 blocks debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentication succeeded (none). Authenticated to 10.x.x.x ([ 10.x.x.x ]:22). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: pledge: network debug1: Sending environment. debug1: Sending env LC_ALL = en_US.UTF-8 debug1: Sending env LANG = en_US.UTF-8 (Cisco Controller) User: myusername Password:****** Regards -- This e-mail and any attachment are confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. Unauthorized publication, use, dissemination, forwarding, printing or copying of this e-mail and its associated attachments is strictly prohibited. http://disclaimer.carrefour.com/ <http://disclaimer.carrefour.com/> Let's respect the environment together. Only print this message if necessary. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f3bb0ea6-6943-4d4d-9104-b8f744961901n%40googlegroups.com.