Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


That did it, many thanks Martin! :)

Re: Commandline incl. PrivateKey and its Password

It should be /passphrase=PASSWORD

Commandline incl. PrivateKey and its Password

Hello communinty,
hello devs,

I'm trying around to open WinSCP via commandline by using a private key file. The following example works flawlessy, except that the password is always prompted:

winscp.exe scp:// /privatekey=D:\PuTTY\KEYFILE.ppk -passphrase PASSWORD /rawsettings LocalDirectory=%USERPROFILE%\Downloads

First I thought of escaping special chars in the password, but also a simple test with "Test123" as password doesn't do it.

Any help is appreciated :)

Thanks and have a nice day!