Protocol Error Expected Packet Type 61
Sign in Pricing Blog Support Search GitHub This repository Watch 26 Star 491 Fork 39 ronf/asyncssh Code Issues 1 Pull requests 0 Projects 0 Pulse Graphs New issue connection to Cisco IOS devices fail with DisconnectError: ProtocolError: expected packet type 61, got 50 #3 Closed ghost opened this Issue Mar 3, 2015 · 1 comment Projects None yet Labels bug enhancement Milestone No milestone Assignees ronf 1 participant ghost commented Mar 3, 2015 when connecting to a Cisco IOS router (specifically a 3945 running IOS 15.2(4)M6a), there is an exception thrown: asyncssh.misc.DisconnectError: Disconnect Error: Protocol error: expected packet type 61, got 50 logger output 2015-03-03 22:18:26,983 - Utility - collect_configs3 - cs_ssh_get_config - INFO - starting ssh session to ash-39t-gsgo-oob-1 with username scrooks... 2015-03-03 22:18:30,321 - Utility - collect_configs3 - cs_ssh_get_config - ERROR - ssh connection failed hostname=ash-39t-gsgo-oob-1, ip=131.253.126.240 exc=Disconnect Error: Protocol error: expected packet type 61, got 50 Traceback (most recent call last): File "/glusterfs/home/scrooks/bin/cybersonic/network/Utility.py", line 347, in cs_ssh_get_config server_host_keys=None) File "/glusterfs/lib/python3.4/site-packages/asyncssh/connection.py", line 3088, in create_connection yield from auth_waiter File "/glusterfs/lib/python3.4/asyncio/futures.py", line 348, in iter yield self # This tells Task to wait for completion. File "/glusterfs/lib/python3.4/asyncio/tasks.py", line 332, in _wakeup value = future.result() File "/glusterfs/lib/python3.4/asyncio/futures.py", line 243, in result raise self._exception asyncssh.misc.DisconnectError: Disconnect Error: Protocol error: expected packet type 61, got 50 2015-03-03 22:18:30,349 - Utility - collect_configs3 - cs_collect_config - INFO - finished collecting config for ash-39t-gsgo-oob-1... the same code works fine for other types of devices which use an OpenSSH-based ssh server (Juniper routers, Cisco Nexus 3000 series switches) code: @asyncio.coroutine def cs_ssh_get_config(self, hostname, ip, username, password, cmd, type): try: result = "" stderr_output = "" logger.info("starting ssh session to %s with username %s..." % (str(hostname), str(username))) if(type == "ios"): #kex_list = ["diffie-hellman-group-exchange-sha1", "diffie-hellman-group14-sha1", "d
disconnect from
a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time https://www.experts-exchange.com/questions/27473719/Putty-fatal-error.html Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Courses Vendor Services Groups Careers Store Headlines Website Testing Experts Exchange > Questions > Putty fatal error Want to Advertise Here? Solved Putty fatal error Posted on 2011-12-01 Routers Switches protocol error / Hubs Network Architecture 1 Verified Solution 4 Comments 1,475 Views Last Modified: 2012-05-12 Server sent disconnect message type 2(protocol error): "Protocol error: expected packet type 61, got-1" My TACACS account stops working for a few hours and then starts working again without being reset. Right now my TACACS account is not locked but I get this message protocol error expected and access denied in the Cisco CLI. 0 Question by:Dragon0x40 Facebook Twitter LinkedIn Google LVL 21 Active 3 days ago Best Solution byeeRoot What device is serving as the TACACS server? Does this happen on all devices that use this particular TACACS server? Go to Solution 4 Comments LVL 21 Overall: Level 21 Switches / Hubs 16 Routers 11 Network Architecture 9 Message Active 3 days ago Accepted Solution by:eeRoot2011-12-01 What device is serving as the TACACS server? Does this happen on all devices that use this particular TACACS server? 0 Message Author Comment by:Dragon0x402011-12-01 I was trying to get more information on the error code from putty. I don't know if all the devices use a particular TACACS server. It is working again right now so I cannot troubleshoot any more. 0 LVL 21 Overall: Level 21 Switches / Hubs 16 Routers 11 Network Architecture 9 Message Active 3 days ago Expert Comment by:eeRoot2011-12-01 I ask because the error may be generated by the device doing the authent