What is Secure Copy? scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh. Examples Copy the file “foobar.txt” from a remote host to the local host $ scp [email protected]:foobar.txt …
Copy files using ssh scp
copy from remote server scp -P22 [email protected]:/home/user/.virtualenvs/vallo/requirements.txt /Users/user/requirements.txt copy from local server scp -P22 somefile username@server:/home/username/ Copy a directory scp -r r[email protected]:/var/www/whatportis/* /var/www/whatportis/