{"action":"closed","issue":{"url":"https://api.github.com/repos/ytti/oxidized/issues/393","repository_url":"https://api.github.com/repos/ytti/oxidized","labels_url":"https://api.github.com/repos/ytti/oxidized/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/ytti/oxidized/issues/393/comments","events_url":"https://api.github.com/repos/ytti/oxidized/issues/393/events","html_url":"https://github.com/ytti/oxidized/issues/393","id":147924402,"number":393,"title":"Oxidized does not send username during SSH login","user":{"login":"yostie","id":10604029,"avatar_url":"https://avatars.githubusercontent.com/u/10604029?v=3","gravatar_id":"","url":"https://api.github.com/users/yostie","html_url":"https://github.com/yostie","followers_url":"https://api.github.com/users/yostie/followers","following_url":"https://api.github.com/users/yostie/following{/other_user}","gists_url":"https://api.github.com/users/yostie/gists{/gist_id}","starred_url":"https://api.github.com/users/yostie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yostie/subscriptions","organizations_url":"https://api.github.com/users/yostie/orgs","repos_url":"https://api.github.com/users/yostie/repos","events_url":"https://api.github.com/users/yostie/events{/privacy}","received_events_url":"https://api.github.com/users/yostie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-13T01:57:03Z","updated_at":"2016-04-13T22:20:46Z","closed_at":"2016-04-13T22:20:46Z","body":"I have about 78 nodes loaded and am having problems with 3 of them.  Two are Cisco 2960X's running regular IOS and the last is a 3850 running IOS-XE.  Oxidized will time out attempting to connect to them.  I have gone through many of the open/closed issues that sound similar to this but maybe not 100%.  The logs show:\r\n\r\n```\r\nD, [2016-04-12T21:15:46.479606 #14341] DEBUG -- : 10.10.10.10 raised Net::SSH::Disconnect with msg \"connection closed by remote host\"\r\nW, [2016-04-12T21:15:47.379973 #14341]  WARN -- : device.example.com status no_connection, retry attempt 1\r\nD, [2016-04-12T21:15:47.380214 #14341] DEBUG -- : Jobs 0, Want: 1\r\n```\r\n\r\nIt does this for the timeout/retry values and then obviously moves on.  I can confirm that if I SSH from the device running Oxidized, it will connect and I can manually log in.  The one thing I did notice is if I login to the switch itself and do a \"who\" to see who is connecting, I see myself and I see an entry for a user with no username:\r\n\r\n```\r\nMY_HOSTNAME#who\r\n    Line       User       Host(s)              Idle       Location\r\n*   1 vty 0    dev_admin idle                 00:00:00 192.168.0.212\r\n    2 vty 1              idle                 00:00:07 172.16.10.10\r\n\r\n```\r\n\r\nIt's almost as if oxidized is not reading the username prompt correctly and is waiting to send the username.  If I SSH from SecureCRT, the prompt looks like:\r\n\r\n```\r\nPlease enter login information for device.mydomain.com.\r\nUsername: \r\n\r\n```\r\n\r\nFinally, if I SSH from the host running oxidized w/ verbose on:\r\n\r\n```\r\n[me@myhost oxidized]$ ssh -v dev_admin@device.mydomain.com\r\nOpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for *\r\ndebug1: Connecting to device.mydomain.com [10.10.10.10] port 22.\r\ndebug1: Connection established.\r\ndebug1: identity file /home/me/.ssh/id_rsa type -1\r\ndebug1: identity file /home/me/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /home/me/.ssh/id_dsa type -1\r\ndebug1: identity file /home/me/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /home/me/.ssh/id_ecdsa type -1\r\ndebug1: identity file /home/me/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /home/me/.ssh/id_ed25519 type -1\r\ndebug1: identity file /home/me/.ssh/id_ed25519-cert type -1\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\ndebug1: Local version string SSH-2.0-OpenSSH_6.6.1\r\ndebug1: Remote protocol version 2.0, remote software version Cisco-1.25\r\ndebug1: no match: Cisco-1.25\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug1: kex: server->client aes128-ctr hmac-sha1 none\r\ndebug1: kex: client->server aes128-ctr hmac-sha1 none\r\ndebug1: kex: diffie-hellman-group-exchange-sha1 need=20 dh_need=20\r\ndebug1: kex: diffie-hellman-group-exchange-sha1 need=20 dh_need=20\r\ndebug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<7680<8192) sent\r\ndebug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP\r\ndebug1: SSH2_MSG_KEX_DH_GEX_INIT sent\r\ndebug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY\r\ndebug1: Server host key: RSA 61:c0:ff:61:60:16:4f:a3:74:c6:68:72:8c:3c:9e:23\r\ndebug1: Host 'device.mydomain.com' is known and matches the RSA host key.\r\ndebug1: Found key in /home/me/.ssh/known_hosts:8\r\ndebug1: ssh_rsa_verify: signature correct\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug1: SSH2_MSG_SERVICE_REQUEST sent\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug1: Authentications that can continue: publickey,keyboard-interactive,password\r\ndebug1: Next authentication method: publickey\r\ndebug1: Trying private key: /home/me/.ssh/id_rsa\r\ndebug1: Trying private key: /home/me/.ssh/id_dsa\r\ndebug1: Trying private key: /home/me/.ssh/id_ecdsa\r\ndebug1: Trying private key: /home/me/.ssh/id_ed25519\r\ndebug1: Next authentication method: keyboard-interactive\r\nPassword: \r\ndebug1: Authentication succeeded (keyboard-interactive).\r\nAuthenticated to device.mydomain.com ([10.10.10.10]:22).\r\ndebug1: channel 0: new [client-session]\r\ndebug1: Entering interactive session.\r\ndebug1: Sending environment.\r\ndebug1: Sending env LANG = en_US.UTF-8\r\n\r\n```\r\n\r\nNot sure what the issue is.  I've tried using the oxs command and turning on -v and --terse but that doesn't give me anything useful.  I have also tried turning on input debugging in the config file, but no log file is actually created.\r\n"}}