본문 바로가기

IT/AWS

AMAZON Linux2 git ssh 설정

반응형

git 설치 및 ssh public key 생성

sudo yum install git
ssh-keygen -t rsa -C "당신의 이메일주소"
cat ~/.id_rsa.pub #보통 id_rsa로 저장됨. 바꿀수 있음

cat 해서 나온 내용 복사해서 git > settings > SSH and GPG Keys > new Key 해서 등록

'IT > AWS' 카테고리의 다른 글

AMAZON Linux2 nginx 설치  (0) 2022.12.10
Amazon Linux2 node 설치  (0) 2022.12.10