SECURE_MECHANISM (FTP client) statement

Use the SECURE_MECHANISM statement to specify whether the FTP client should use a security mechanism when a session is established. The parameter on the statement indicates which security mechanism to use.

Syntax

Read syntax diagramSkip visual syntax diagram SECURE_MECHANISM TLSGSSAPI

Parameters

TLS
Specifies that TLS is the security mechanism that is used by the client when it establishes a session.
GSSAPI
Specifies that GSSAPI is the security mechanism that is used by the client when it establishes a session.

Examples

To specify that TLS protocols should be use for the session, use the following code:
SECURE_MECHANISM  TLS

Usage notes

  • Security mechanism GSSAPI is supported for IPv4 connections only.
  • The SECURE_MECHANISM statement can be overridden by the -a or the -r start parameter on the FTP command.

Related topics