Created
March 17, 2024 12:17
-
-
Save avoidik/dfc9434ca7f37fb365bd426c6335807d to your computer and use it in GitHub Desktop.
termux
Author
avoidik
commented
Jul 6, 2024
Author
$ pkg install rust
$ cargo install vsv
$ echo 'PATH="$HOME/.cargo/bin:$PATH"; export PATH' >> ~/.profile
Author
$ cat <<'EOF' > $PREFIX/etc/profile.d/runsvdir.sh
#!/data/data/com.termux/files/usr/bin/sh
export SVDIR="$PREFIX/var/service"
export LOGDIR="$PREFIX/var/log"
( runsvdir "$SVDIR" >/dev/null 2>&1 & )
EOF
$ mv $PREFIX/etc/profile.d/start-services.sh $PREFIX/etc/profile.d/start-services.disabled
Author
$ cat ../usr/etc/ssh/sshd_config.d/user.conf
PrintMotd no
PasswordAuthentication no
ChallengeResponseAuthentication no
PubkeyAuthentication yes
UseDNS no
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment