Update Cheat Sheet.md

This commit is contained in:
AbdullahRizwan101 2020-11-11 18:21:15 -05:00 committed by GitHub
parent cff7145f92
commit 8640e63aae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,7 +177,7 @@ To bruteforce passwords
### Change SSH port
`nano /etc/ssh/sshd_config` (change PORT 22 to any port you want also you can tinker with configuration file)
`service sshd restart` (Restart SSH service to apply changes)
### Hide yourself from "w" or "who"
`ssh user@ip -T` This -T will have some limiations , that you cannot run bash and some other commands but is helpful.