{"action":"created","issue":{"url":"https://api.github.com/repos/ktbyers/netmiko/issues/758","repository_url":"https://api.github.com/repos/ktbyers/netmiko","labels_url":"https://api.github.com/repos/ktbyers/netmiko/issues/758/labels{/name}","comments_url":"https://api.github.com/repos/ktbyers/netmiko/issues/758/comments","events_url":"https://api.github.com/repos/ktbyers/netmiko/issues/758/events","html_url":"https://github.com/ktbyers/netmiko/issues/758","id":308509071,"number":758,"title":"NetMikoAuthenticationException: Telnet login failed","user":{"login":"Selvam02cs33","id":17153587,"avatar_url":"https://avatars0.githubusercontent.com/u/17153587?v=4","gravatar_id":"","url":"https://api.github.com/users/Selvam02cs33","html_url":"https://github.com/Selvam02cs33","followers_url":"https://api.github.com/users/Selvam02cs33/followers","following_url":"https://api.github.com/users/Selvam02cs33/following{/other_user}","gists_url":"https://api.github.com/users/Selvam02cs33/gists{/gist_id}","starred_url":"https://api.github.com/users/Selvam02cs33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Selvam02cs33/subscriptions","organizations_url":"https://api.github.com/users/Selvam02cs33/orgs","repos_url":"https://api.github.com/users/Selvam02cs33/repos","events_url":"https://api.github.com/users/Selvam02cs33/events{/privacy}","received_events_url":"https://api.github.com/users/Selvam02cs33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-26T10:07:23Z","updated_at":"2018-03-27T17:05:44Z","closed_at":null,"author_association":"NONE","body":"unable to telnet to the device. getting authentication issue, please help. I was able to login successfully with same user name and password via putty. \r\n\r\nScript 👍 \r\n```\r\n\r\nfrom netmiko import ConnectHandler\r\nimport logging\r\nlogging.basicConfig(filename='logg.log', level=logging.DEBUG)\r\nlogger = logging.getLogger(\"netmiko\")\r\niblre3s2 = {'device_type': 'cisco_ios_telnet', 'ip': 'EDMOTOM12AZ-S4', 'username': 'admin', 'password': '*****', 'port':'23'}\r\nConnectHandler(**iblre3s2)\r\n```\r\n\r\nLogs:\r\n\r\nDEBUG:netmiko:read_channel: \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nC\r\n\r\n\r\n\r\nCCC\r\n\r\n      ---------------------------------------------------\r\n\r\n                          ATTENTION\r\n\r\n                   This is a private system.\r\n\r\n         Access by unauthorized personnel is prohibited\r\n\r\n                 and may result in prosecution.\r\n\r\n      ----------------------------------------------------\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nUserName: \r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: \r\n\r\nUserName: \r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: \r\n\r\nUserName: \r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: \r\n\r\nTacacs authentication failed \r\n\r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: \r\n\r\nDEBUG:netmiko:read_channel: CC \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ktbyers/netmiko/issues/comments/376601119","html_url":"https://github.com/ktbyers/netmiko/issues/758#issuecomment-376601119","issue_url":"https://api.github.com/repos/ktbyers/netmiko/issues/758","id":376601119,"user":{"login":"clovehitch","id":8883967,"avatar_url":"https://avatars3.githubusercontent.com/u/8883967?v=4","gravatar_id":"","url":"https://api.github.com/users/clovehitch","html_url":"https://github.com/clovehitch","followers_url":"https://api.github.com/users/clovehitch/followers","following_url":"https://api.github.com/users/clovehitch/following{/other_user}","gists_url":"https://api.github.com/users/clovehitch/gists{/gist_id}","starred_url":"https://api.github.com/users/clovehitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clovehitch/subscriptions","organizations_url":"https://api.github.com/users/clovehitch/orgs","repos_url":"https://api.github.com/users/clovehitch/repos","events_url":"https://api.github.com/users/clovehitch/events{/privacy}","received_events_url":"https://api.github.com/users/clovehitch/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T17:05:44Z","updated_at":"2018-03-27T17:05:44Z","author_association":"NONE","body":"I'm getting a similar issue on a Cisco C2950G (IOS 12.1(9)EA1)\r\n\r\n===LOG===\r\nUserName: \r\nDEBUG:netmiko:write_channel: b'\\r\\n'\r\nDEBUG:netmiko:read_channel: \r\n\r\nUserName: \r\nDEBUG:netmiko:write_channel: b'\\r\\n'\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: b'\\r\\n'\r\nDEBUG:netmiko:read_channel: \r\n\r\nUserName: \r\nDEBUG:netmiko:write_channel: b'\\r\\n'\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: b'\\r\\n'\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: b'\\r\\n'\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: b'\\r\\n'\r\nDEBUG:netmiko:read_channel: \r\nDEBUG:netmiko:write_channel: b'\\r\\n'\r\nDEBUG:netmiko:read_channel: \r\n\r\nTacacs authentication failed \r\n================================================\r\nIt looks when the username prompt is shown it doesn't recognize it and then continues to send '\\r\\n'\r\n\r\nAny thoughts on this? "}}
{"actor":{"display_login":"clovehitch"}}