OS Manuals

/usr/bin/ssh

OpenSSH client

From openssh-client 10.6_p2-r0 (os), captured 2026-11-10 by running ssh --help (exit 255) · terse output. permalink

No user exists for uid 1100
Options (46)
OptionDescriptionSource
-4Forces ssh to use IPv4 addresses only.man
-6Forces ssh to use IPv6 addresses only.man
-AEnables forwarding of connections from an authentication agent such as ssh-agent(1).man
-aDisables forwarding of the authentication agent connection.man
-B bind_interfaceBind to the address of bind_interface before attempting to connect to the destination host.man
-b bind_addressUse bind_address on the local machine as the source address of the connection.man
-CRequests compression of all data (including stdin, stdout, stderr, and data for forwarded X11, TCP and UNIX-domain connections).man
-c cipher_specSelects the cipher specification for encrypting the session.man
-D bind_address:]portSpecifies a local “dynamic” application-level port forwarding.man
-E log_fileAppend debug logs to log_file instead of standard error.man
-e escape_charSets the escape character for sessions with a pty (default: ‘~’).man
-F configfileSpecifies an alternative per-user configuration file.man
-fRequests ssh to go to background just before command execution.man
-GCauses ssh to print its configuration after evaluating Host and Match blocks and exit.man
-gAllows remote hosts to connect to local forwarded ports.man
-I pkcs11Specify the PKCS#11 shared library ssh should use to communicate with a PKCS#11 token providing keys for user authentication.man
-i identity_fileSelects a file from which the identity (private key) for public key authentication is read.man
-J destinationConnect to the target host by first making an ssh connection to the jump host described by destination and then establishing a TCP forwarding to the ultimate destination from there.man
-KEnables GSSAPI-based authentication and forwarding (delegation) of GSSAPI credentials to the server.man
-kDisables forwarding (delegation) of GSSAPI credentials to the server.man
-L bind_address:]port:host:hostportman
-l login_nameSpecifies the user to log in as on the remote machine.man
-MPlaces the ssh client into “master” mode for connection sharing.man
-m mac_specA comma-separated list of MAC (message authentication code) algorithms, specified in order of preference.man
-NDo not execute a remote command.man
-nRedirects stdin from /dev/null (actually, prevents reading from stdin).man
-O ctl_cmdControl an active connection multiplexing master process.man
-o optionCan be used to give options in the format used in the configuration file.man
-P tagSpecify a tag name that may be used to select configuration in ssh_config(5).man
-p portPort to connect to on the remote host.man
-Q query_optionQueries for the algorithms supported by one of the following features:man
-qQuiet mode.man
-R bind_address:]port:host:hostportman
-S ctl_pathSpecifies the location of a control socket for connection sharing, or the string “none” to disable connection sharing.man
-sMay be used to request invocation of a subsystem on the remote system.man
-TDisable pseudo-terminal allocation.man
-tForce pseudo-terminal allocation.man
-VDisplay the version number and exit.man
-vVerbose mode.man
-W host:portRequests that standard input and output on the client be forwarded to host on port over the secure channel.man
-w local_tun[:remote_tunRequests tunnel device forwarding with the specified tun(4) devices between the client (local_tun) and the server (remote_tun).man
-XEnables X11 forwarding.man
-xDisables X11 forwarding.man
-YEnables trusted X11 forwarding.man
-ySend log information using the syslog(3) system module.man
-ZList the public keys that would be attempted for authentication to the specified destination in preferred order and exit.man
Exit status (1) from the manual page
255an error occurred

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.