View previous topic :: View next topic |
Author |
Message |
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Wed Nov 22, 2006 7:57 am Post subject: keychain doesn't quite work |
|
|
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 |
|
|
xoomix Guru
Joined: 02 Jan 2003 Posts: 489
|
Posted: Wed Nov 22, 2006 2:58 pm Post subject: |
|
|
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 |
|
|
HTS Guru
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Sat Jan 27, 2007 10:01 pm Post subject: |
|
|
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 |
|
|
|