LINUX.ORG.RU
ФорумAdmin

sshfs: remote host has disconnected

 ,


0

1

Подключался я раньше к серверу через sshfs, а теперь не получается (с разных машин).
Доступа к техподдержке сервера (хостинг) нет, гугл несколько дней ничего действенного не советует.

Что ему не нравиться?

SSHFS version 2.2
executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-ologlevel=debug> <-oCompression=yes> <-oNumberOfPasswordPrompts=1> <-oPreferredAuthentications=password,keyboard-interactive> <-2> <username@hostname> <-s> <sftp>
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to hostname [hostname] port 22.
debug1: Connection established.
debug1: identity file /home/x/.ssh/id_rsa type -1
debug1: identity file /home/x/.ssh/id_rsa-cert type -1
debug1: identity file /home/x/.ssh/id_dsa type -1
debug1: identity file /home/x/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze3
debug1: match: OpenSSH_5.5p1 Debian-6+squeeze3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-6+squeeze3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 zlib@openssh.com
debug1: kex: client->server aes128-ctr hmac-md5 zlib@openssh.com
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'hostname' is known and matches the RSA host key.
debug1: Found key in /home/x/.ssh/known_hosts:4
debug1: ssh_rsa_verify: signature correct
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,keyboard-interactive
debug1: Next authentication method: password
debug1: Enabling compression at level 6.
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = ru_RU.UTF-8
debug1: Sending subsystem: sftp
debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
Transferred: sent 1512, received 1960 bytes, in 0.0 seconds
Bytes per second: sent 39421.1, received 51101.4
debug1: Exit status -1
debug1: compress outgoing: raw data 177, compressed 151, factor 0.85
debug1: compress incoming: raw data 104, compressed 81, factor 0.78
remote host has disconnected
★★

Последнее исправление: metrokto (всего исправлений: 1)

Ответ на: комментарий от DALDON
#Remote:
$ssh -v
OpenSSH_5.5p1 Debian-6+squeeze3, OpenSSL 0.9.8o 01 Jun 2010
$ md5sum /usr/bin/ssh
b9e7b4d267525c9378a77a18bba01563  /usr/bin/ssh

#Local:
$ssh -v
OpenSSH_5.5p1 Debian-6+squeeze3, OpenSSL 0.9.8o 01 Jun 2010
$ md5sum /usr/bin/ssh
ece667d86352930d78297cee5ef8f306  /usr/bin/ssh

Ы?

metrokto ★★
() автор топика
Последнее исправление: metrokto (всего исправлений: 1)
Ответ на: комментарий от metrokto

А посмотреть auth.log на сервере? А тебе сказали совершенно верно, хеш то у sshd неверный. Школьники неверно собрали свой sshd, печаль.

invokercd ★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.