SSH
Solus uses OpenSSH for remote login over the SSH protocol.
Installation
OpenSSH is installed as a part of the base operating system. The OpenSSH server (sshd), however, is not installed on Solus by default, as this is a desktop-focused operating system.
To install the SSH server, install the openssh-server package.
eopkg install openssh-server
Usage
For more information about how to use OpenSSH, check out their online user manual.
Automatically start sshd
By default, the sshd service does not automatically start on Solus. If you want the server to start automatically, install the openssh-server-preset package.
eopkg install openssh-server-preset
Default configuration
Solus ships some default configurations for OpenSSH and the OpenSSH server. Our packages also support configuration snippets that can be placed in the respective directories for openssh and openssh-server. Configuration file names must end in .conf.
/etc/ssh/ssh_config.d//etc/ssh/sshd.config.d/
SSH
The default SSH configuration sends a keep-alive packet every 120 seconds.
SSH Server
The default sshd configuration sets a couple of options.
- PAM is to be used by default.
COLORTERMis added to the accepted environment.PrintMotdis set to off. It is recommended to usepam_motdin/etc/pam.d/sshdinstead ofPrintMotd.