[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No login with Debian 12 ssh client, ssh-rsa key, Debian 8 sshd



On 31 May 2024 20:52 +0200, from scdbackup@gmx.net (Thomas Schmitt):
> The ssh-rsa key was generated by Debian 10. man ssh-keygen of buster
> says the default of option -b with RSA was 2048.
> (Does anybody know how to analyze a key file in regard to such
> parameters ?)

$ ssh-keygen -l -f $pubkeyfile

The first field of the output is the key length in bits (for RSA keys,
this is the length of the modulus).

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”


Reply to: