Home » Linux » Scp command syntax for copying a folder from local machine to a remote server [closed]

Scp command syntax for copying a folder from local machine to a remote server [closed]

Posted by: admin November 29, 2017 Leave a comment

Questions:

I am using putty for copying files from local machine to remote server.My folder is in C:/site
can any one give syntax for copying folder from C:/site to remote server using scp

Answers:
scp -r C:/site [email protected]_ip:path

path is the place, where site will be copied into the remote server


EDIT: As I said in my comment, try pscp, as you want to use scp using PuTTY.

The other option is WinSCP

Questions:
Answers:

In stall PuTTY in our system and set the environment variable PATH Pointing to putty path.
open the command prompt and move to putty folder. Using PSCP command

Please check this

Leave a Reply

Your email address will not be published. Required fields are marked *