[gentoo-user] ssh-agent & RSA

2009-05-10 Thread Hilco Wijbenga
Hi all, I'm running ssh-agent so I only have to type my passphrase once. At least that was the plan. I'm trying to use an RSA key instead of DSA. This does not seem to please ssh-agent. It seems to just look for id_dsa and ignore the id_rsa. (a) If I create a DSA key then it finds that and ignore

Re: [gentoo-user] ssh-agent & RSA

2009-05-11 Thread Etaoin Shrdlu
On Monday 11 May 2009, 07:18, Hilco Wijbenga wrote: > 2. ssh-add -D ; ssh-add ~/.ssh/id_rsa 3. mv ~/.ssh/id_rsa ~/.ssh/id_dsa :) Seriously, did you try running ssh-add without arguments? Acrroding to the man, "When run without arguments, it adds the files ~/.ssh/id_rsa, ~/.ssh/id_dsa and ~/.s

Re: [gentoo-user] ssh-agent & RSA

2009-05-11 Thread Hilco Wijbenga
2009/5/11 Etaoin Shrdlu : > On Monday 11 May 2009, 07:18, Hilco Wijbenga wrote: > >> 2. ssh-add -D ; ssh-add ~/.ssh/id_rsa > > 3. mv ~/.ssh/id_rsa ~/.ssh/id_dsa No, I had not tried that. :-) Exactly like that it doesn't work but if I do a copy instead of a move then, yes, it works. Ssh-agent find

Re: [gentoo-user] ssh-agent & RSA

2009-05-12 Thread Etaoin Shrdlu
On Tuesday 12 May 2009, 06:35, Hilco Wijbenga wrote: > This works for me too but afterwards the key is completely ignored. > What happens if you do this and then restart the shell? Or better yet, > what happens if you logout completely and then log back in? For me, > the RSA key is completely igno

Re: [gentoo-user] ssh-agent & RSA

2009-05-12 Thread Etaoin Shrdlu
On Tuesday 12 May 2009, 11:17, Etaoin Shrdlu wrote: > > Does ssh-agent really ask you for a passphrase when starting a > > shell? > > Not if you don't invoke it :) Sorry, that is a bit unclear. Ssh-agent will never ask for a password. It's ssh-add that does (if you run it after the agent), assum

Re: [gentoo-user] ssh-agent & RSA

2009-05-12 Thread Philipp Riegger
On Sun, 2009-05-10 at 22:18 -0700, Hilco Wijbenga wrote: > Hi all, [...] I would recommend you to try [I] net-misc/keychain Available versions: 2.6.6 2.6.8 Installed versions: 2.6.8(19:38:13 04/17/09) Homepage:http://www.gentoo.org/proj/en/keychain/ Description:

Re: [gentoo-user] ssh-agent & RSA

2009-05-12 Thread Hilco Wijbenga
2009/5/12 Etaoin Shrdlu : > On Tuesday 12 May 2009, 11:17, Etaoin Shrdlu wrote: > >> > Does ssh-agent really ask you for a passphrase when starting a >> > shell? >> >> Not if you don't invoke it :) > > Sorry, that is a bit unclear. Ssh-agent will never ask for a password. > It's ssh-add that does (

Re: [gentoo-user] ssh-agent & RSA

2009-05-12 Thread Hilco Wijbenga
2009/5/12 Philipp Riegger : > On Sun, 2009-05-10 at 22:18 -0700, Hilco Wijbenga wrote: > I would recommend you to try > > [I] net-misc/keychain >     Available versions:  2.6.6 2.6.8 >     Installed versions:  2.6.8(19:38:13 04/17/09) >     Homepage:            http://www.gentoo.org/proj/en/keychai