Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

copy file from ssh to local

scp username@remoteHost:/remote/dir/file.txt /local/dir/
Comment

copy file from ssh server to local

scp host_name:file_server path_local
Comment

copy files from local to host ssh

$ scp * remoteuser@remoteserver:/remote/folder/
Comment

copy a file from local to ssh

# Syntax:
scp <source> <destination>

# To copy a file from B to A while logged into B:
scp /path/to/file username@a:/path/to/destination

# To copy a file from B to A while logged into A:
scp username@b:/path/to/file /path/to/destination
Comment

PREVIOUS NEXT
Code Example
Shell :: kibana download 
Shell :: git edit user of last commit 
Shell :: download terraform 
Shell :: docker push to private registry 
Shell :: wsl storage does not release 
Shell :: linux ls show full path 
Shell :: how to cat only the first ten lines of a file linux 
Shell :: git log files only 
Shell :: jq filter array 
Shell :: download mongodb ubuntu 20.04 
Shell :: vim delete to end of file 
Shell :: django oauth toolkit 
Shell :: copy file from server to local 
Shell :: set node role kubernetes 
Shell :: view certificate openssl 
Shell :: git pull <remote 
Shell :: docker image is not reseting 
Shell :: merge master into feauture branch 
Shell :: vi quit 
Shell :: store env file in firebase functions 
Shell :: how to encrypt and decrypt a text file using openssl rsa public and private keys 
Shell :: busybox ubuntu 
Shell :: signing key android 
Shell :: check scheduler on localhost laravel 
Shell :: how to change the apache port in xampp 
Shell :: docker login dockerhub 
Shell :: how to update kali linux 2022 
Shell :: what is user in linux? 
Shell :: libqt5core5a is not installed. 
Shell :: opensuse package manager command line 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =