Home ›
Public key on a Debian serverPublic key on a Debian server
Submitted by Benjamin Melançon on December 11, 2007 - 12:47am
Searched words:
where to see public key for a server
where to see public key Debian
where to see .pub Debian
id_rsa.pub Debian
http://www.debianadmin.com/ssh-your-debian-servers-without-password.html
To allow ServerA to SSH to ServerB without password, please try the following:
ssh-keygen -t rsa
Note: User here is root
This generates two files id_rsa.pub and id_rsa
Now, this needs to be copied to the authorized_keys file on ServerB
scp id_rsa.pub ServerB:~/.ssh/ServerA_rsa.pub
(If you already have passwords turned off )
cat ServerA_rsa.pub >> authorized_keys
Thats it. Test if you are able to do a ssh from ServerA without a password:
ssh serverB uname -a
This will run the command “uname -a” on ServerB and returns the result on ServerA.
Resolution
More like this
- Setting up MAMP to work for the same scripts we use on the Debian server
- Monitoring MySQL uptime and performance on a Debian server
- Connecting to a server that does security by IP address... finding your IP address
- See and share a terminal server SSH session
- Debian server not sending mail to recipients that share its domain name


Comments
Post new comment