Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

scp from local to remote

scp file.txt remote_username@10.10.0.2:/remote/directory/newfilename.txtCopied!
Comment

scp local to remote

scp -i <private_key> ./file.txt remote_username@remote_ip:/remote/directory
Comment

how to scp from remote machine to local machine

scp user1@example.com:/path/to/file /path/to/store/file
scp root@95.217.65.48:/root/test.tar /home/tom/
Comment

PREVIOUS NEXT
Code Example
Shell :: ldap query powershell 
Shell :: alpine apt-get not found 
Shell :: parent branch 
Shell :: isntall skimage 
Shell :: how to add git bash to context menu 
Shell :: linux bash clean up log files in /var/log 
Shell :: linux samba service 
Shell :: print grep output in one line 
Shell :: delete a github repository using bash 
Shell :: kde increase refresh rate 
Shell :: add ssh key linux 
Shell :: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission denied 
Shell :: how to enable gitlab runner to use local docker images 
Shell :: ubuntu browser download manager 
Shell :: kubernetes pod stuck in terminating 
Shell :: ssh github 
Shell :: git use ssh instead of https 
Shell :: install nvim 
Shell :: git merge branch without merge ocmmit 
Shell :: create md5 hash command line 
Shell :: valgrind example usage 
Shell :: pm2 logs log time 
Shell :: install rstudio ubuntu 20.04 
Shell :: laravel new project in install 
Shell :: helm add stable hub 
Shell :: what is samba in linux 
Shell :: rename remote branch in git 
Shell :: install node package manager 
Shell :: cant find module firebase 
Shell :: pull changes from different branch 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =