Unix & Linux Asked by Beakal Begashaw on December 4, 2020
How do I send files or directories to my school’s remote server from my ubuntu desktop. I have tried everything from youtube and everything keeps on giving me a lost connection when I try to run the command.
This is the command i tried:
scp filename username@ipaddress:/users/students/username
You can use Rsync in Terminal. Rsync is a program similar to scp, providing syncrosization over the network. You can sync folders and files to a remote computer with the template below.
rsync -a ~/filedir user@remote_host:destination_dir
If you type this command, you will "push" the files to the opposite server.
If you want to "pull" from the host server, you can use the command below:
rsync -a user@remote_host:/dest_dir local_dir
With the SSH services of the target and source machines active, Rsync must be installed on both machines.
You can find more information about rsync on its manual page.
Correct answer by menderes on December 4, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP