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 :: symfony install doctrine 
Shell :: apt lock 
Shell :: how to write a shell script in ubuntu 
Shell :: how to logout in linux kali 
Shell :: ssh and execute command in one line 
Shell :: updating all python modules 
Shell :: windows history command 
Shell :: amend commit 
Shell :: git get commit author 
Shell :: brave browser ubuntu 20.10 command line download 
Shell :: how to delete branch github 
Shell :: set executable permissions linux 
Shell :: http-server mac install 
Shell :: where to find zshrc mac 
Shell :: The "@angular/compiler-cli" package was not properly installed. 
Shell :: origin git 
Shell :: commmand for installing tailwind to react 
Shell :: pip2 install 
Shell :: liburcu ubuntu install 
Shell :: access wsl filesystem from windows 
Shell :: 76 packages are looking for funding run `npm fund` for details found 7 vulnerabilities (5 low, 1 moderate, 1 high) run `npm audit fix` to fix them, or `npm audit` for details 
Shell :: appimage install kali linux 
Shell :: Display your current shell name 
Shell :: brave install in linux 
Shell :: giving permission to folder in ubuntu 
Shell :: install windows app powershell 
Shell :: hoe to install LAMP on ubuntu 
Shell :: linux run command in background and redirect output to file 
Shell :: install choclatey 
Shell :: git files change from commit 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =