под катом то что возвращает ssh:
Код: Выделить всё
OpenSSH_7.1p1-hpn14v5, OpenSSL 1.0.2d 9 Jul 2015
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 1.1.67.16 [1.1.67.16] port 22.
debug1: Connection established.
debug1: identity file /home/revent/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/revent/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/revent/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/revent/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/revent/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/revent/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/revent/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/revent/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.1p1-hpn14v5
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.4p1.RL
debug1: match: OpenSSH_3.4p1.RL pat OpenSSH_3.* compat 0x01000000
debug1: Remote is NON-HPN aware
debug1: Authenticating to 1.1.67.16:22 as 'gorskin'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: AUTH STATE IS 0
debug1: REQUESTED ENC.NAME is 'aes128-cbc'
debug1: kex: server->client aes128-cbc hmac-sha1 none
debug1: REQUESTED ENC.NAME is 'aes128-cbc'
debug1: kex: client->server aes128-cbc hmac-sha1 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<7680<8192) sent
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: ssh-dss SHA256:F/dO8mY2teYI1uMSruNMk5PmqFfrtcTpNmcWyjOV+Xg
debug1: Host '1.1.67.16' is known and matches the DSA host key.
debug1: Found key in /home/revent/.ssh/known_hosts:46
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/revent/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/revent/.ssh/id_dsa
debug1: Trying private key: /home/revent/.ssh/id_ecdsa
debug1: Trying private key: /home/revent/.ssh/id_ed25519
debug1: Next authentication method: password
gorskin@1.1.67.16's password:
debug1: Authentication succeeded (password).
Authenticated to 1.1.67.16 ([1.1.67.16]:22).
debug1: HPN to Non-HPN Connection
debug1: Final hpn_buffer_size = 2097152
debug1: HPN Disabled: 0, HPN Buffer Size: 2097152
debug1: channel 0: new [client-session]
debug1: Enabled Dynamic Window Scaling
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LC_ALL =
debug1: Sending env LANG = ru_RU.utf8
debug1: Sending env LC_CTYPE = ru_RU.utf8
debug1: Sending command: sh ver
Received disconnect from 1.1.67.16: 2:
A client is already connected
Disconnected from 1.1.67.16