You are not logged in.

#1 2012-11-01 20:29:04

PolishHurricane
Member
Registered: 2011-02-02
Posts: 47

My keychain stopped working after reboot :(

Hi,

I managed to get keychain working for github, but it stopped working right after I rebooted.

It used to do this...

Terminal wrote:

* keychain 2.7.1 ~ http://www.funtoo.org
* Inheriting ssh-agent (2442)
* Starting gpg-agent...
* Adding 1 ssh key(s): /root/.ssh/id_rsa
* ssh-add: Identities added: /root/.ssh/id_rsa

Now it does this:

Terminal wrote:

* keychain 2.7.1 ~ http://www.funtoo.org
* Inheriting ssh-agent (2442)
* Starting gpg-agent...
* Adding 1 ssh key(s): /root/.ssh/id_rsa
Enter passphrase for /root/.ssh/id_rsa:

Is there a daemon I need to add to the rc.conf or other new daemon file thing?

Offline

#2 2012-11-01 22:01:34

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: My keychain stopped working after reboot :(

Sooo...what's the the problem? It's supposed to ask you for the passphrase to your keys! It should ask once and then not bother you again. How are you calling it? FYI, I have this in my .bashrc (and something similar in /root/.bashrc):

### SSH and GPG KEY HANDLING ###
keys="logo_rsa web_rsa github_rsa"
type -P keychain &>/dev/null || { echo "I require keychain but it's not installed.  Aborting." >&2; }
eval $(keychain -q --eval $(echo "$keys"))

Scott

Offline

#3 2012-11-02 12:07:14

PolishHurricane
Member
Registered: 2011-02-02
Posts: 47

Re: My keychain stopped working after reboot :(

My .bashrc file... eww someone installed ruby:

eval `keychain --eval id_rsa`
PATH="${PATH}:~/.gem/ruby/1.9.1/bin"
export GEM_HOME="~/.gem/ruby/1.9.1"

I'll try your way...

Offline

#4 2012-11-02 12:14:36

PolishHurricane
Member
Registered: 2011-02-02
Posts: 47

Re: My keychain stopped working after reboot :(

not as pretty as the old way.  Oh way... I guess i have to be secure.  Thanks!

Offline

Board footer

Powered by FluxBB