Because of my web host, I can't use FTP. There's a file I'd like to download. How can I do this through ssh?

link|improve this question

60% accept rate
feedback

migrated from stackoverflow.com Mar 17 '10 at 21:46

This question came from our site for professional and enthusiast programmers.

6 Answers

If you're on linux, simply use scp from the command line like this:

scp user@host:/path/to/file .

If you're on windows, I recommend FileZilla. It's a good free ftp client that supports file transfer over ssh (sftp).

link|improve this answer
feedback

secure copy (SCP)

link|improve this answer
feedback

Use SFTP.

link|improve this answer
feedback
ssh .... cat somefile > somefile
link|improve this answer
feedback

If you have KDE installed (most probable if you are on a Unix-like system), you can use the fish IOSlave. Simply type fish://username@domainname_or_IP/ in the address bar of konqueror, for example. Most KDE applications can treat files on a remote SSH host as if they were local files this way.

link|improve this answer
feedback

As you are most familiar with ftp, you should use sFTP as previously mentioned.

You can use an FTP client, such as FileZilla and apart from creating the connection, everything will then work the same as if you were using ftp.

It is easy to set up and you don't need to learn anything new.

On the other hand

scp server:/path/to/file . 

is the quickest way to transfer one file.

Another alternative if you are running Linux is that you can map the ssh server as if it were a local drive using sshfs from the command line or on the GNOME desktop:

Places > Connect to server...

and choose SSH from the drop down, enter your hostname username and password and you can drag and drop files in a file manager.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.