1

Because of my job I need to connect to a remote server with SSH on which I am connected by vpn and transfer large files in both directions. That has always been easy until I traveled to another continent where I am now, in which I am getting very high ping and very low transfer speed. I thought that it would be much faster simply uploading my filed to the internet and downloading them on the server (and vice-versa) to avoid the slow ssh connection. It would be great to do it by command line. I know how to download files via command line but not how to upload. Does anyone know a good alternative?

11
  • When you say you’re copying files via SSH, are you using scp? 🤔
    – matigo
    Sep 6, 2021 at 1:10
  • @matigo, actually i was using sshfs but that became impossible now.
    – Manveru
    Sep 6, 2021 at 1:28
  • Ah yes, but I tried scp too. I still have the same problem. When I was in the same city as the remote server both options scp and sshfs were good, but now they are too slow.
    – Manveru
    Sep 6, 2021 at 1:47
  • Okay … so you’re not looking for a tool, you’re looking for speed. If this is the case, your bottleneck is going to be the slowest connection between you and the target, which isn’t something software is going to fix 😕
    – matigo
    Sep 6, 2021 at 2:01
  • 2
    How many people use the remote server? If the answer is "one", then perhaps a Google Drive Sync or Dropbox Sync mechanism would work better ...
    – matigo
    Sep 6, 2021 at 2:07

1 Answer 1

-1

There is FTP which doesn't use ssh. That said, is relatively unsafe. The safe version of FTP is SFTP, which uses... yup, SSH over FTP (likely the very protocol that provoked this question.)

There is also telnet, bet that is just a plain bad idea. With telnet you are putting yourself out there, literally.

All these use TCP, which involves 3way handshake authentication. Using UDP skips this and is generally faster, but for small files.

As Matigo said, there is no fix for physical distance. There are improvements that you could make, but they will likely end up being little more than band-aids on a gunshot wound.

You must log in to answer this question.

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