authorized_keys2 is deprecated / 적용불가 이슈
- 메모장
- 2023. 8. 21.
반응형
반응형
- 패스워드 없어 ssh 접속이 필요한 경우 출발지의 id_rsa_pub 내용을 목적지 서버의 authorized_keys2 파일에 넣어주곤 한다
- 이유는 authorized_keys 파일은 회사 내부 정책에 따라 업데이트되는 경우가 있어 불편한 경우가 종종 있기 때문...
- 하지만 어느 순간부터 authorized_keys2 파일 동작하지 않는다...
- authorized_keys 파일로 변경하여 문제는 해결했다
What's the difference between authorized_keys and authorized_keys2?
Just wanted a quick summary of the differences between them and why there are two?
serverfault.com
openssh 3버전에서 변경이 되었다고하는 내용이 있네..
꼭 authorized_keys2파일의 사용해야한다면
sshd_config 의 AuthorizedKeysFile에 authorized_keys2를 추가하는 방법도 있다.
반응형
'메모장' 카테고리의 다른 글
[펌]서브웨이 알바생 추천 조합 / 하나씩 먹어봐야징 (0) | 2023.09.10 |
---|