문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
linux:ssh [2019/11/13 22:55] kwon37xi [Private Key 생성] |
linux:ssh [2019/11/13 23:05] kwon37xi [~/.ssh/config] |
||
---|---|---|---|
줄 50: | 줄 50: | ||
HostName IP 혹은 hostname | HostName IP 혹은 hostname | ||
User 계정명 | User 계정명 | ||
+ | IdentitiesOnly yes | ||
# 특정 key 지정 | # 특정 key 지정 | ||
줄 57: | 줄 58: | ||
PreferredAuthentications publickey | PreferredAuthentications publickey | ||
IdentityFile ~/ | IdentityFile ~/ | ||
+ | IdentitiesOnly yes | ||
# github.com git 계정 접속시에 대한 처리 | # github.com git 계정 접속시에 대한 처리 | ||
Host github.com | Host github.com | ||
+ | HostName github.com | ||
User git | User git | ||
IdentityFile ~/ | IdentityFile ~/ | ||
+ | IdentitiesOnly yes | ||
| | ||
# 동일 2차 도메인 사용시 | # 동일 2차 도메인 사용시 | ||
줄 68: | 줄 72: | ||
PreferredAuthentications publickey | PreferredAuthentications publickey | ||
IdentityFile ~/ | IdentityFile ~/ | ||
+ | IdentitiesOnly yes | ||
</ | </ | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
===== 접속 유지 Keep connection ===== | ===== 접속 유지 Keep connection ===== |