SSH and scp without password.
Make sure id_rsa.pub key available in your destination.
For eg. you connect A to B
Run
#ssh-keygen -t rsa (A box)
Generated keys in /root/.ssh dir
copy id_rsa.pub key
and paste it in box B.
make sure /root/.ssh/authorized_keys file is avaialble if not u create it manually.
and paste in this file.
Now u can login in box without asking a password.
Hope this doc work for you.
Friday, July 18, 2008
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment