SUPPORT > SECUREFX > COMMAND-LINE TOOL FAQ
Send us a question or comment

   

Can I use public-key authentication with SFXCL?

Yes. You must first configure a named session which uses public-key authentication in SecureFX®. Then, specify this session on the command line.

Download from remote host:

SFXCL /s <session path> <source path> <destination path>

Upload to remote host:

SFXCL <source path> /s <session path> <destination path>

For instance, the following command line would upload all of the files and folders in the "My Documents" folder to the specified server using public-key authentication. This is assuming the session named "SecureWork", which resides in the folder "My Sessions", has been configured to use public key:

SFXCL "C:\My Documents" /s "/My Sessions/SecureWork" /usr/username/mdocs

Note: If the identity file associated with this session requires a passphrase, SFXCL will prompt for it during authentication.

Was this information helpful?
Yes No
Thank you!
Send your comments and questions to VanDyke Software Support,
or join the discussion in the VanDyke Software Forums.
Can't find the answer you're looking for?
Ask VanDyke Software Support directly
and we will get back to you as soon as possible.
1.  Read or download one of our secure solutions white papers. 2.  Download a free
30-day evaluation copy of our products.
3.  Let us help define the right Secure Shell solution for your company. 4.  Subscribe to our What's New page for tips, solution ideas, and product news.