On 01/31/2012 09:47 PM, Les Mikesell wrote:
No, I'm trying to have rsync make an outbound connection over ssh from the rescue environment and getting what looks like an argument error from ssh. Ssh itself works and I can connect to the same target if I run it directly, and the exact same rsync command lines work from a normal host. Either rsync isn't setting up the remote command right, or ssh isn't allowing it and giving a bad error message.
How about something like
tar cvf - . | gzip -c -1 | ssh user@host cat ">" remotefile.gz
to get the filesystem across the ssh?