본문 바로가기
[AWS]/ROG

[AWS] 키페어 가져오기 - Failed to import AWS Keypair into other region!!!

by SAMSUNG CLOUD-OKY 2022. 3. 7.
반응형

 

 

If you see any error like Value for parameter PublicKeyMaterial is invalid. Length exceeds maximum of 2048 while importing PEM file from one region to other region, then we can generate key again from sshkeygen command and use the output while importing.

 

Step 1: ssh-keygen -y -f pem-file-name.pem  (기존 사용서버에서 할 것)

Step 2: Copy the output and paste it in the AWS console import window.

Step 3: Click on import

It works this time.

Now use this key while creating resource.

 

 

 

## 키페어 재활용 성공

 

 

 

 

 

https://rajesh9333.wordpress.com/

반응형

댓글