#SSH Key Setup & Remote Access Lab
Praktik konfigurasi SSH key dan remote access aman ke AWS EC2. Bagian dari Bulan 1 - Roadmap Junior Cloud Engineer.
- Generate SSH key pair (ed25519)
- Launch EC2 dengan Security group ketat (SSH from My IP only)
- Hardening SSH server
- Manajemen user dengan least privilage
Local (Ubuntu virtualBox) --> SSH port 22 (key-based) --> AWS EC2 (Amazon Linux 2023)
- Ed25519 algorithm
- SSH hanya dari IP spesifik (bukan 0.0.0.0/0)
- PermitRootLogin no
- PasswordAuthentication no
- MaxAuthTries 3
- ClientAliveInterval 300
- User non-root dengan sudo privilege
- Generate SSH key: ssh-keygen -t ed25519 -f ~/.ssh/my-aws-keypair
- Upload public key ke AWS EC2 Key Pairs
- Buat Security Group: SSH dari My IP saja
- Launch EC2 t3.micro Amazon Linux 2023
- Konfigurasi ~/.ssh/config
- Hardening sshd_config
- Buat user clouddev dengan sudo privilege
Tools & Environment
- Ubuntu 26.04 (VirtualBox)
- AWS EC2 t3.micro - Amazon Linux 2023
- OpenSSH / ed25519
Completed - May 2026