VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   File Transfer (https://forums.vandyke.com/forumdisplay.php?f=18)
-   -   Passphrase & Publick key in SFXCL (https://forums.vandyke.com/showthread.php?t=13440)

alevkov 03-08-2019 03:15 PM

Passphrase & Publick key in SFXCL
 
Hi,
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.
Alla

berdmann 03-08-2019 04: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:

https://forums.vandyke.com/attachmen...1&d=1552089275

Is this information helpful?

alevkov 03-08-2019 06: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.
Alla


All times are GMT -6. The time now is 12:36 AM.