New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gong exits with cryptic error on SSH login failure #127

Merged
merged 1 commit into from Oct 4, 2013

Conversation

Projects
None yet
2 participants
@jathanism
Member

jathanism commented Oct 4, 2013

On Cisco IOS in some cases (perhaps OS version):

Connecting to device1.  Use ^X to exit.

Fetching credentials from /home/jathan/.tacacsrc

Connection failed for the following reason:

Protocol error: expected packet type 61, got 50

BYE

Reference: https://supportforums.cisco.com/thread/175941

Most likely the router disconnected unexpectedly. Packet 50 (in SSHv2) is
SSH2_MSG_USERAUTH_REQUEST, meaning request for user authentication.
Sometimes, if the credentials are wrong, IOS immediately disconnects instead of
letting you try again

This should be detected as a login failure by Trigger and prompt you to fix your credentials.

@ghost ghost assigned watsonator Oct 2, 2013

@jathanism

This comment has been minimized.

Member

jathanism commented Oct 3, 2013

So far I am unable to reproduce this error.

jathanism added a commit that referenced this pull request Oct 4, 2013

Merge pull request #127 from jathanism/issue-127
Gong exits with cryptic error on SSH login failure

@jathanism jathanism merged commit 30e24cb into trigger:develop Oct 4, 2013

1 check passed

default The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment