2023-10-25 11:04:44 +00:00
|
|
|
[Unit]
|
|
|
|
Description=OpenBSD Secure Shell server (management VRF)
|
|
|
|
After=network.target auditd.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStartPre=/usr/sbin/sshd -t
|
|
|
|
ExecStart=ip vrf exec mgmt /usr/sbin/sshd -f /etc/ssh/sshd_config.mgmt
|
|
|
|
ExecReload=/usr/sbin/sshd -t
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
KillMode=process
|
|
|
|
Restart=on-failure
|
|
|
|
RestartPreventExitStatus=255
|
|
|
|
Type=notify
|
2024-09-10 12:11:35 +00:00
|
|
|
RuntimeDirectory=sshd
|
|
|
|
RuntimeDirectoryMode=0755
|
2023-10-25 11:04:44 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|