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 :: [Thu Nov 5 15:20:23 2020] Failed to listen on localhost:3200 (reason: Address already in use) 
Shell :: expo uninstall 
Shell :: set java home in ubuntu 
Shell :: bash echo in variable 
Shell :: flask wtforms pip install 
Shell :: create mysql user and database from script 
Shell :: cisco anyconnect download for ubuntu 18.04 
Shell :: git ignore after commit 
Shell :: helm release minio 
Shell :: sudo apt install xfce4 xfce4-goodies -y 
Shell :: cmd file list to text 
Shell :: Push an existing repository to an empty github repository 
Shell :: Deleting all the git local branches 
Shell :: bash replace specific line in file 
Shell :: rials db down 
Shell :: remove empty page pdf 
Shell :: unzip recursively linux 
Shell :: linux mint download 
Shell :: display hidden files mac 
Shell :: Pull Ubuntu image 
Shell :: bash add extension to all files 
Shell :: grep show lines between matches 
Shell :: alpine install package 
Shell :: vi search 
Shell :: git rollback 
Shell :: windows install composer 
Shell :: Copy folder while ignoring node_modules folder 
Shell :: ubuntu uninstall composer 
Shell :: trimspace in bact file 
Shell :: file system ntfs not configured in kernel 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =