summaryrefslogtreecommitdiff
path: root/EndoForge/openssh/runsshd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'EndoForge/openssh/runsshd.sh')
-rwxr-xr-xEndoForge/openssh/runsshd.sh16
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
2set --
3dirs=$HOME
4p=$HOME
5while [ "$p" != "${p%/*}" ]
6do
7 p=${p%/*}
8 dirs="$dirs $p/"
9done
10
11chown root:root $dirs
12chmod go-w $dirs
13
14cmd="/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