Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-05-2018, 09:31 AM
theride theride is offline
Registered User
 
Join Date: Nov 2018
Posts: 3
Passphrase

I am running the below command and it works if securefx is open and transfers the file from the server to the local machine. If securefx is closed it prompts for a "passphrase". Is passphrase and password the same? How do I figure out the "passphrase"? In securefx i only need to enter the login and password. Thanks in advance.

sfxcl sft://username@serverip/file.txt /Password "password" C:\upload /Accepthostkeys
Reply With Quote
  #2  
Old 11-05-2018, 10:32 AM
berdmann berdmann is offline
VanDyke Technical Support
 
Join Date: Aug 2017
Posts: 89
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:

Code:
sfxcl /ConfigPassphrase "passphrase" /Accepthostkeys /Password "password" sftp://username@serverip/file.txt C:\upload
__________________
Thanks,
--Brittney

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by berdmann; 11-05-2018 at 10:37 AM.
Reply With Quote
  #3  
Old 11-05-2018, 10:53 AM
theride theride is offline
Registered User
 
Join Date: Nov 2018
Posts: 3
Passphrase

Thanks, unfortunately that didnt work and I am getting now the generic message.

"Copying local files is not supported"

Was /ConfigPassphrase introduced in a more recent version? (using v7.3)
Also is there an automated way to select "Continue without entering a passphrase"?

(I tried removing that option and then it prompted me for the passphrase again)

Thanks.
Reply With Quote
  #4  
Old 11-05-2018, 12:17 PM
berdmann berdmann is offline
VanDyke Technical Support
 
Join Date: Aug 2017
Posts: 89
Hi theride,

What is the exact version of SecureFX that you are running? (Help > About SecureFX...)

If you close all instances of SecureFX and then re-launch the application manually are you prompted to enter a passphrase?
__________________
Thanks,
--Brittney

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #5  
Old 11-05-2018, 12:44 PM
theride theride is offline
Registered User
 
Join Date: Nov 2018
Posts: 3
What is the exact version of SecureFX that you are running? 7.3.4 (x64 build 839)

If you close all instances of SecureFX and then re-launch the application manually are you prompted to enter a passphrase? Yes
Reply With Quote
  #6  
Old 11-05-2018, 01:27 PM
berdmann berdmann is offline
VanDyke Technical Support
 
Join Date: Aug 2017
Posts: 89
Hi theride,

It looks like the /ConfigPassphrase command-line option was not added in SecureFX until the release of 8.1.

If you would like to use sfxcl without first launching SecureFX, you will need to remove the Configuration Passphrase or upgrade to a version of SecureFX that supports the /ConfigPassphrase command line option.

You can change, remove, or reset the passphrase by pressing the Change Passphrase… button from the Enter Passphrase dialog at startup. If you choose to remove the passphrase, you will need to enter the old passphrase. Removing the passphrase will not remove any sensitive data from the configuration, but the way the data is encrypted is not as secure as choosing your own passphrase.
__________________
Thanks,
--Brittney

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply

Tags
passphrase , securefx , sfxcl


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 09:35 AM.