[CentOS] ssh-agent fails to hold values

Ron Loftin reloftin at twcny.rr.com
Sun Nov 28 16:41:16 EST 2010


On Sun, 2010-11-28 at 16:35 -0500, bluethundr wrote:
> Hello list
> 
> I am attempting to manage my key logins with ssh-agent. However EVERY
> time I try to ssh I have to go through the same exact routing and it's
> getting a little old...
> 
> [bluethundr at LCENT01:~]#ssh sum3
> Enter passphrase for key '/home/bluethundr/.ssh/id_rsa':
> 
> [bluethundr at LCENT01:~]#exec ssh-agent bash
> [bluethundr at LCENT01:~]#ssh-add
> Enter passphrase for /home/bluethundr/.ssh/id_rsa:
> Identity added: /home/bluethundr/.ssh/id_rsa (/home/bluethundr/.ssh/id_rsa)
> [bluethundr at LCENT01:~]#ssh sum3
> Last login: Sun Nov 28 14:32:34 2010 from localhost.localdomain
> #########################################################
> #               SUMMITNJHOME.COM                        #
> #               TITLE:       LCENT03 BOX                #
> #               LOCATION:    SUMMIT BASEMENT            #
> #                                                       #
> #########################################################
> [bluethundr at LCENT03:~]#
> 
> 
> Does anyone have any suggestions to make ssh-agent hold these values a
> bit more persistently?

I'm not sure if this will help, but I use the "keychain" package from
RPMForge, and it takes most of the pain out of dealing with SSH keys.

> 
> thanks!!
> 
> 
> 
-- 
Ron Loftin                      reloftin at twcny.rr.com

"God, root, what is difference ?"       Piter from UserFriendly



More information about the CentOS mailing list