Thread: Passphrase
View Single Post
Old 11-05-2018, 10:32 AM
berdmann berdmann is offline
VanDyke Technical Support
Join Date: Aug 2017
Posts: 441
Hi theride,

It is likely that you are being prompted for a Configuration Passphrase, given that you are able to use the command as is when SecureFX is already running.

A Configuration Passphrase can be used to encrypt all sensitive data stored in your configuration, such as passwords and automated logon (send/expect) scripts. If you have a Configuration Passphrase in place you will be prompted to enter it every time that you start SecureFX.

Are you prompted to enter a Configuration Passphrase when you start SecureFX manually?

If so, you will need to modify your command to include the /ConfigPassphrase option, followed by your passphrase, as demonstrated below:

sfxcl /ConfigPassphrase "passphrase" /Accepthostkeys /Password "password" sftp://username@serverip/file.txt C:\upload

VanDyke Software
Technical Support
(505) 332-5730

Last edited by berdmann; 11-05-2018 at 10:37 AM.
Reply With Quote