SSH and GPG Keys

Michael R Head burner at suppressingfire.org
Wed Jun 1 13:23:10 UTC 2005


On Wed, 2005-06-01 at 09:14 -0400, Stephen R Laniel wrote:
> On Wed, Jun 01, 2005 at 04:38:55AM -0400, Michael R Head wrote:
> > and then once you've generated them, use ssh-add(1) to add them to your
> > ssh key agent (which is enabled by default in X on Ubuntu).
> 
> Hm. I guess I'm not familiar with this. The manpage says
> 
>      ssh-add adds RSA or DSA identities to the authentication agent,
>      ssh-agent(1).  When run without arguments, it adds the files
>      $HOME/.ssh/id_rsa, $HOME/.ssh/id_dsa and $HOME/.ssh/identity.
> 
> But in my experience, ssh-keygen already does this. What's
> the big draw of ssh-add?

ssh-keygen generates your keys. ssh-add loads them into your agent.

In other words, I only run ssh-keygen once. 
On the other hand, I run ssh-add every time I log in.

mike

> 
-- 
Michael R Head <burner at suppressingfire.org>
GPG: http://www.suppressingfire.org/~burner/gpg.key.txt (ID 23A02B1F)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050601/b9cbac75/attachment.pgp>


More information about the ubuntu-users mailing list