SSH bez hesla..?

Jan PAVLÍK gandie na fatboy.cz
Čtvrtek Březen 22 10:34:05 CET 2001


Zdravim,
na Linux.cz v konferneci jsem se sice docetl spousty rad a triku jak rozchodit SSH
bez hesla. Ale proste uz jsem bezradnej, vsechny postupy a pozadavky jsem 
myslim splnil, ale nefunguje to :(

HOST (v adresari /root) :

drwx------   2 root     root         4096 Mar 22 05:05 hostkeys
-rw-------   1 root     root          861 Mar 22 04:42 id_dsa_1024_a
-rw-r--r--   1 root     root          730 Mar 22 04:42 id_dsa_1024_a.pub
-rw-r--r--   1 root     root           20 Mar 22 05:19 identification
-rw-------   1 root     root          512 Mar 22 05:22 random_seed

# cat identification
IdKey id_dsa_1024_a

# ssh-keygen -F id_dsa_1024_a.pub
Fingerprint for key:
xisan-daleh-pityr-kahel-kybel-tireh-tesem-sezed-cafep-fotec-laxix

REMOTE (taktez v adresari /root) :
-rw-r--r--   1 root     root           20 Mar 22 05:33 authorization
-rw-r--r--   1 root     root          730 Mar 22 05:34 authorized_keys
-rw-------   1 root     root          512 Mar 22 05:31 random_seed

# cat authorization
Key authorized_keys

# ssh-keygen -F authorized_keys
Fingerprint for key:
xisan-daleh-pityr-kahel-kybel-tireh-tesem-sezed-cafep-fotec-laxix


Uz nevim, co mam nastaveno spatne, takhle to vypada kdyz se chci prihlasit.
Jo, a v /etc/ssh2 mam nastevenu autorizaci pomoci password a publickey.

Host key not found from database.
Key fingerprint:
xomol-matuc-rahib-sufeb-pikor-kuzil-ficiv-bykis-cesop-kemet-kuxox
You can get a public key's fingerprint by running
% ssh-keygen -F publickey.pub
on the keyfile.
Are you sure you want to continue connecting (yes/no)?


Diky moc JAN PAVLIK



Další informace o konferenci Linux