Linux 서버 이전시 authorized_keys 승계시 에러

접속시 refuse 로 뜨고 /var/log/auth.log 를 봤을 때,

Aug 13 23:02:17 ubuntu-server sshd[3930]: userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]

위와 같은 에러가 날 때, 근본적으로 알고리즘을 높여서 키를 다시 생성 해야겠지만 좋지 않으나 귀찮아서 그냥 할 경우

/etc/ssh/sshd_config 를 편집해서 제일 밑에 아래 추가

PubkeyAcceptedAlgorithms +ssh-rsa

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다