SSH problem - dispatch_protocol_error: type 80 plen 474

Issues related to configuring your network
Post Reply
ctsuzuki
Posts: 7
Joined: 2015/09/30 12:46:04

SSH problem - dispatch_protocol_error: type 80 plen 474

Post by ctsuzuki » 2017/09/25 19:09:19

Hi,

I have the machine below

Code: Select all

[celso@sf11 ]$ uname -a
Linux sf11 2.2.19-6.2.16 #1 Wed Mar 13 13:03:05 EST 2002 i686 unknown
[celso@sf11 ]$ ssh -V
OpenSSH_3.0.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090581f
That I use it to connect with my new installed machine CentOS 7.
I migrate the installation to the release 1708 and after that I could not connect via ssh to the installed CentOS 7.
When I use the 1611 version, I could connect.

Code: Select all

[celso@sf11 ]$ ssh  192.168.162.46 -l root
root@192.168.162.46's password: 
dispatch_protocol_error: type 80 plen 474
[celso@sf11 ]$ 
In a debug mode

Code: Select all

[celso@sf11 ]$ ssh -v 192.168.162.46 -l root
OpenSSH_3.0.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090581f
debug1: Reading configuration data /home/celso/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 1139 geteuid 0 anon 1
debug1: Connecting to 192.168.162.46 [192.168.162.46] port 22.
debug1: temporarily_use_uid: 1139/1139 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 1139/1139 (e=0)
debug1: restore_uid
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /home/celso/.ssh/identity type -1
debug1: identity file /home/celso/.ssh/id_rsa type 1
debug1: identity file /home/celso/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: match: OpenSSH_7.4 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.0.1p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-sha1 none
debug1: kex: client->server aes128-cbc hmac-sha1 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 162/320
debug1: bits set: 1003/2048
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '192.168.162.46' is known and matches the RSA host key.
debug1: Found key in /home/celso/.ssh/known_hosts:1
debug1: bits set: 1007/2048
debug1: ssh_rsa_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: next auth method to try is publickey
debug1: try privkey: /home/celso/.ssh/identity
debug1: try pubkey: /home/celso/.ssh/id_rsa
debug1: authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: try privkey: /home/celso/.ssh/id_dsa
debug1: next auth method to try is password
root@192.168.162.46's password: 
debug1: packet_send2: adding 64 (len 57 padlen 7 extra_pad 64)
debug1: ssh-userauth2 successful: method password
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
dispatch_protocol_error: type 80 plen 474
debug1: Calling cleanup 0x804febc(0x0)
debug1: Calling cleanup 0x8055c4c(0x0)
debug1: channel_free: channel 0: client-session, nchannels 1
debug1: Calling cleanup 0x805f814(0x0)
Any help, please ?

Thanks & Regards

Celso Suzuki

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: SSH problem - dispatch_protocol_error: type 80 plen 474

Post by avij » 2017/09/25 19:22:58

Does the server's (where you are connecting to) /var/log/messages or /var/log/secure say anything interesting about the connection attempt?

Are you trying to log in using a RSA key or with a password?

The deprecated crypto functionality in 7.4 may be relevant to this.

ctsuzuki
Posts: 7
Joined: 2015/09/30 12:46:04

Re: SSH problem - dispatch_protocol_error: type 80 plen 474

Post by ctsuzuki » 2017/09/25 19:45:07

Hi,

Thanks for reply

No, at the server CentOS 7, it looks like that the session open and closed.
/var/log/messages

Code: Select all

Sep 25 19:30:34 as45 systemd-logind: New session 117 of user root.
Sep 25 19:30:34 as45 systemd: Started Session 117 of user root.
Sep 25 19:30:34 as45 systemd: Starting Session 117 of user root.
Sep 25 19:30:34 as45 systemd-logind: Removed session 117.
/var/log/secure

Code: Select all

Sep 25 19:34:26 as45 sshd[2977]: Accepted password for root from 192.168.160.12 port 2153 ssh2
Sep 25 19:34:26 as45 sshd[2977]: pam_unix(sshd:session): session opened for user root by (uid=0)
Sep 25 19:34:26 as45 sshd[2977]: pam_unix(sshd:session): session closed for user root
I'm trying to connect via password.

I'll take a look at the deprecated functionality.

Thanks ....

Celso Suzuki

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: SSH problem - dispatch_protocol_error: type 80 plen 474

Post by avij » 2017/09/25 20:48:35

See if setting ClientAliveInterval 0 on the server helps. It's possible that you have currently set it to some other value, but try with 0.

ctsuzuki
Posts: 7
Joined: 2015/09/30 12:46:04

Re: SSH problem - dispatch_protocol_error: type 80 plen 474

Post by ctsuzuki » 2017/09/28 11:53:40

No, it didn't work ...
I wrote at /etc/ssh/sshd_config and restarted the sshd service.
Try to connect from the sshV2 and got the same message.

Code: Select all

[axs@sf11 linaxs]$ suax 45
Warning: Permanently added '192.168.162.46' (RSA) to the list of known hosts.
root@192.168.162.46's password: 
dispatch_protocol_error: type 80 plen 474


Thanks.

Post Reply