Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

scp with ssh key

scp -i ~/.ssh/id_rsa.pub FILENAME USER@SERVER:/home/USER/FILENAME
Comment

scp key

# 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

PREVIOUS NEXT
Code Example
Shell :: github make new branch 
Shell :: convert a WSL 1 distro to WSL 2 
Shell :: install netbeans in ubuntu 20.04 
Shell :: WSL connect docker daemon to docker for windows 
Shell :: angular bootstrap 
Shell :: readme style 
Shell :: nohup linux output 
Shell :: windows print environment variable powershell 
Shell :: install ag in mac 
Shell :: show applications shortcut ubuntu 
Shell :: nuxt init 
Shell :: composer install mac 
Shell :: change branch name 
Shell :: pycharm install face_recognition 
Shell :: vim delete line 
Shell :: mac zip with password 
Shell :: linux distros 
Shell :: how to remove sensitive data from github history 
Shell :: View total data received and sent (Linux) 
Shell :: download entire website Linux terminal 
Shell :: how to install mongoose globally 
Shell :: ailure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user] 
Shell :: laravel sail install php mongodb extension 
Shell :: git change master branch 
Shell :: wp-cli search-replace 
Shell :: conda install python image library 
Shell :: add credentials git linux 
Shell :: update metasploit 
Shell :: git push an existing repository from the command line 
Shell :: uninstall all extensions vscode 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =