Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems setting up ssh-agent and keychain [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Wed Nov 28, 2012 6:56 am    Post subject: Problems setting up ssh-agent and keychain [solved] Reply with quote

Hi everybody,

I have created my keys and am able to log in to my servers via the passphrase. I can also manually start ssh-agent, add my keys, and log in without a password via:

Code:

eval `ssh-agent`
ssh-add


I am, however, having problems editing .bash_profile and getting keychains set up. Things just don't happen in the way as the documentation suggests they should. Moreover, the two sets of docs I have found for gentoo are not very clear to me. So, could somebody point out what I need to do to get everything working? What basically happens is that keychains does not appear to start as it should when it should.

Best,

Alex
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Wed Nov 28, 2012 12:45 pm    Post subject: Re: Problems setting up ssh-agent and keychain [solved] Reply with quote

The solution turned out to be fairly simple and that was to place the keychain activation commands in .bashrc and not .bash_profile. I suspect I was forgetting something in the latter. All seems to be going okay now.

Best,

Alex
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum