Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

scp download file

scp remote_username@remote_addr:/remote/path/file.txt .
Comment

scp download

# download: remote -> local
scp user@remote_host:remote_file local_file 

# upload: local -> remote
scp local_file user@remote_host:remote_file

# upload: with key
scp -i key.pem local_file user@remote_host:remote_file

# upload: specify port
scp -P 2222 local_file user@remote_host:remote_file
Comment

scp file download

scp osxdaily@192.168.0.4:filename.zip ~/Desktop/
Comment

PREVIOUS NEXT
Code Example
Shell :: grep multiple strings 
Shell :: Port 3000 is already in use, but when I try to kill nothing is found 
Shell :: git remove origin 
Shell :: batch remove double quotes 
Shell :: aws cli update profile variable 
Shell :: rollback git 
Shell :: docker compose run 
Shell :: ssh pc without password ubuntu 
Shell :: flutter doctor - CocoaPods installed but not working 
Shell :: win32gui python 
Shell :: echo or cat into multiple files 
Shell :: ubuntu open file from terminal 
Shell :: the remote end hung up unexpectedly 
Shell :: How to install Apache 2 in Ubuntu? 
Shell :: kill port from terminal on mac 
Shell :: sqlmap post injection 
Shell :: root kali login 
Shell :: bash how to pass shell variables to awk 
Shell :: install heroku cli on linux 
Shell :: linux screen list 
Shell :: ubuntu delete directory and all files 
Shell :: kill process running on port linux 
Shell :: ubuntu shell touch multiple files 
Shell :: check directory size 
Shell :: how do i get the last commit 
Shell :: linux require a password to open a certain file 
Shell :: checkout to last commit git 
Shell :: bash suppress error code 
Shell :: gzip folder .gz file in linux 
Shell :: npm install --unsafe-perm 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =