To login without password from server S to server D:
- on server S:
-- ssh-key-gen -t [rsa/dsa] -f
-- ssh-copy user@D or
- transfer file id...pub on D
- login on D
- cat id...pub >> authorized_keys
It should not ask anymore for password.
But if ssh still asks for the password then do:
- chmod 600 authorized_keys
- chmod 700 ~user/.ssh
- chmod g-w ~user
joi, 31 ianuarie 2013
Abonați-vă la:
Postare comentarii (Atom)
Niciun comentariu:
Trimiteți un comentariu