Copy remote file to local machine

scp -r <user>@<hostname>:<file/folder> <destination> Example: scp -r root@tv:/var/www/html ./
Example of scp usage copying remote file to local machine

-r recursively copies files and folders

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.