data@server01:~$ ssh user@10.7.4.1 -vvv
OpenSSH_5.5p1 Debian-6, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.7.4.1 [10.7.4.1] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file /home/data/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/data/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/data/.ssh/id_rsa-cert type -1
debug1: identity file /home/data/.ssh/id_dsa type -1
debug1: identity file /home/data/.ssh/id_dsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
Я подозреваю, что с вашим закрытым ключом что-то не так, вероятно, с первой строкой.
Не вставляйте это в вопрос.
Как вы сгенерировали закрытый ключ? Можете попробовать создать новый? (Помните, что они бывают парами, поэтому делайте это только в том случае, если вы можете изменить открытый ключ и на другом конце.)
Ключ, скорее всего, либо SSL, либо в формате PuTTY. Он несовместим с клиентом / сервером Linux ssh.
Правильно это формат - похоже, ключ, сгенерированный Putty.
Чтобы правильно вырезать / вставить ключ puttygen, см. Здесь: http://www.howtoforge.com/how-to-configure-ssh-keys-authentication-with-putty-and-linux-server-in-5-quick-steps
Однако - вы ведь не с компьютера с Windows шьете? Похоже, вы переходите с сервера на базе Debian на частный IP. Вы пытаетесь использовать ключи puttygen на другом хосте? Почему это вместо ssh-keygen?
Мне любопытно, что вы здесь пытаетесь сделать. Можете подробнее рассказать?