Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keychain doesn't quite work
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
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Wed Nov 22, 2006 7:57 am    Post subject: keychain doesn't quite work Reply with quote

Here's my .bash_profile
Code:

$ more ~/.bash_profile
# /etc/skel/.bash_profile

# This file is sourced by bash for login shells.  The following line
# runs your .bashrc and is recommended by the bash info pages.
[[ -f ~/.bashrc ]] && . ~/.bashrc

keychain ~/.ssh/id_dsa
. ~/.keychain/`uname -n`-sh


But I am still asked for the pass-phrase of the keyfile everytime. Any one? Also, is it possible to have gnome/kde to somehow use keychain in their programs that does ssh?
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Wed Nov 22, 2006 2:58 pm    Post subject: Reply with quote

Have you tried putting the keychain entries in your .bashrc instead of your .bash_profile ?

The way I get KDE, etc. to use this is to not have X start on it's own. As soon as I log into my user account I am prompted for my passphrase, then I run a 'startx' - and it's all done.
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Sat Jan 27, 2007 10:01 pm    Post subject: Reply with quote

Same problem here.
If I log from any VT, keychain works fine.
However on KDE, keychain isn't launched and I need to enter my passphrase everytime.

BUT, on my Ubuntu at work, when KDE starts, I get a small window asking me for the passphrase...

EDIT:
As suggested I direcly put the lines in ~/.bashrc ;)
This way it gets sourced everytime huhu, login or non-login shells
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
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