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

<< Previous
Next >>

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>

So 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.

<< Previous
Next >>

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 monthly newsletter for tips, solutions ideas, and product news.