CPIO x SSH

Mogens Kjaer mk at crc.dk
Tue Oct 18 13:53:44 UTC 2005


Thiago Amaury Ferraz wrote:
> Hello All!
> 
> Someone could say me if there is a way to use CPIO with SSH and no TELNET?!
> Example: using port 23 (TELNET) I know that is something like that:
> find . -print | cpio -C 65536 -ocvF REMOTEIP:/dev/rmt/Xmn

You could test:

find . -print | cpio -C 65536 -ocv | ssh REMOTEIP dd of=/dev/rmt/Xmn 
bs=65536

(on one line).

Mogens


-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk




More information about the fedora-list mailing list