I'm trying to use Dungog to Rsync server1(ibay) to server2(Ibay) accross the WAN.
-I created a user on both servers (test1) same password on both servers.
-I installed the RPM so could give both users shell access
-I'm following the instructions from post
http://forums.contribs.org/index.php?topic=23215.msg93167#msg93167- I used putty and logged into
server2 as (test1) and performed the following steps
- I keep getting permission denied on the 5th step below. (scp id_rsa.pub server1.com:.ssh/local.pub)
bash-2.05a$ scp id_rsa.pub server1.com:.ssh/localserver.pub
test1@server1.com's password:
scp: .ssh/localserver.pub: Permission denied
- I'm using the password of the test1 account
-I'm having issues trouble shooting because I don't know what the command is doing?
enable shell access to both servers for a common username
ssh to both servers, mkdir ~/.ssh
ssh to local.server.net, cd to ~/.ssh
ssh-keygen -t rsa [accept file name id_rsa][don't enter a passphrase]
scp id_rsa.pub remote.server.net:.ssh/local.pub
slogin remote.server.net
cd .ssh
cat local.pub >> authorized_keys
Thanks,
Rick