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 :: scp download 
Shell :: change commit message 
Shell :: how to read input in bash 
Shell :: git lfs add file 
Shell :: install specific version of node 
Shell :: directory structure 
Shell :: nohup output file 
Shell :: git clone in ubuntu 
Shell :: migrate has no installation candidate 
Shell :: ubuntu get current path 
Shell :: how to install prettier globally on mac 
Shell :: github push an existing repository from the command line 
Shell :: install flask 
Shell :: stremio: Depends: libfdk-aac1 
Shell :: navigation in react native 
Shell :: kill python 
Shell :: kali tools 
Shell :: install discord 
Shell :: Grab IP address only (Linux) 
Shell :: dpkg install force 
Shell :: apk add build-essential 
Shell :: ssh-copy-id example 
Shell :: how to open .bin file in linux 
Shell :: homebrew redis install 
Shell :: remove docker machine 
Shell :: docker images only name 
Shell :: restart ssl ubuntu 
Shell :: "GH001: Large files detected. You may want to try Git Large File Storage" error fix 
Shell :: ubuntu connect openvpn 
Shell :: push code to github vscode 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =