sshd
The SSH Daemon (sshd) is a OpenSSH server process. It listens for incoming connections using the SSH protocol and acts as the server.
To identify if the SSH Daemon (sshd) is running
$ sudo systemctl status ssh.service
# OR
$ sudo systemctl status sshd.serviceExample outputs from systemctl status command
β ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; ...)
Active: active (running) since ...
...β ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; ...)
Active: inactive (dead) since ...
...To view the sshd logs
More information about systemctl and journalctl commands
sshd_config
Edit the sshd_config file
AllowTcpForwarding
GatewayPorts
ForceCommand
PasswordAuthentication
Match
Last updated