ftp.1 (2010 09)

f
ftp(1) ftp(1)
You can include a RSA or DSA sub-option for the
cert location, such as:
-z rsacert=file For RSA-formatted files.
-z dsacert=file For DSA-formatted files.
-z key=file
Specifies the location of the clients key file.
You can include a RSA or DSA sub-option for the
key location, such as:
-z rsakey=file For RSA-formatted files.
-z dsakey=file For DSA-formatted files.
-z cipher=cipher_suites
Specifies the list of TLS cipher suites. Common values are
ALL or ALL:!EXP
-z config=file
Specifies the file that contains the configuration options related to TLS.
-z debug=number
Specifies whether the SSL features must be invoked in debug mode. If
debug=2 is
specified, then extended logging is performed. If
debug=1 is specified, then minimal
debugging is performed.
-z logfile=file
Specifies the logfile for the debug mode.
-z mode
Specifies the secure mode as follows:
tls The client sends the AUTH_TLS command to the server.
ssl The client sends the AUTH_SSL command to the server.
secure The client sends the AUTH_TLS command. If the AUTH_TLS command fails,
the client sends the AUTH_SSL command to the server.
-z nofallback
Disables fallback. By default, fallback is enabled. For more information, see the fall-
back Option section in this manpage.
-z prot
Specifies that data channel encryption should be enabled.
-z randfile=file
Specifies the device file used for seeding the random number generator. If this option is
not specified, the /dev/urandom or /dev/random file is used.
-z tlspassword=passwd
Specifies the password to decrypt the PEM key file(s).
-z verify
Specifies if the peer needs to be verified. By default, the verify flag is disabled (no
verification).
server-host
The name of the server host that
ftp communicates with can be specified on the command
line. If the server host is specified, ftp immediately opens a connection to the server host;
see the open command, below. Otherwise, ftp waits for commands from the user.
The fallback Option
The
fallback option can be set in the krb5.conf file within the appdefaults Section . Refer to the
krb5.conf (4) manpage for more information on the appdefaults Section .Iffallback is set to true and
the kerberos authentication fails, ftp will use the non-secure mode of authentication.
Note: Command line options override the configuration file options.
File Transfer Protocol
File Transfer Protocol specifies file transfer parameters for type , mode, form, and struct . ftp supports
the ASCII, binary, and tenex File Transfer Protocol types . ASCII is the default FTP type . (It
should be noted though that, whenever ftp establishes a connection between two similar systems, it
switches automatically to the more efficient binary type.) ftp supports only the default values for
the file transfer parameters mode which defaults to stream, form which defaults to non-print, and
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010