Обрисую проблему: после горячей перезагрузки хоста с активной ssh-сессией перестало работать подключение по ssh. Сгенерировал новые ключи - но пересылка не работает - висит команда в терминале:
user@user-virtual-machine:~$ ssh -vvv root@192.168.7.2 OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 192.168.7.2 [192.168.7.2] port 22. debug1: Connection established. debug3: Incorrect RSA1 identifier debug3: Could not load «/home/user/.ssh/id_rsa» as a RSA1 public key debug1: identity file /home/user/.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/user/.ssh/id_rsa-cert type -1 debug1: identity file /home/user/.ssh/id_dsa type -1 debug1: identity file /home/user/.ssh/id_dsa-cert type -1 debug1: identity file /home/user/.ssh/id_ecdsa type -1 debug1: identity file /home/user/.ssh/id_ecdsa-cert type -1 ^C user@user-virtual-machine:~$ ssh-copy-id -i ~/.ssh/id_rsa root@192.168.7.2 ^C user@user-virtual-machine:~$ ssh-copy-id -vvv -i ~/.ssh/id_rsa root@192.168.7.2OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012 Pseudo-terminal will not be allocated because stdin is not a terminal. debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 ssh: Could not resolve hostname umask 077; test -d ~/.ssh || mkdir ~/.ssh ; cat >> ~/.ssh/authorized_keys: Name or service not known user@user-virtual-machine:~$
Как теперь да Бигла достучаться?