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

≯℡__Kan透↙ 提交于 2019-12-03 04:07:02

问题


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


回答1:


scp -r C:/site user@server_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




回答2:


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



来源:https://stackoverflow.com/questions/5946529/scp-command-syntax-for-copying-a-folder-from-local-machine-to-a-remote-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!