Update README.md

This commit is contained in:
skyper
2023-05-17 09:47:37 +01:00
committed by GitHub
parent 16211abf41
commit c0a6da0745
+1 -1
View File
@@ -254,7 +254,7 @@ thcssh()
echo -e 'PS1="{THC} \[\\033[36m\]\\u\[\\033[m\]@\[\\033[32m\]\\h:\[\\033[33;1m\]\\w\[\\033[m\]# "\e[0m'
ttyp=$(stty -g)
stty raw -echo opost
[[ $(ssh -V 2>&1) == OpenSSH_7* ]] && a="no"
[[ $(ssh -V 2>&1) == OpenSSH_[67]* ]] && a="no"
ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking="${a:-accept-new}" -T \
"$@" \
"unset SSH_CLIENT SSH_CONNECTION; TERM=xterm-256color BASH_HISTORY=/dev/null exec -a [ntp] script -qc 'exec -a [uid] /bin/bash -i' /dev/null"