VanDyke Software Forums

VanDyke Software Forums (
-   File Transfer (
-   -   Passphrase & Publick key in SFXCL (

alevkov 03-08-2019 04:15 PM

Passphrase & Publick key in SFXCL
We need to use public key with one of the partners and I cannot figure out how to supply it in the command line. We are using session to store all parameters including the key. When I use the session interactively, it navigates to remote directory and asks for the passphrase, cannot have it in the automated file transfer.

In general, the CL command looks like this:

Command = ' /NoPrompt /AcceptHostKeys /Log "%SFXlogfilename%" "%localdir%" /S %SFXsession% "%remotedir%" '

how do I add the passphrase here? I could not find suitable option in the manual.

SecureFX Version 7.3.2 (x64 build 752) - Official Release - February 26, 2015

Any help would be appreciated.

berdmann 03-08-2019 05:56 PM

1 Attachment(s)
Hi alevkov,

It looks like you need to add the /P option followed by the passphrase corresponding to the public key that you have configured for the session.

From SecureFX's Help:

Is this information helpful?

alevkov 03-08-2019 07:17 PM

Passphrase & Publick key in SFXCL
Thanks a lot! I do not know how I missed it, seen the /password and missed /P. I will try it right now.

All times are GMT -6. The time now is 01:18 AM.