We will have a look at the directives that can be the most useful for our everyday service usage, but if we need to know all the details about all the configuration options, we can just invoke man:
man sshd_config
The main SSH daemon configuration file is located at the /etc/ssh/sshd_config event, though we can specify any file at the daemon startup using the -f option on the command line. That said, let's go through and have a look at the most interesting configuration bits:
- AcceptEnv: This allows the client to copy the environment variable into the session environment sent by the client. It can be useful, but it can also be dangerous, and the default is not to accept any client environment variable.
- AllowGroups: By default, the log in is only allowed for members from all groups available on the system, but with this directive, you can restrict it to...