An OpenSSH key is not an OpenPGP key. There are some efforts to use OpenPGP keys for SSH authentication, however.
-----Original Message----- >From: Michael Erskine <[EMAIL PROTECTED]> >Sent: Nov 29, 2006 7:35 AM >To: gnupg-users@gnupg.org >Subject: Importing my keys fails > >Hi all, > >I have a pair of existing keys that I've used for ssh over the past few years >and I'd like to use them with gnupg and gpg-enabled mailers etc. but they >won't import for some reason: - > >[EMAIL PROTECTED]:~/.ssh$ gpg --import id_dsa >gpg: no valid OpenPGP data found. >gpg: Total number processed: 0 > >My private key looks like this... > >-----BEGIN DSA PRIVATE KEY----- >Proc-Type: 4,ENCRYPTED >DEK-Info: DES-EDE3-CBC,A953971238701254 > ><blah,blah,blah> > >-----END DSA PRIVATE KEY----- > >...and my public key is a single line beginning "ssh-dss ". Neither of them >will import so I'm assuming they're either incompatible with my openpgp or I >need to cast some magic to get them to work. Here's my version... > >[EMAIL PROTECTED]:~/.ssh$ gpg --version >gpg (GnuPG) 1.4.3 >Copyright (C) 2006 Free Software Foundation, Inc. >This program comes with ABSOLUTELY NO WARRANTY. >This is free software, and you are welcome to redistribute it >under certain conditions. See the file COPYING for details. > >Home: ~/.gnupg >Supported algorithms: >Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA >Cypher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH >Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512 >Compression: Uncompressed, ZIP, ZLIB, BZIP2 > >Any ideas? > >Regards, >Michael Erskine. > > >-- >A right is not what someone gives you; it's what no one can take from you. > -- Ramsey Clark > > > >___________________________________________________________ >Try the all-new Yahoo! Mail. "The New Version is radically easier to use" � >The Wall Street Journal >http://uk.docs.yahoo.com/nowyoucan.html > > >_______________________________________________ >Gnupg-users mailing list >Gnupg-users@gnupg.org >http://lists.gnupg.org/mailman/listinfo/gnupg-users _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users