Update README.md

This commit is contained in:
skyper
2023-05-17 10:52:26 +01:00
committed by GitHub
parent c0a6da0745
commit dc6bba097b
+1 -1
View File
@@ -255,7 +255,7 @@ thcssh()
ttyp=$(stty -g)
stty raw -echo opost
[[ $(ssh -V 2>&1) == OpenSSH_[67]* ]] && a="no"
ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking="${a:-accept-new}" -T \
ssh -o UpdateHostKeys=no -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"
stty "${ttyp}"