Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keychain - SSH_AUTH_SOCK is invalid
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
Aconbere
n00b
n00b


Joined: 28 Feb 2004
Posts: 49

PostPosted: Sun Jun 26, 2005 7:29 pm    Post subject: Keychain - SSH_AUTH_SOCK is invalid Reply with quote

I really don't know what this means, and I'm not familiar really with ssh-agent. I know that keychain manages ssh-agent, and should allow me to enter 1 password when I start it, and then logon to the numerous shells I use during my day passwordless (yay... that sounds great)

So, I followed the guide on setting up keychain.

I built myself a nice little dsa key, and put the following in my ~/.bash_profile

Code:

keychain id_dsa
. ~/.keychain/$HOSTNAME-sh


when I start a terminal session now I get the following output

Code:

 * Warning: SSH_AUTH_SOCK in environment is invalid; ignoring it
 * Found existing ssh-agent (17198)
 * Known ssh key: /home/<user_name>/.ssh/id_dsa


and when I go to logon to a sever... I can ssh in (asks for password), I then exit... come back and ssh in again (asks for password again). Am I confused about the purpose or way in which keychain functions? Is the warning above important? If so... is there a good place to look to fix it?

I did a quick search of "keychain SSH_AUTH_SOCK" here but got a bunch of ssh-agent threads that suggest using keychain (which clearly doesn't help me in this case :P )

Thanks,
Anders
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Mon Jun 27, 2005 12:58 pm    Post subject: Reply with quote

Just to let you know I have the same error message, but only if I start from under X. On consoles it works without an error.

Currently investigating ...
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Tue Jun 28, 2005 7:06 am    Post subject: Reply with quote

Well, after an X restart it works nicely. I like it :)
_________________
"Failure is not an option!"
"Sir, we are out of further options."
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