ServerTune

Browse by category

Search    |    Advanced search

HowTo :: generate and install SSH Keys for Production and Remote/Backup servers

Production Server:

If the .ssh directory doesn't exist, you can create it with the following command:

Now, let's create the SSH Key on the production server:

The system will create a couple of files/keys.

The above step will create the authorized_keys.

Remote/Backup server

Switch back to the Production server: Let's copy the keys from this server on to the remote/backup server.

Enter the password for the remote/backup server when prompted.


Switch to the Remote/Backup server:

That's all. Now, you can transer data and connect to the Remote/Backup server from the Production server without the need for usernmae/password.

 
 
Add comment
 
Views: 1068
 
Votes: 0
 
Comments: 0
 

Other articles in this Category

RSS