Jeff Abrahamson on Sat, 10 Aug 2002 13:20:07 +0200


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

[PLUG] ssh-keygen and multiple keys


I've been using (dsa) keys with ssh. I went to create another key to
use with another host. But this doesn't work, as ssh has no idea which
private key goes with which host (since I've put different pub keys on
different hosts).

Man and howto aren't helping me. I've read a bit about ssh-agent, but
I hesitate, as that seems to be more about storing keys and pass
phrases so I don't have re-enter them (much more than what I
want). And then it seems like I can only use those keys from subshells
of ssh-agent, etc. Maybe I'm confused.

It seems I should be able to say "ssh -i id-file host", but I'm still
asked for /etc/passwd's idea of a password, not the keys passphrase.

Any pointers?

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>

 The Big Book of Misunderstanding, now in bookstores and on the web:
 <http://www.misunderstanding.net/buystuff.html>

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug