Answers for "how to copy directory to a ssh server"

0

how to copy directory to a ssh server

# Copy from machine a to b
scp -r /path/to/directory user@ipaddress:/path/to/destination

# Copy from machine b to a
scp -r user@ipaddress:/path/to/destination /path/to/directory
Posted by: Guest on January-23-2021

Code answers related to "how to copy directory to a ssh server"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language