![]() |
|
|
|
|
|||||||
| Virtual Private Servers (VPS) Need help with your VPS plan on HostICan? Please feel free to ask and we'll give you the answers! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Hi!
Can anyone help me with this? Here is my question... I installed rsnapshot, rsync, etc. on my local Debian (Ubuntu) based server to automate an off site backup stored on my local server. (That way I don't ever have to manually make any backups as they will all be fully automated). I created a key on my local server via: Code:
ssh-keygen -t rsa Then I then sent the public key to one of my remote servers (here at hostican) like this: Code:
scp .ssh/id_rsa.pub root@208.73.xx.xxx:/root/.ssh/authorized_keys2 I logged into the remote (hostican) WHM and went to: Main >> Security >> Manage SSH Keys I could see that the key was indeed there and that it was authorized. Then when I tested the backup (local) system, the remote (hostican) server at 208.73.xx.xxx still forced me to manually enter the root password. What's up with that? I thought an authorized key means that it will allow scripts (like ones to use it rsnapshot/rsynch) will not be forced to have a person enter root's password. Is there something else on the 208.73.xx.xxx server that is forcing this? Thanks to anyone that can help. Last edited by roger; 11-13-2008 at 04:56 PM. Reason: spelling |
|
#2
|
||||
|
||||
|
This depends, I know you can set it to automatically allow the root key I think you have to indicate it. However, I would strongly recommend that you include the key in the backup statement.
For example: -p ROOTPASS in the ssh command, that will be more secure in the long run.
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | HostICan Newsletter | HostICan Blog | Become a HostICan Affiliate | Create a Support Ticket. |
![]() |
| Tags |
| automated, backup, certificate, login, rsnapshot, rsync, script, server, ssh |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|