2

I want to use an SSH connection to upload large photo files to a server. FTP taking 10 minutes per photo. Someone suggested SSH; I have managed to get the computer connected to the server, but I don't know what to do next. Shouldn't there be a window showing available files both local and remote server? Shouldn't I be able to drag and drop from local to specific folder on server? Where is this???

Thanks for anything helpful.

2
  • Have a look at the Unix & Linux Stack Exchange, where this exact question was answered. Commented Apr 25, 2016 at 15:52
  • 1
    How did you connect your computer to the server, did you use ssh to log in remotely?
    – nohillside
    Commented Apr 25, 2016 at 16:00

2 Answers 2

5

secure shell, ssh, is a command line based method of talking to another computer. By default, there is no graphical interface associated with ssh.

Speed

The speed of your upload is probably limited by your Internet connection. The protocol used to transfer the files will make a difference but it may not be significant.

Domestic quality Internet connections tend to have much slower upload speeds than download speeds. This is particularly true for ADSL based connections. VDSL, cable, and fibre connections offer faster upload speeds.

Try running a speed test on your Internet connection. What values do you see? Is the upload number much lower than the download?

If you are transfering thousands of small files, an alternative protocol is probably worth trying. If you are transferring tens or low hundreds of larger files, ftp will likely go as fast as any other method.

Command Line - rsync

From your question, it sounds like you have ssh access to your server. This is great. If you are comfortable with the command line, you can use a tool like remote sync, rsync, to perform the file transfer. See Fastest and safest way to copy massive data from one external drive to another for more about this approach. With rsync you will end up issuing a command something like:

rsync -rv --progress '~/Pictures/My Photos/' [email protected]:~/Pictures/

Alternative command line tools to rsync include scp.

Graphical Interface - CyberDuck

Alternatively, consider using a tool like CyberDuck to connect to and securely transfer files to your server. Try using the same server address as with ftp but instead use sftp; note the addition of an s. This stands for secure. sftp will give you a File Transfer Protocol (FTP) connection over a secure connection, much like ssh.

CyberDuck Browser on OS X

2
  • It's worth noting that transferring many smaller files can be slower based on the protocol and/or implementation. I've found rsync to be faster than ever FTP client I've tried when transferring many small files for this reason. Packing them in an uncompressed archive and extracting them via SSH can also help. Commented Apr 25, 2016 at 17:54
  • SFTP is not FTP over SSH, but rather its own protocol; the Wikipedia article you link has more details.
    – Reid
    Commented Apr 25, 2016 at 23:32
1

Shouldn't there be a window showing available files both local and remote server? Shouldn't I be able to drag and drop from local to specific folder on server?

I think what you are looking for is an SCP or SFTP (secure copy or secure FTP) with a GUI. SSH (secure shell) is a Terminal or command line interface to your system - it's not a file transfer application.

There are a number of good browswer and standalone clients for SFTP/SCP including

There is already a good writeup on these clients here on Ask Different in this post: https://apple.stackexchange.com/a/25667/119271 so I won't belabor it here.

2
  • BTW by far the most popular commercial solution is just Transmit by Panic. panic.com/transmit/
    – Fattie
    Commented Apr 25, 2016 at 16:50
  • Fugu looks abandoned with a beta of a new version from 2011, although it appears the previous release was also 5 years before that. Commented Apr 25, 2016 at 17:56

You must log in to answer this question.

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