| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
Tags
- MYSQL
- kmip
- Android
- albumbook
- css
- WebAuthn
- Xcode
- SWIFT
- 안드로이드
- 애플
- 앨범북
- 앱스토어
- openssl
- fido
- MFA
- appres
- Nodejs
- SSL
- OTP
- FIDO2
- apple
- MSYS2
- 인증
- SSH
- git
- 앱리소스
- SwiftUI
- otpkey
- 2FA
- OSX
Archives
- Today
- Total
인디노트
Github 연결시 특정 ssh 키를 사용하는 방법 본문
우선 본인의 ~/.ssh/config 에 다음과 같이 등록한다.
# user1
Host user1.github.com
HostName github.com
User git
IdentityFile ~/.ssh/user1/id_rsa
# user2
Host user2.github.com
HostName github.com
User git
IdentityFile ~/.ssh/user2/id_rsa
# user1 계정으로 사용하는 경우
git remote set-url origin git@user1.github.com:User1/UserRepo.git
git clone git@user1.github.com:User1/UserRepo.git
'정보' 카테고리의 다른 글
| shimgvw.dll (0) | 2023.11.30 |
|---|---|
| VMWare 에 Shared Folder 마운트 하기 (0) | 2023.11.14 |
| Flex 설명 쉽게 해놓은 곳 링크 (0) | 2023.07.01 |
| 우분투에서 있는 node 서버를 실행시키는 데몬 서비스 (0) | 2023.04.27 |
| 우분투에서 nameserver 설정 (0) | 2023.04.10 |
Comments