This question already has an answer here:

I have installed puTTY for Windows 10 and access a remote server via SSH. I want to send the files from my local Windows box to the remote server. How can I do this?

I am using puTTY but psftp, pscp etc. are also an option.

I use this.

pscp.exe i F:\.ssh\anotherprivate.ppk "F:\xss vulnerability.txt" utkarsh@

And got this:

More than one remote source not supported

marked as duplicate by roaima, GAD3R, Stephen Rauch, Archemar, mdpc Nov 22 '17 at 19:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    You seem to have an un-necessary trailing dot. Is that real or a typo? Also, what's that lone i doing immediately after the pscp.exe command? If it's a typo please ensure that what you show us here accurately reflects what you're trying on your own system – roaima Nov 22 '17 at 16:26
  • Is it really a duplicat? In the mentioned question and answer (unix.stackexchange.com/a/92716/223965) there isn't explained how to connect with a private key. So IMO this question has a right to exist. – chloesoe Nov 22 '17 at 20:10

I think you have two errors:

First typo, you should use -i F:\.ssh\anotherprivate.ppk (notice the hyphen).

Second you could specify the folder on the target system (or end with colon for the user's home folder): utkarsh@

That leads to the whole command:

pscp.exe -i F:\.ssh\anotherprivate.ppk "F:\xss vulnerability.txt" utkarsh@
  • You don't need to specify a target folder on the remote system. If you omit that it will default to your home directory there. – roaima Nov 22 '17 at 16:36
  • ok thanks, I didn't know that, I always specify it. And on my machine it does not work without colon at the and of the remote target. then probably the dot at the end of the original posts command. – chloesoe Nov 22 '17 at 16:54
  • The colon is required. A remote path is optional. – roaima Nov 22 '17 at 17:47

Use WinSCP (Windows 10 compatible) to download/upload files to remote server:

enter image description here

Also you can use putty as part of WinSCP:

enter image description here

  • Perhaps you should add a screenshot of the menu in advanced where you could set the private key. Because the original post is using a ssh key to connect. – chloesoe Nov 22 '17 at 20:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.