ssh key를 이용한 github 접근
Software활용 2021. 3. 1. 15:11

github를 접근할 때 매번 패스워드를 사용하기 싫을 경우 아래와 같이 ssh key를 미리 등록 해 놓는 방법이 있다. (.pia-aws) ec2-user:~/environment/DevOps_Microservices (main) $ ssh-keygen -t rsa Generating public/private rsa key pair. 해당 명령어를 실행 하면 아래와 같이 특정 디렉토리에 ssh 키가 만들어진다. Enter file in which to save the key (/home/ec2-user/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has ..