Ubuntu 22.04 "Server refused our key" trying to connect via SSH [RESOLVED]

0

Posting this solution to help others who may come across this problem.

The default rsa KeyPairs generated with the EC2 console appear to be NOT accepted by default on the Ubuntu 22.04 image.

Connection attempts result in a "userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms" message in /usr/log/auth.log

Creating a ECDSA keypair in Puttygen and the copying the public key text (from the top of the PuttyGen screen) into the /home/ubuntu/.ssh/authorized_keys seems to fix the issues I was having.

Hope this helps others !!.

질문됨 2년 전416회 조회
1개 답변
0
Judith
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠