Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Copy a Local File to a Remote System with the scp Command

scp file.txt remote_username@10.10.0.2:/remote/directory
Copy
Comment

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

Copy a Remote File to a Local System using the scp Command

scp remote_username@10.10.0.2:/remote/file.txt /local/directory
Comment

PREVIOUS NEXT
Code Example
Shell :: linux bash search history 
Shell :: connection to server at "localhost" (::1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections 
Shell :: vim set paste 
Shell :: how to download fl studio on linux 
Shell :: angular install ngx-bootstrap 
Shell :: reset git from last commit 
Shell :: git create branch 
Shell :: enable ssh on ubuntu 20.04 
Shell :: ubuntu adding a monitor 
Shell :: remover completamente programa terminal ubuntu 
Shell :: How to clean up the git repo and reduce its disk size 
Shell :: sed two patterns 
Shell :: npm -g yarn 
Shell :: linux cannot upgrade pip 
Shell :: grepper kill a server 
Shell :: mac workbench error loading schema content 1558 
Shell :: how to run back and front simultaneously linux 
Shell :: 3.4.5 packet tracer configure trunks 
Shell :: rsyslogd verify service is running 
Shell :: ubuntu install meslo font 
Shell :: view symbols of so linux 
Shell :: Enum install 
Shell :: /lib/systemd/system/gammu-smsd.service:9: Neither a valid executable name nor an absolute path: ${CMAKE_INSTALL_FULL_BINDIR}/gammu-smsd 
Shell :: linux screen one buffer frozen 
Shell :: nake in linnux 
Shell :: status code 409 sudo has snap-install 
Shell :: Install Lumen CSV Reader package from Nuget Package Manager in Visual Studio 
Shell :: linux hide mounted drives from favourites 
Shell :: cse github 
Shell :: how to reboot a system notifying other users with a message with shutdown command 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =