In this article
Overview
Use this account type to connect Binary Snaps with data sources that use Two-Factor Auth accounts. This account supports two factor authentication (2FA) for SFTP protocol to access SFTP. It uses two separate security levels of verification to grant access; the first level is the Basic Auth (username/password) and the second level is the SSH Key (username/private key) generated in the server.
Prerequisites
- Target FTP should be enabled with Two-Factor authentication.
- Valid username/password and SSH key with passphrase.
Limitations and Known Issues
None
Account Settings
Parameter | Data Type | Description | Default Value | Example |
---|---|---|---|---|
Label | String | Required. Enter a unique label for the account. | N/A | SFTP_2FA_Auth |
Username | String/Expression | Required. Enter a username for SSH authentication. | N/A | user@snaplogic.com |
Password | String/Expression | Required. Enter a password associated with the supplied account username. | N/A | m!ster18Gu@rd8!keip |
Private key | String/Expression | Required. Enter the private key part of SSH authentication. You can upload the private key file to the SLDB by clicking Upload. You can generate a private key using any SSH key generator. See Generate SSH Key Using PuTTY Key Generator for more information. | N/A | admin_passphrase.key |
Key Passphrase | String/Expression | Required. Enter the passphrase used to decrypt the private key. | N/A | p@$$zk!98 |
Account Encryption
Standard Encryption | If you are using Standard Encryption, follow the High sensitivity settings under Enhanced Encryption. |
Enhanced Encryption | If the account you are using has the Enhanced Encryption feature, the account fields are encrypted for each sensitivity level as shown below:
|
Generating SSH Key Using PuTTY Key Generator
You can download the PuTTYgen application for Windows using this link.
- Open the PuTTYgen application.
- Choose SSH-1 (RSA) key type under Parameters.
- Enter the required valuein the Number of bits in a generate key field. (Default: 2048)
Click Generate under Actions.
The PuTTY Key Generator uses mouse movements to generate a unique secure key. Move the mouse around till the progress bar fills up completely.
The utility generates the public and private keys.- Provide values in the Key comment and Key passphrase fields as required.
- Click Save public key and Save private key to save the private and public key (PPK) files to a secure and private location.
- Send the Public Key to the SFTP host.
- Store the keys and passphrase into the password/key vault.
The PuTTY Key Generator uses the PPK format for keys. If your SFTP client requires a standard OpenSSH key format, export the key by using Export OpenSSH Key on the Conversions menu.