Back
Close

Computing with Data

elgeish
590.8K views

Working on Remote Linux Computers

ssh [email protected]

# copy file /home/joe/file1 from server1.domain.com 
# (authenticating as user joe) to local home directory
scp [email protected]/home/joe/file1 ~/
# copy entire home directory (including sub-directories)
# on server1.domain.com to local ~/tmp
scp -R [email protected]/home/joe/* ~/tmp/
# copy local files ~/file2.* to home directory on remote computer
scp ~/file2.* [email protected]/home/joe/
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io