[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Protocol error: expected packet type 50, got 90
[Thread Prev] | [Thread Next]
- Subject: Re: Protocol error: expected packet type 50, got 90
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 24 Aug 2016 15:46:53 +0200
- To: libssh@xxxxxxxxxx
On Wednesday, 24 August 2016 16:25:16 CEST Yanis Kurganov wrote: > libssh 0.7.2 -> Cisco SSH Server. > Any suggestions are welcome! > Log file attached. > > Code looks like this: > > if (ssh_userauth_none(m_Session, 0) != SSH_AUTH_SUCCESS) > ssh_userauth_password(m_Session, 0, password.c_str()) > > m_Channel = ssh_channel_new(m_Session); > ssh_channel_open_session(m_Channel); From your log file: ssh_packet_userauth_failure: Access denied. ssh_packet_userauth_failure: Access denied. It should say: ssh_packet_userauth_success: Authentication successful Maybe start with checking return codes, we provide them for a reason ... -- andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
Re: Protocol error: expected packet type 50, got 90 | Aris Adamantiadis <aris@xxxxxxxxxxxx> |
Re: Protocol error: expected packet type 50, got 90 | Yanis Kurganov <yanis.kurganov@xxxxxxxxx> |
Protocol error: expected packet type 50, got 90 | Yanis Kurganov <yanis.kurganov@xxxxxxxxx> |