Copy a file from Windows machine to linux [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
开发者_如何学Python Improve this questionFrom 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.
精彩评论