# === lab block ===
# 실습 #5 ② — 별칭 + ProxyJump 패턴
# 사용: ssh lab / ssh prod / ssh inner-db

Host lab
    HostName 192.168.56.10
    User lab
    IdentityFile ~/.ssh/id_ed25519
    Port 22

Host prod
    HostName api.prod.example.com
    User deploy
    IdentityFile ~/.ssh/id_prod_ed25519
    Port 2222
    ServerAliveInterval 60
    ServerAliveCountMax 3

# Bastion (DMZ)
Host bastion
    HostName bastion.example.com
    User jump
    IdentityFile ~/.ssh/id_ed25519

# 내부망 — bastion 경유 한 줄 진입
Host inner-db
    HostName 10.0.10.5
    User db-admin
    IdentityFile ~/.ssh/id_ed25519
    ProxyJump bastion
