Home Explore Blog CI



man-pages

5th chunk of `ssh.man`
4c7e90df60a7913b3ea73feda7f13f13afeff43a9f6a49a20000000100000fd4
         A comma‐separated list of MAC (message authentication code)  al‐
               gorithms,  specified  in order of preference.  See the MACs key‐
               word in ssh_config(5) for more information.

       -N      Do not execute a remote command.  This is useful for  just  for‐
               warding  ports.   Refer  to  the  description  of SessionType in
               ssh_config(5) for details.

       -n      Redirects stdin from /dev/null (actually, prevents reading  from
               stdin).  This must be used when ssh is run in the background.  A
               common  trick is to use this to run X11 programs on a remote ma‐
               chine.  For example, ssh ‐n shadows.cs.hut.fi emacs & will start
               an emacs on shadows.cs.hut.fi, and the X11  connection  will  be
               automatically forwarded over an encrypted channel.  The ssh pro‐
               gram  will be put in the background.  (This does not work if ssh
               needs to ask for a password or passphrase; see also the  -f  op‐
               tion.)   Refer  to the description of StdinNull in ssh_config(5)
               for details.

       -O ctl_cmd
               Control an active connection multiplexing master process.   When
               the  -O option is specified, the ctl_cmd argument is interpreted
               and passed to the master process.  Valid commands  are:  “check”
               (check  that  the master process is running), “forward” (request
               forwardings without command execution),  “cancel”  (cancel  for‐
               wardings),  “exit” (request the master to exit), and “stop” (re‐
               quest the master to  stop  accepting  further  multiplexing  re‐
               quests).

       -o option
               Can be used to give options in the format used in the configura‐
               tion  file.   This  is  useful  for specifying options for which
               there is no separate command‐line flag.  For full details of the
               options  listed  below,   and   their   possible   values,   see
               ssh_config(5).

                     AddKeysToAgent
                     AddressFamily
                     BatchMode
                     BindAddress
                     CanonicalDomains
                     CanonicalizeFallbackLocal
                     CanonicalizeHostname
                     CanonicalizeMaxDots
                     CanonicalizePermittedCNAMEs
                     CASignatureAlgorithms
                     CertificateFile
                     CheckHostIP
                     Ciphers
                     ClearAllForwardings
                     Compression
                     ConnectionAttempts
                     ConnectTimeout
                     ControlMaster
                     ControlPath
                     ControlPersist
                     DynamicForward
                     EnableEscapeCommandline
                     EscapeChar
                     ExitOnForwardFailure
                     FingerprintHash
                     ForkAfterAuthentication
                     ForwardAgent
                     ForwardX11
                     ForwardX11Timeout
                     ForwardX11Trusted
                     GatewayPorts
                     GlobalKnownHostsFile
                     GSSAPIAuthentication
                     GSSAPIKeyExchange
                     GSSAPIClientIdentity
                     GSSAPIDelegateCredentials
                     GSSAPIKexAlgorithms
                     GSSAPIRenewalForcesRekey
                     GSSAPIServerIdentity
                     GSSAPITrustDns
                     HashKnownHosts
                     Host
                     HostbasedAcceptedAlgorithms
                     HostbasedAuthentication
                     HostKeyAlgorithms
                     HostKeyAlias
                     Hostname
                     IdentitiesOnly
                     IdentityAgent

Title: SSH Options: MAC Algorithms, No Remote Command, Stdin Redirection, Connection Multiplexing Control, and Configuration File Options
Summary
This section describes more SSH command-line options. It covers specifying MAC algorithms, preventing remote command execution, redirecting standard input, controlling active connection multiplexing, and using configuration file options directly through the command line. A list of available configuration file options such as AddKeysToAgent, AddressFamily, BatchMode, etc. is provided.