[CentOS] rsync from rescue boot
Les Mikesell
lesmikesell at gmail.com
Tue Jan 31 18:34:20 UTC 2012
On Tue, Jan 31, 2012 at 12:29 PM, <nux at li.nux.ro> wrote:
> Les Mikesell writes:
>
>> If I boot a 5.7 install disk with 'linux rescue selinux=0', let it
>> start the network and detect the installed system, ssh seems to work,
>> but rsync fails with "rsync: connection unexpectedly closed (0 bytes
>> received so far) [receiver]). Shouldn't it work as long as the
>> underlying ssh connection works? It doesn't prompt for the ssh
>> password and using -essh doesn't change it.
>>
>
> What commands are you using exactly? To or from the rescued host? Also, are
> you using ssh non-standard ports?
It is from the rescued host - basically a:
rsync -essh otherhost:/path .
ssh otherhost 'cd /path && tar -cf - ' | tar -xvf -
seems to be working, so it is not related to network connectivity or ssh.
--
Les Mikesell
lesmikesell at gmail.com
More information about the CentOS
mailing list