Projects 2008

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 <>

October 11, 2008 - Posted by aes | developer | | No Comments Yet

No comments yet.

Leave a comment