CPIO x SSH
Gordon Messmer
yinyang at eburg.com
Tue Oct 18 15:51:19 UTC 2005
Thiago Amaury Ferraz wrote:
>
> 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
I believe that cpio (and, similarly, tar) use "rsh" (port 512), not telnet.
You can use ssh instead of rsh by giving cpio the appropriate option:
--rsh-command=ssh
e.g.:
cpio -C 65536 -ocvF --rsh-command=ssh REMOTEIP:/dev/rmt/Xmn
More information about the fedora-list
mailing list