Panduan SSH ke Server: Yang Bener, Gak Ribet!
SSH Itu Apaan Sih? Dan Kenapa Lo Harus Peduli?
Command SSH Paling Basic
ssh username@server_ipssh ubuntu@192.168.1.10ssh root@namaserver.comKenapa Login Pake Password Itu Gak Aman
Setup SSH Key Authentication (Cara yang Bener)
Langkah 1: Bikin SSH Key Pair Lo
Langkah 2: Copy Public Key ke Server
Langkah 3: Test Koneksi
Langkah 4: Disable Password Login (Extra Security)
Yang Terjadi di Balik Layar (Biar Lo Ngerti)
SSH Power Moves (Trik yang Bakal Sering Lo Pake)
1. Pake ~/.ssh/config Buat Bikin Shortcut
2. Cegah SSH Timeout (Anti DC Tiba-Tiba)
3. Gak Usah Ngetik Passphrase Berulang (Pake SSH Agent)
4. Port Forwarding Kayak Pro
5. Transfer File Pake SCP atau RSYNC
6. Jalanin Command Tanpa Login
7. Mounting Remote Directory (SSHFS)
Troubleshooting: Ketika Ada Masalah
1. Error: Permission Denied (publickey)
2. Error: Connection Timeout atau Connection Refused
3. Error: Host Key Verification Failed
4. Error: Too Many Authentication Failures
5. Koneksi Lambat Banget
Security Best Practices (PENTING!)
1. Ganti Port Default
2. Disable Root Login
3. Limit User yang Bisa SSH
4. Pake Fail2Ban
5. Keep SSH Updated
Kesimpulan
Last updated