The OpenSSH server reads a configuration file when it is started. Usually, this file is/etc/ssh/sshd_config, but the location can be changed using the-fcommand line option when startingsshd. Some organizations run multiple SSH servers at different port numbers, specifying a different configuratio...
Specifies whether remote hosts are allowed to connect to ports forwarded for the client. By default,sshdbinds remote port forwardings to the loopback address. This prevents other remote hosts from connecting to forwarded ports.GatewayPortscan be used to specify thatsshdshould allow remote port forwa...
can also be used in place of a port number to allow all ports. By default all port forwarding listen requests are permitted. Note that the .Cm GatewayPorts option may further restrict which addresses may be listened on. Note also that .Xr ssh 1 will request a listen host of .Dq...
can be used for host or port to allow all hosts or ports respectively. Otherwise, no pattern matching or address lookups are performed on supplied names. By default all port forwarding requests are permitted. .It Cm PermitRootLogin Specifies whether root can log in using .Xr ssh 1 . ...