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

copy ssh remote server

scp -r /path/to/local/dir user@remotehost:/path/to/remote/dir
Comment

ssh copy file from local to remote

scp -P 22 localfile.txt remoteuser@remoteserver:/remote/folder/
Comment

ssh copy folder from local to remote

scp -ra /path/to/local/storage user@remote.host:/path/to/copy
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

PREVIOUS NEXT
Code Example
Shell :: linux copy all files with extension 
Shell :: pip install quiet 
Shell :: update git 
Shell :: wifi adapter not found ubuntu 20.04 
Shell :: install crossover in linux 
Shell :: vim save read only file 
Shell :: shell script remove file if exists 
Shell :: react native gitignore 
Shell :: install vue in laravel 
Shell :: timeshift install 
Shell :: link php with php 8 mac 
Shell :: brew install pgdump 
Shell :: is not in the sudoers file 
Shell :: Cache Your Login Credentials 
Shell :: starting jenkins in ubuntu 
Shell :: create a vpn server linux 
Shell :: open xampp control panel from terminal ubuntu 20 
Shell :: How do I hide the path in command line prompt on Windows? 
Shell :: view git settings 
Shell :: ubuntu export path 
Shell :: bash see active ports 
Shell :: vim frozen 
Shell :: how to install steam on fedora 
Shell :: ubuntu capture screen 
Shell :: kill php ubuntu 
Shell :: wslconfig 
Shell :: kubernetes service yaml 
Shell :: find java home 
Shell :: send file to aws ec2 termnal 
Shell :: tmu rename tab 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =