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