FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 11-28-2010, 08:35 PM
bluethundr
 
Default ssh-agent fails to hold values

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@LCENT01:~]#ssh sum3
Enter passphrase for key '/home/bluethundr/.ssh/id_rsa':

[bluethundr@LCENT01:~]#exec ssh-agent bash
[bluethundr@LCENT01:~]#ssh-add
Enter passphrase for /home/bluethundr/.ssh/id_rsa:
Identity added: /home/bluethundr/.ssh/id_rsa (/home/bluethundr/.ssh/id_rsa)
[bluethundr@LCENT01:~]#ssh sum3
Last login: Sun Nov 28 14:32:34 2010 from localhost.localdomain
################################################## #######
# SUMMITNJHOME.COM #
# TITLE: LCENT03 BOX #
# LOCATION: SUMMIT BASEMENT #
# #
################################################## #######
[bluethundr@LCENT03:~]#


Does anyone have any suggestions to make ssh-agent hold these values a
bit more persistently?

thanks!!



--
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys B6D6EAC3
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-28-2010, 08:41 PM
Ron Loftin
 
Default ssh-agent fails to hold values

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@LCENT01:~]#ssh sum3
> Enter passphrase for key '/home/bluethundr/.ssh/id_rsa':
>
> [bluethundr@LCENT01:~]#exec ssh-agent bash
> [bluethundr@LCENT01:~]#ssh-add
> Enter passphrase for /home/bluethundr/.ssh/id_rsa:
> Identity added: /home/bluethundr/.ssh/id_rsa (/home/bluethundr/.ssh/id_rsa)
> [bluethundr@LCENT01:~]#ssh sum3
> Last login: Sun Nov 28 14:32:34 2010 from localhost.localdomain
> ################################################## #######
> # SUMMITNJHOME.COM #
> # TITLE: LCENT03 BOX #
> # LOCATION: SUMMIT BASEMENT #
> # #
> ################################################## #######
> [bluethundr@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@twcny.rr.com

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

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-28-2010, 09:16 PM
bluethundr
 
Default ssh-agent fails to hold values

That DID it!!! thanks and I agree.. god? root? what's the difference!!

On Sun, Nov 28, 2010 at 4:41 PM, Ron Loftin <reloftin@twcny.rr.com> wrote:
>
> 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@LCENT01:~]#ssh sum3
>> Enter passphrase for key '/home/bluethundr/.ssh/id_rsa':
>>
>> [bluethundr@LCENT01:~]#exec ssh-agent bash
>> [bluethundr@LCENT01:~]#ssh-add
>> Enter passphrase for /home/bluethundr/.ssh/id_rsa:
>> Identity added: /home/bluethundr/.ssh/id_rsa (/home/bluethundr/.ssh/id_rsa)
>> [bluethundr@LCENT01:~]#ssh sum3
>> Last login: Sun Nov 28 14:32:34 2010 from localhost.localdomain
>> ################################################## #######
>> # * * * * * * * SUMMITNJHOME.COM * * * * * * * * * * * *#
>> # * * * * * * * TITLE: * * * LCENT03 BOX * * * * * * * *#
>> # * * * * * * * LOCATION: * *SUMMIT BASEMENT * * * * * *#
>> # * * * * * * * * * * * * * * * * * * * * * * * * * * * #
>> ################################################## #######
>> [bluethundr@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@twcny.rr.com
>
> "God, root, what is difference ?" * * * Piter from UserFriendly
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



--
Here's my RSA Public key:
gpg --keyserver pgp.mit.edu --recv-keys B6D6EAC3
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 03:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org