Contact Us 1-800-596-4880

Configure Preferred Authentication

Anypoint Connector for SFTP (SFTP Connector) enables you to configure preferred authentication methods in the SFTP global configuration of the connector. The following example shows how to configure different authentication methods in Anypoint Studio.

  1. In Studio, navigate to the Global Elements tab.

  2. In the Choose Global Type window, type sftp in the search bar.

  3. Select SFTP Config.

  4. Click OK.

  5. Set Preferred authentication methods to Edit inline.

  6. Click the plus sign to add one of the valid authentication methods: GSSAPI_WITH_MIC, KEYBOARD_INTERACTIVE, PUBLIC_KEY, or PASSWORD.

  7. Set Value to GSSAPI_WITH_MIC.

  8. Complete the remaining connection fields.

  9. Click Test Connection…​.

  10. Click OK.

SFTP Configuration with preferred authentication field set to GSSAPI_WITH_MIC

In the Configuration XML editor window, the configuration looks like this:

<sftp:config name="SFTP_Config" doc:name="SFTP Config" >
		<sftp:connection host="localhost" >
			<sftp:preferred-authentication-methods >
				<sftp:preferred-authentication-method value="GSSAPI_WITH_MIC" />
			</sftp:preferred-authentication-methods>
		</sftp:connection>
	</sftp:config>
View on GitHub