Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ssh copy folder from local to remote

scp -r -P xxxx /path/of/your/local/folder username@hostname:/path/to/remote/server/folder
Comment

ssh copy from remote to local

$ scp remoteuser@remoteserver:/remote/folder/remotefile.txt  localfile.txt
Comment

ssh copy folder from local to remote

scp -ra /path/to/local/storage user@remote.host:/path/to/copy
Comment

copy folder from ssh to local

scp -r user@your.server.example.com:/path/to/foo /
Comment

ssh copy folder from local to remote

scp /path/of/your/local/filename username@hostname:/path/to/remote/server/folder
Comment

ssh copy folder from local to remote

scp username@hostname:/path/of/remote/server/filename /path/to/local/destination/folder
Comment

ssh copy folder from local to remote

scp -P xxxx username@hostname:/path/of/remote/server/filename /path/to/local/destination/folder
Comment

ssh copy folder from local to remote

scp -r /path/of/your/local/folder username@hostname:/path/to/remote/server/folder
Comment

ssh copy folder from local to remote

scp -P xxxx /path/of/your/local/filename username@hostname:/path/to/remote/server/folder
Comment

copy folder from ssh server to local

scp -r username@IP:/path/to/server/source/folder/  .
Comment

PREVIOUS NEXT
Code Example
Shell :: rm -rf * 
Shell :: Checking for an existing ssh key 
Shell :: xampp ubuntu 
Shell :: bash split line and get element 
Shell :: how to uninstall git 
Shell :: poetry python 
Shell :: WSL connect docker daemon to docker for windows 
Shell :: how to update code in github 
Shell :: nohup redirect output 
Shell :: commit in git 
Shell :: The following packages have unmet dependencies: nginx : Depends: libssl1.0.0 (= 1.0.2~beta3) 
Shell :: sudo rm rf command 
Shell :: install chromedriver on linux 
Shell :: how to run docker in ubuntu 
Shell :: qemu convert qcow2 to vmdk 
Shell :: grep lines after match 
Shell :: how to delete directory 
Shell :: kali tools 
Shell :: how to remove sensitive data from github history 
Shell :: powershell create service 
Shell :: how to change execution policy powershell 
Shell :: kill process linux 
Shell :: command to find a file or directory in the current directory 
Shell :: where is path on klai linux 
Shell :: create branch from existing branch 
Shell :: kubectl exec run command inside pod 
Shell :: ubuntu list of users 
Shell :: no matching manifest for linux/arm64/v8 in the manifest list entries 
Shell :: windows terminal guid 
Shell :: delete commit 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =