Forum Moderators: coopster
Host web
HostName (VPS IP)
Port (port number)
User (remote user)
PubKeyAuthentication yes
ForwardX11 yes
IdentityFile ~/.ssh/id_rsa Port (port number)
AddressFamily any
ListenAddress 0.0.0.0
ListenAddress ::
PermitRootLogin without-password
ChallengeResponseAuthentication no
UsePAM yes
AllowAgentForwarding yes
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
PrintMotd no
AcceptEnv LANG LC_*
Subsystemsftp/usr/lib/openssh/sftp-server (user) ALL=NOPASSWD: /usr/bin/rsync 20 01 * * * dave rsync -r -t -p -o -g -x -u -l -H -E -X -D -s -m --stats --partial --log-file=/mnt/Phobos/web/aa-logs/root.log (sundry --excludes) -e ssh web:/ /mnt/Phobos/web/root/
ssh -p 22 root@000.000.000.000 -e "ssh -p 22" root@000.000.000.000:/ /mnt/Phobos/web/root/ -e ssh web:/ /mnt/Phobos/web/root/