Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=OpenSSH Daemon
- Wants=sshdgenkeys.service
- After=sshdgenkeys.service
- After=network.target
- [Service]
- ExecStart=/usr/bin/sshd -D
- ExecReload=/bin/kill -HUP $MAINPID
- KillMode=process
- Restart=always
- [Install]
- WantedBy=multi-user.target
- # This service file runs an SSH daemon that forks for each incoming connection.
- # If you prefer to spawn on-demand daemons, use sshd.socket and sshd@.service.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement