SSH
Here are the steps to configure SSH between a client and a server. Usually, the connection can be done with the use of a password. These instructions let the server connects to the client without prompting for any password.
1. In both client and server
cd ~
2. Server
keygen -t rsa
3. Client
mkdir .ssh
4. Server
scp /home/<>/.ssh/id_rsa.pub <>:/home/<>/.ssh/
5. Client
cd .ssh && cat id_rsa.pub >> authorized_keys
chmod 0700 ~/.ssh/
chmod 0600 ~/.ssh/authorized_keys
6. Test from server
ssh <>
No comments yet.
Leave a comment
-
Archives
- February 2009 (1)
- November 2008 (11)
- October 2008 (4)
- September 2008 (8)
- August 2008 (10)
- June 2008 (2)
- May 2008 (1)
- April 2008 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS