목록ssh-keygen (6)
변군이글루

개인키로 공개키 생성하기 Private Key file(id_rsa) -> Public Key file(id_rsa.pub) usage: ssh-keygen -y -f [input_keyfile] > [output_keyfile] $ ssh-keygen -y -f ~/aws-key/awsaccesskey.pem > ~/aws-key-pair/awsaccesskey.pub

PuTTY Key Generator 파일 변환 : .pem 파일을 .ppk 파일로 변환 1. 실행 > Conversions > Import Key 2. 변환할 .pem 파일 선택 3. Save private key 클릭 후 원하는 경로에 .ppk 파일 저장 https://www.puttygen.com/convert-pem-to-ppk

AWS KMS KEY 생성 KMS 키 생성 ###KMS 키 생성 $ aws --profile byun_profile --region ap-northeast-2 kms create-key KMS AliasName 생성 ###KMS AliasName 생성 ###aws kms create-alias --alias-name "AliasName" --target-key-id "KeyId" $ aws --profile byun_profile --region ap-northeast-2 kms create-alias --alias-name "alias/kms-slack-key" --target-key-id "83advf5d-31d6-404a-b99c-d24a83a33265" KMS 키 리스트 ###KMS 키 리스트 $..

SSH Key 배포(ssh 키 교환) [server 작업 : ssh key 생성] $ ssh-keygen -t rsa $ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/user1/.ssh/id_rsa): Created directory '/home/user1/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/user1/.ssh/id_rsa. Your public key has been saved in /..