[git] gitlab ssh: Connection refused

DONNIE·2023년 5월 4일
0

오류

목록 보기
2/2

컴퓨터를 바꿨다.
vscode랑 gitlab을 연동해야함

  1. 터미널에서 키생성
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  1. ./ssh/id_rsa.pub 내용 복사
  2. git에 추가

    Preferences / SSH keys 에 key 추가

  3. vscode에서 clone
git clone ~

#ERROR

4.에서 connect to host gitlab.주소.co.kr port 22: Connection refused 에러가 남
git clone 시 ssh 로 했을 때 계속 저 에러가 났고, https 로 clone 하니까 vscode 창에 user.name/pw 입력창 떠서 입력하니까 됨
칵 그냥

profile
후론트엔드 개발자

0개의 댓글