Linux Commands Helper
💬 Your AI-powered Linux assistant
sshd Command - OpenSSH Daemon
The sshd command is the OpenSSH daemon, which listens for and handles incoming SSH connections. It is typically run as a background service to provide secure remote login and command execution.
Syntax
sshd [options]
Examples
sshd
Start the SSH daemon with default configuration.
systemctl start sshd
Start the sshd service using systemd.
systemctl status sshd
Check the status of the sshd service.
sshd -t
Test the SSH daemon configuration for syntax errors.
Notes
- sshd usually runs as a background service and listens on port 22 by default.
- Configuration file is typically located at
/etc/ssh/sshd_config
. - Root privileges are required to start or stop the sshd service.