Replace existing SSH Key EC2

1. Buat ssh private key baru menggunakan AWS Console.

2. Generate public key baru dari ssh private key di step 1.

3. Masukkan public key di step 2 ke file .ssh/authorized_keys dan hapus key yang sudah ada sebelumnya.

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *

*