LINUX.ORG.RU

История изменений

Исправление tazhate, (текущая версия) :

taz@think ~ $ ssh 127.0.0.1
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
ECDSA key fingerprint is 87:68:d7:d9:45:b9:b3:07:25:db:1c:1a:5d:aa:8c:82.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '127.0.0.1' (ECDSA) to the list of known hosts.
Password: 
Last login: Tue Jan  8 02:08:08 MSK 2013 on :0.0
taz@think ~ $ exit
logout
Connection to 127.0.0.1 closed.
taz@think ~ $ ssh-copy-id 127.0.0.1
Password: 
Now try logging into the machine, with "ssh '127.0.0.1'", and check in:

  ~/.ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.

taz@think ~ $ ssh 127.0.0.1
Last login: Sun Jan 13 22:44:52 MSK 2013 from localhost on ssh
taz@think ~ $ exit
logout
Connection to 127.0.0.1 closed.
taz@think ~ $ ls -lah .ssh/known_hosts 
-rw-r--r-- 1 taz taz 8,6K янв.  13 22:44 .ssh/known_hosts
taz@think ~ $ chmod 775 .ssh/known_hosts 
taz@think ~ $ ssh 127.0.0.1
Last login: Sun Jan 13 22:44:55 MSK 2013 from localhost on pts/2
taz@think ~ $ exit
logout
Connection to 127.0.0.1 closed.

Исходная версия tazhate, :

taz@think ~ $ ssh 127.0.0.1
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
ECDSA key fingerprint is 87:68:d7:d9:45:b9:b3:07:25:db:1c:1a:5d:aa:8c:82.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '127.0.0.1' (ECDSA) to the list of known hosts.
Password: 
Last login: Tue Jan  8 02:08:08 MSK 2013 on :0.0
taz@think ~ $ exit
logout
Connection to 127.0.0.1 closed.
taz@think ~ $ ssh-copy-id 127.0.0.1
Password: 
Now try logging into the machine, with "ssh '127.0.0.1'", and check in:

  ~/.ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.

taz@think ~ $ ssh 127.0.0.1
Last login: Sun Jan 13 22:44:52 MSK 2013 from localhost on ssh
taz@think ~ $ exit
logout
Connection to 127.0.0.1 closed.
taz@think ~ $ ls .ssh/known_hosts 
.ssh/known_hosts
taz@think ~ $ ls -lah .ssh/known_hosts 
-rw-r--r-- 1 taz taz 8,6K янв.  13 22:44 .ssh/known_hosts
taz@think ~ $ chmod 775 .ssh/known_hosts 
taz@think ~ $ ssh 127.0.0.1
Last login: Sun Jan 13 22:44:55 MSK 2013 from localhost on pts/2
taz@think ~ $ exit
logout
Connection to 127.0.0.1 closed.