summaryrefslogtreecommitdiffstats
path: root/src/lib/source/system/other/sshd-srv/run
blob: 6282b83038eeb2b3cf383cd9de85288a8122a4da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!@shebangdir@/execlineb -P

# ISC license.
# https://www.openssh.com/

fdmove -c 2 1

foreground { /bin/ssh-keygen -A }

ifelse -n { /bin/sshd -t }
{
	exit 125
}

/bin/sshd
	-D
	-e