-
-
Save wh1t3p1g/4f612031e538547d8c74f50b12b06490 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -T user@host /bin/bash -i 隐藏的远程登陆 | |
登陆后 unset HISTFILE;export HISTFILE=;export HISTFILE=/dev/null;export HISTSIZE=0;export HISTFILESIZE=0;export HISTIGNORE=*;export HISTCONTROL=ignorespace | |
不记录命令 | |
ssh -o UserKnownHostsFile=/dev/null -T user@host /bin/bash -if 隐藏登陆+不记录 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment