Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from Mar 17 '10 at 21:46

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

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).

share|improve this answer
Good to know that FileZilla works on Linux too. But power users will use command line. ;-) – Ionică Bizău May 23 '13 at 14:13

secure copy (SCP)

share|improve this answer

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.

share|improve this answer
ssh .... cat somefile > somefile
share|improve this answer

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.

share|improve this answer


In computing, the SSH File Transfer Protocol (also Secret File Transfer Protocol, Secure FTP, or SFTP) is a network protocol that provides file access, file transfer, and file management functionalities over any reliable data stream. It was designed by the Internet Engineering Task Force (IETF) as an extension of the Secure Shell protocol (SSH) version 2.0 to provide secure file transfer capability, but is also intended to be usable with other protocols. The IETF of the Internet Draft states that even though this protocol is described in the context of the SSH-2 protocol, it could be used in a number of different applications, such as secure file transfer over Transport Layer Security (TLS) and transfer of management information in VPN applications.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .