Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

scp with ssh key

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

scp ssh 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 :: how to start mongodb in linux 
Shell :: git push reset 
Shell :: bash input 
Shell :: linux dark mode 
Shell :: install bootstrap in angular 
Shell :: directory path view 
Shell :: linux run command in background and redirect output to file 
Shell :: git clone in 
Shell :: Nextcloud Fedora 36 
Shell :: how to install docker in ubuntu using terminal 
Shell :: django install pathlib 
Shell :: pod upgrade 
Shell :: flask 
Shell :: enable docker api 
Shell :: react navigation react native 
Shell :: linux killall python 
Shell :: kali tools subsystem 
Shell :: linux cpu power install 
Shell :: View network transfer RX / TX (Linux) 
Shell :: pyopengl install 
Shell :: bash create file specific size 
Shell :: resolve merge conflicts git 
Shell :: laravel sail install php extensions 
Shell :: ngrok with docker-compose 
Shell :: how to search string in subdirectory in unix 
Shell :: how to enable autostart apache 
Shell :: split string using linux cmd 
Shell :: add date to git reflog 
Shell :: unity localization 
Shell :: steps to commit code in github from vscode 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =