How to transfer files to remote ubuntu server SSH
Here is how to transfer transfer files to a remote ubuntu server.
Remote server address serverfarm.io login user "root" target directory "/tmp/download"
Login to ssh
login as: root
root@stoli.serverfarm.com's password:
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 2.6.32-042stab083.2 x86_64)
* Documentation: https://help.ubuntu.com/
No mail. Last login: Tue Jul 5 21:49:35 2016 from 41.203.71.186
root@stoli:~# ls
archive.zip Maildir virtualmin-install.log
root@stoli:~# sudo scp archive.zip root@serverfarm.io:/tmp/download
If you get error command not found, run this code and try again
root@stoli:~# sudo apt-get install openssh-client