1,SSH登录并隐藏
ssh -T root@192.168.199.123 /usr/bin/bash -i
ssh 参数-T表示不分配伪终端,/usr/bin/bash -i 表示在登录后调用bash命令 -i 表示是交互式shel,这样登陆将不会在w/last命令结果中显示
2,为什么不显示
w/last命令日志/var/log/wtmp 是utmp和wtmp的...
3-07 5 views
1,SSH登录并隐藏
ssh -T root@192.168.199.123 /usr/bin/bash -i
ssh 参数-T表示不分配伪终端,/usr/bin/bash -i 表示在登录后调用bash命令 -i 表示是交互式s...