How can I force SSH to give an RSA key instead of ECDSA?

Posted by broiyan on Ask Ubuntu See other posts from Ask Ubuntu or by broiyan
Published on 2012-05-07T12:19:31Z Indexed on 2012/11/14 11:19 UTC
Read the original article Hit count: 241

Filed under:

Upon the first time accessing a server, how can I force SSH to give me the RSA key and automatically store it if the user approves?

Presently it is offering me the ECDSA key. Because I already know the RSA key, I would prefer to see the RSA key presented at this point.

I have tried:

ssh -o RSAAuthentication=yes user@server

Unfortunately this gives me an ECDSA key and the Are you sure you want to continue connecting (yes/no)? message.

© Ask Ubuntu or respective owner

Related posts about ssh