Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:configure_additional_options_described_in_documentation [2016/09/06 21:59] billdozor [Initial Setup] |
linux_wiki:configure_additional_options_described_in_documentation [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 4: | Line 4: | ||
Additional SSH options. | Additional SSH options. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Lab Setup ====== | ||
+ | |||
+ | The following virtual machines will be used: | ||
+ | * server1.example.com (192.168.1.150) -> The SSH client | ||
+ | * server2.example.com (192.168.1.151) -> The SSH server | ||
---- | ---- | ||
Line 33: | Line 41: | ||
* SSH Daemon config file: / | * SSH Daemon config file: / | ||
* Configure additional options here | * Configure additional options here | ||
+ | * See man sshd_config | ||
+ | |||
+ | Some useful options | ||
+ | * Port -> TCP listening port for sshd | ||
+ | * PermitRootLogin -> Allow/ | ||
+ | * MaxAuthTries -> Number of authentication tries. When 1/2 the number is reached, failures are logged. | ||
+ | * MaxSessions -> Max number of ssh sessions from one IP address | ||
+ | * AllowUsers -> Space-separated list of users allowed to connect | ||
+ | * DenyUsers -> Space-separated list of users to deny conections | ||
+ | * PasswordAuthentication -> Whether to allow password authentication or not. | ||
+ | * GSSAPIAuthentication -> Authentication through GSSAPI enabled or disabled. Used for kerberos | ||
+ | * ClientAliveInterval -> Interval in seconds packets are sent to the client to see if the client is still alive. | ||
+ | * ClientAliveCountMax -> Number of client alive packets to send. | ||
+ | * UseDNS -> Use DNS name lookup to match an incoming IP address to name. (if on) | ||
---- | ---- | ||