diff options
Diffstat (limited to 'debian/systemd/ssh.socket')
-rw-r--r-- | debian/systemd/ssh.socket | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/systemd/ssh.socket b/debian/systemd/ssh.socket new file mode 100644 index 000000000..fa1f615e4 --- /dev/null +++ b/debian/systemd/ssh.socket | |||
@@ -0,0 +1,11 @@ | |||
1 | [Unit] | ||
2 | Description=OpenBSD Secure Shell server socket | ||
3 | Conflicts=ssh.service | ||
4 | ConditionPathExists=!/etc/ssh/sshd_not_to_be_run | ||
5 | |||
6 | [Socket] | ||
7 | ListenStream=22 | ||
8 | Accept=yes | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=sockets.target | ||