티스토리 뷰

ubuntu 설정
ssh key 생성
root@c4m8d50:~# ssh-keygen -t ed25519 -C "icurfer@gmail.com"

 

config 파일 생성 및 설정
root@c4m8d50:~# vi .ssh/config

 

Host github.com
  HostName github.com
  IdentityFile  ~/.ssh/id_ed25519_pyauto
  User pyauto

#  gitlab을 추가하는경우.
Host private.gitlab.com
  HostName private.gitlab.com
  IdentityFile  ~/.ssh/id_ed25519_pyauto
  User pyauto

 

git 설정
git config --global user.email "icurfer@gmail.com"
git config --global user.name "icurfer"

 

github설정

개별 레포지토리 접속 후

settings \ Deploy Keys 접속

Add deploy key에 Public key를 넣어주면 됨.

 

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/09   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함