开发者

Copy a file from Windows machine to linux [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

开发者_如何学Python Improve this question

From remote Linux server I used "scp -r" the reverse function to copy file from my Windows machine to remote Linux machine. I used proper command for scp. It is saying "connection refused to port no 22." I am unable to copy file.


Windows does not provide a scp server in its default configuration; you have to create a share (see SMB protocol) under Windows and then access it from Linux using samba.

See this related question and in particular this answer for some more details.


Windows generally does not come with a ssh server. Either install a SSH server on the Windows machine, or use Windows's SMB protocol instead, or initiate the copy from the Windows side.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜