File: ssh.service

package info (click to toggle)
openssh 1%3A7.9p1-10%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 14,172 kB
  • sloc: ansic: 101,931; sh: 11,876; makefile: 1,338; awk: 341; cpp: 82; python: 37; csh: 1
file content (22 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=OpenBSD Secure Shell server
Documentation=man:sshd(8) man:sshd_config(5)
After=network.target auditd.service
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run

[Service]
EnvironmentFile=-/etc/default/ssh
ExecStartPre=/usr/sbin/sshd -t
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
ExecReload=/usr/sbin/sshd -t
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
RestartPreventExitStatus=255
Type=notify
RuntimeDirectory=sshd
RuntimeDirectoryMode=0755

[Install]
WantedBy=multi-user.target
Alias=sshd.service