SSH 연결 Delay 해결


  • 증상
    • 서버에 ssh 연결 시 지연 현상 발생
    • $ ssh -v [x.x.x.x]로 어디에서 지연이 발생하는지 검토
$ ssh -v [X.X.X.X]
....
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available

debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available

debug1: Unspecified GSS failure.  Minor code may provide more information
...


  • 원인
    • GSSAPIAuthentication 관련 이슈
  • 해결책
    • Sshd 서버의 /etc/ssh/sshd.config 에서 GSSAPIAuthentication 옵션을 no로 설정 후 sshd 서비스 재시작

댓글

이 블로그의 인기 게시물

[ELK] search guard를 이용한 보안 설정 (사용자 권한)

공공데이터(openapi) 사용법 (특정 정류소, 버스의 남은 좌석 확인 하기)