1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] StartLimitIntervalSec=0 After=vyos-router.service ConditionPathExists=/run/sshd/sshd_config [Service] EnvironmentFile= ExecStart= ExecStart=ip vrf exec %i /usr/sbin/sshd -f /run/sshd/sshd_config Restart=always RestartPreventExitStatus= RestartSec=10 RuntimeDirectoryPreserve=yes