Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

#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.

Objektif

  • Generate SSH key pair (ed25519)
  • Launch EC2 dengan Security group ketat (SSH from My IP only)
  • Hardening SSH server
  • Manajemen user dengan least privilage

Arsitektur

Local (Ubuntu virtualBox) --> SSH port 22 (key-based) --> AWS EC2 (Amazon Linux 2023)

Security Practices Diterapkan

  • 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

Langkah-langkah

  1. Generate SSH key: ssh-keygen -t ed25519 -f ~/.ssh/my-aws-keypair
  2. Upload public key ke AWS EC2 Key Pairs
  3. Buat Security Group: SSH dari My IP saja
  4. Launch EC2 t3.micro Amazon Linux 2023
  5. Konfigurasi ~/.ssh/config
  6. Hardening sshd_config
  7. Buat user clouddev dengan sudo privilege

Tools & Environment

  • Ubuntu 26.04 (VirtualBox)
  • AWS EC2 t3.micro - Amazon Linux 2023
  • OpenSSH / ed25519

Status

Completed - May 2026

About

SSH key setup, EC2 hardening, dan secure remote access - Bulan 1 Roadmap Junior Cloud Engineer

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors