Re: CPIO x SSH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux