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.

Options
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)

Options

Topic review

!BRNDMG

That did it, many thanks Martin! :)
martin

Re: Commandline incl. PrivateKey and its Password

It should be /passphrase=PASSWORD
!BRNDMG

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://USERNAME:PASSWORD@somehost.eu:22/var/log/ /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!