Re: Determining Key Length

From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 06/21/05


Date: 21 Jun 2005 13:13:13 GMT

On 2005-06-21, sanelson@gmail.com <sanelson@gmail.com> wrote:
> How do I determine the length of an ssh key - in terms of bits - is it
> 1024? larger? smaller?

For OpenSSH, ssh-keygen -l can tell you, eg:

$ ssh-keygen -l -f .ssh/id_rsa
2048 f3:f8:57:12:54:f0:02:fe:3c:b8:7e:5b:24:b3:f0:eb .ssh/id_rsa

is a 2048-bit key. Other software will probably do it differently.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


Relevant Pages

  • Re: scp usernames with # and @
    ... Upgrade to OpenSSH 3.6p1 or higher, ... Darren Tucker (dtucker at zip.com.au) ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: OpenSSH change logs?
    ... On 2005-03-29, Mike Lowery wrote: ... > Where can one find information on changes between versions of OpenSSH? ... Darren Tucker (dtucker at zip.com.au) ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: OpenSSH 3.6.1p1 and AIX 4.3
    ... Maybe your global ssh_known_hosts fileare readable only by root? ... Darren Tucker (dtucker at zip.com.au) ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: SSH over Virtual Interfaces
    ... Ranjith Kumar wrote: ... >I am doing a project for my course and would like to run OpenSSH on ... Darren Tucker ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: Chnage Password Through C code...
    ... man chpass ... Darren Tucker (dtucker at zip.com.au) ... Good judgement comes with experience. ...
    (comp.unix.aix)