Click to See Complete Forum and Search --> : SSH - file transfer


Pizza
07-06-2001, 08:17 AM
is it possible to transfer files using SSH?

friend621
07-06-2001, 09:09 AM
Yes it is. If you have installed the latest client (2.4) on windows, it comes with a file transfer shell too.

Fin015
07-06-2001, 10:20 AM
For secure file transfer, use scp or sftp. scp is basically cp except you can specify remote machines, and use ssh for encrypted authentication ;)
The syntax is something like this:

scp local_file user@remote.host:/remote/path

Where local_file is just that, user@remote.host is your username and the machine name, and /remote/path is the destination path on the remote machine. You can also reverse the two arguements, copying from a remote machine to a local one.

godot
07-06-2001, 11:06 AM
the ssh2 protocal supports SecureFTP too, so you can type
sftp user@host
and it works just like ftp.

I prefer scp, i had an earlier post about getting the RSA keys set up on the two machines, may want to check that out if you don't know how.