On 29/03/09 17:15, Morgan Read wrote:
Hello Folks
...
On 30/03/09 04:45, Kyle Lanclos wrote:
I suggest putting your 'ssh -i /some/key/here' into a small shell script,
so that you do:
rsync -e rsync_ssh
...and rsync_ssh looks like:
#! /bin/sh
exec ssh -i /home/key/here $@
I think
On Sun, Mar 29, 2009 at 05:15:58PM +1300, Morgan Read wrote:
ssh [...] sudo rsync [...] -e 'ssh -i /home/rsync/.ssh/id_dsa' [...]
Those quotes won't survive the trip through that many programs, so
you're undoubtedly ending up with rsync seeing just the -e ssh option,
and the -i and beyond are
Hello Folks
Can anyone help with why I can use ssh like so:
[r...@morgansoldmachine ~]# ssh -t rs...@192.168.1.40 sudo ssh -i
/home/rsync/.ssh/id_dsa r...@192.168.1.100
Last login: Tue Mar 24
21:32:51 2009 from morgansmachine.lan
[r...@morgansoldmachine ~]# logout
Connection to 192.168.1.100