Displaying 2 results from an estimated 2 matches for "aaaab3nzac1".
2010 Apr 26
1
rsync with forced-command ssh and variable files
...ked a variation on this some time ago, but am trying to do
something a bit different this time. I'd like to sync a file with a
remote host using ssh and a command= ssh key, like this in
~/.ssh/authorized_keys:
command="/usr/bin/rsync --server -logDtprze.is . /home/user/mail/"
ssh-dss AAAAB3NzaC1...
On the sending side, the following is run:
# rsync -az --stats -e "ssh -c blowfish -i /root/.ssh/mykey-dss"
/home/user/myfile myhost.com:/home/user/mail/my-mbox-2010-04-26
However, it doesn't maintain the destination filename through the
transfer, but instead just results in th...
2006 Sep 04
1
Rsync + SSH on a different port + restricted access
...rsync -avz --rsh='ssh -p2222' /home/foor/bar/ mirror@myrsyndserver:mirror/
Still works fine ;)
But my user can login in my box with SSH. So, after a couple of google, i found that i have to edit authorised_keys and put :
command="rsync --daemon -vv --server ." ssh-rsa AAAAB3NzaC1...............
But now, i have this error :
$ rsync -avvvz --rsh='ssh -p2222' /home/foor/bar/ mirror@myrsyndserver:mirror/
opening connection using ssh -p2222 -l mirror myrsyndserver rsync --server -vvvlogDtprz . mirror/
rsync: connection unexpectedly closed (0 bytes received...