[Bug 459] New: ssh-keygen doesn't know how to export private keys

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Dec 30 08:11:30 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=459

           Summary: ssh-keygen doesn't know how to export private keys
           Product: Portable OpenSSH
           Version: 3.5p1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh-keygen
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: cjwatson at debian.org


The output from ssh-keygen is identical regardless of whether a public or
private key is given using -f:

  [cjwatson at arborlon ~]$ ssh-keygen -e -f .ssh/id-imapd-flatline.pub
  ---- BEGIN SSH2 PUBLIC KEY ----
  Comment: "1024-bit RSA, converted from OpenSSH by cjwatson at arborlon"
  AAAAB3NzaC1yc2EAAAABIwAAAIEAvpawnSFO7bg4CXQ2hNDyNE/ffPGOaPPzAugbx1/kqk
  yawwaOn86jEHA+Kk0kCE4iwYc+19g6oVS9xezzkn2QJlwLZ8tH7c/Vy+i0Y7USaTZ3sEe1
  nhZljkVtMUJaG3D+lqi094qROztTJVPvWCTMxJ0oytQEzC1roMCZmTl5hrk=
  ---- END SSH2 PUBLIC KEY ----
  [cjwatson at arborlon ~]$ ssh-keygen -e -f .ssh/id-imapd-flatline
  ---- BEGIN SSH2 PUBLIC KEY ----
  Comment: "1024-bit RSA, converted from OpenSSH by cjwatson at arborlon"
  AAAAB3NzaC1yc2EAAAABIwAAAIEAvpawnSFO7bg4CXQ2hNDyNE/ffPGOaPPzAugbx1/kqk
  yawwaOn86jEHA+Kk0kCE4iwYc+19g6oVS9xezzkn2QJlwLZ8tH7c/Vy+i0Y7USaTZ3sEe1
  nhZljkVtMUJaG3D+lqi094qROztTJVPvWCTMxJ0oytQEzC1roMCZmTl5hrk=
  ---- END SSH2 PUBLIC KEY ----

However, the man page says:

  .It Fl e
  This option will read a private or public OpenSSH key file and
  print the key in a
  .Sq SECSH Public Key File Format
  to stdout.
  This option allows exporting keys for use by several commercial
  SSH implementations.

(This is Debian bug #174156.)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list