LINUX.ORG.RU

авторизация по RSA ключам


0

0

Сделал всё как сказано по ссылке: http://www.opennet.ru/base/sec/ssh_pubkey_auth.txt.html

после чего сделал коннект по ssh с ключом v. в результате вот что отразилось на экране:

OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090707f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: Connecting to host.net [195.42.11.1] port 22. debug1: Connection established. debug1: identity file /home/clients/bgsk/.ssh/identity type -1 debug1: identity file /home/clients/bgsk/.ssh/id_rsa type -1 debug1: identity file /home/clients/bgsk/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6.1p2 debug1: match: OpenSSH_3.6.1p2 pat OpenSSH* debug1: Local version string SSH-1.5-OpenSSH_3.6.1p2 debug1: Waiting for server public key. debug1: Received server public key (768 bits) and host key (1024 bits). debug1: Host host.net' is known and matches the RSA1 host key. debug1: Found key in /home/clients/bgsk/.ssh/known_hosts:1 debug1: Encryption type: blowfish debug1: Sent encrypted session key. debug1: Installing crc compensation attack detector. debug1: Received encrypted confirmation. debug1: Doing challenge response authentication. debug1: No challenge. debug1: Doing password authentication.

в чём мог допустить оплошность? во время запроса при генерации ключей пароля не вводил. просто нажимал enter.

посмотри что происходит на той стороне в /var/log/message

возможно права кривые на ~/.ssh/authorized_keys

Reset ★★★★★
()
Ответ на: комментарий от sniper-9

Правильне 644 - в этом файле нет ни чего секретного

opeg
()

Не слушай зарегистрированного:

man ssh

~/.ssh/authorized_keys This file is not highly sensitive, but the recommended permissions are read/write for the user, and not ac- cessible by others.

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