Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to copy file using ssh

# This need to be done in server side only
$ sudo apt install openssh-server
$ sudo systemctl enable ssh
$ sudo systemctl start ssh
# Need to be done in client side only
$ scp myfile.txt remote_user@remote_ip_address
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #copy #file #ssh
ADD COMMENT
Topic
Name
2+7 =