How to transfer files to remote ubuntu server SSH

in #ubuntu8 years ago

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
Sort:  

Congratulations @kratos! You have received a personal award!

2 Years on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard:

SteemitBoard - Witness Update

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @kratos! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 3 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!