2022-03-21 12:25:55 +00:00
|
|
|
#!/bin/execlineb -P
|
2022-10-18 19:06:48 +00:00
|
|
|
s6-envdir -i /etc/s6/env/path
|
2022-03-21 12:25:55 +00:00
|
|
|
importas -i PATH PATH
|
2022-11-26 13:36:37 +00:00
|
|
|
|
|
|
|
s6-envdir -i /etc/s6/env/sshd.1
|
|
|
|
importas -i SSHDCFG SSHDCFG
|
|
|
|
|
2022-03-21 12:25:55 +00:00
|
|
|
emptyenv
|
|
|
|
|
|
|
|
export PATH $PATH
|
|
|
|
|
|
|
|
fdmove -c 2 1
|
|
|
|
|
|
|
|
# NOTE: SSHD forks itself and requires the full path
|
|
|
|
# - i don't think this is really a concern that should be forced onto users
|
2022-11-26 13:36:37 +00:00
|
|
|
/usr/sbin/sshd -D -e -f ${SSHDCFG}
|