Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

scp local to remote

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

scp from local to remote

scp file.txt remote_username@10.10.0.2:/remote/directory/newfilename.txtCopied!
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 :: material ui icons installation 
Shell :: delete first two lines of file linux 
Shell :: the current branch has no upstream 
Shell :: set environment variable linux 
Shell :: camera for linux 
Shell :: bash read 
Shell :: ubuntu monitor io 
Shell :: wp cli change tagline 
Shell :: rename folder shortcut 
Shell :: sed delete line before match 
Shell :: how to set umask in linux 
Shell :: create ssh key 
Shell :: debian EXPKEYSIG 
Shell :: particular screenshot in ubuntu 
Shell :: aws cli stop rds instance 
Shell :: show git branch on terminal on mac 
Shell :: terminal trash folder 
Shell :: git tag from commit 
Shell :: pull remote branch git 
Shell :: How to change boot order on fedora 
Shell :: uninstall flake 8 in vs 
Shell :: how to access network settings raspberry pi 
Shell :: ubuntu theme change command 
Shell :: mariadb delete database 
Shell :: move all files in subdirectories to current directory linux 
Shell :: linux make executable 
Shell :: how to install velero on ubuntu 
Shell :: clone a repository 
Shell :: pi disable ssh warning 
Shell :: how to install rebar3 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =