ssh to localhost отображает «Соединение закрыто удаленным хостом»

у меня установлен и работает ssh. Я запустил sudo chmod -R 777 / var , и он перестал работать. Я изменил разрешения с помощью sudo chmod -R 700 / var , но это не заставило его снова работать.

Когда я выполняю ssh -v localhost , я получаю следующий результат:

rajat@ubuntu:/$ ssh -v localhost
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/rajat/.ssh/id_rsa type -1
debug1: identity file /home/rajat/.ssh/id_rsa-cert type -1
debug1: identity file /home/rajat/.ssh/id_dsa type -1
debug1: identity file /home/rajat/.ssh/id_dsa-cert type -1
debug1: identity file /home/rajat/.ssh/id_ecdsa type -1
debug1: identity file /home/rajat/.ssh/id_ecdsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
rajat@ubuntu:/$ 
0
задан Rob W 30 January 2012 в 22:28
поделиться