diff options
Diffstat (limited to 'EndoForge/openssh/runsshd.sh')
-rwxr-xr-x | EndoForge/openssh/runsshd.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/EndoForge/openssh/runsshd.sh b/EndoForge/openssh/runsshd.sh deleted file mode 100755 index 1eff668..0000000 --- a/EndoForge/openssh/runsshd.sh +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | set -- | ||
3 | dirs=$HOME | ||
4 | p=$HOME | ||
5 | while [ "$p" != "${p%/*}" ] | ||
6 | do | ||
7 | p=${p%/*} | ||
8 | dirs="$dirs $p/" | ||
9 | done | ||
10 | |||
11 | chown root:root $dirs | ||
12 | chmod go-w $dirs | ||
13 | |||
14 | cmd="/usr/sbin/sshd -D -e -f $HOME/.ssh/sshd_config -h $HOME/.ssh/id_ed25519" | ||
15 | /sbin/runuser -u u -- sh -c "set -x; $cmd" | ||
16 | |||