Cara pertama
- Buka EC2 console.
- Pada menu NETWORK & SECURITY, pilih “Key Pairs”, kemudian klik Create Key Pair.
- Setelah pem file di-download, jalankan command berikut:
ssh-keygen -f YOURKEY.pem -y
- Simpan output dengan nama file
authorized_keys. - Simpan file
authorized_keysdi~/.ssh/authorized_keys
Cara kedua
- Buka EC2 console.
- Pada menu NETWORK & SECURITY, pilih “Key Pairs”, kemudian klik Create Key Pair.
- Setelah pem file di-download, upload pem file, kemudian jalankan command berikut:
chmod 600 YOURKEY.pem ssh-keygen -f YOURKEY.pem -y >> ~/.ssh/authorized_keys






Users Today : 46
Users Yesterday : 326
This Month : 1458
This Year : 83482
Total Users : 147969
Views Today : 80
Total views : 663417
Who's Online : 1
Recent Comments