Stephen Liu wrote:
Hi folks,

I have a Gentoo box and a RH9 box. They can connect to X-server of another box. Copy and Paste commands also work i.e. copying the content of a document of RH9 and pasting to another document of Gentoo and vise versa.

Is it possible to transfer documents between 2 boxes via SSH without using Samba? If YES kindly advise how to make it. I have tried with drag and drop action without result.

Either scp or sftp, the former being a peer to peer version of the cp command, and the latter being a secure replacement for the ftp program.


man scp
man sftp

If you want drag and drop action, emerge shfs on your gentoo box. You can then 'mount' any directory from the redhat machine, on the gentoo box, with:

mount -t shfs [EMAIL PROTECTED]/home/user /mnt/somemount

You can then browse /mnt/somemount as if it were local, including sending files to and from those folders.

Bear in mind that all traffic sent over this connection is SSH encrypted and possibly compressed, so will not be as efficient (fast), as ftp or samba. Though on modern computers you should barely notice a slowdown.

MAL


-- [EMAIL PROTECTED] mailing list



Reply via email to