1. SSH Connection
ssh user@server_ip
2. Basic Commands
ls
cd
pwd
top
htop
3. Risk
- 1,000+ brute-force attempts
4. SSH Key
ssh-keygen
ssh-copy-id user@server
5. Config
PermitRootLogin no
PasswordAuthentication no
Port 2222
6. Fail2Ban
apt install fail2ban
7. Scenario
| Model | Security |
|---|---|
| password | low |
| key | high |
8. Best Practice
โ disable root โ use key authentication โ change the port
9. Conclusion
๐ SSH security is mandatory
CTA
๐ download the checklist ๐ get consulting
Internal Links
- /geliลtiriciler-icin-hosting
- /git-ile-deploy
- /staging-ortami