LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-05-2008, 09:08 AM   #1
tpe
Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Suse Linux
Posts: 98

Rep: Reputation: 16
SSH askpass not working in 10.3


Hi all,
I have recently upgraded tom suse 10.0 32bit/KDE 3.5.7 to opensuse 10.3 64bit with KDE 3.5.9. I face various minor problems, and an important one, that of the ssh-askpass

I have enabled ssh-askpass and keychain on my profile. In the previous installation of 10.0, that setup allowed me to have the ssh passphrase stored in memory for as long as the PC run. The configuration was:

Code:
eval `ssh-agent` 1>/dev/null
/usr/bin/keychain id_dsa 2>/dev/null
. ~/.keychain/$HOSTNAME-sh
I have the "/home" on different partition, thus, I did not removed it with the new installation. Unfortuntately, something is wrong of something has change between 10.0 and 10.3. After the login, the ssh-askpass dialog is not displayed. When I open konsole, it asks me the passphrase. When I enter it, for the rest of the session no more passprhases are requested. However, if I log out from KDE, the passphrase is lost!

Strangely enough, if I enter the ssh passphrase from a console (not from KDE, but from a console), the passphrase is kept in memory until I reboot.

I hope that the issue is clear and that someone will help me.

Thank you,
Peter
 
Old 07-06-2008, 02:04 AM   #2
tpe
Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Suse Linux
Posts: 98

Original Poster
Rep: Reputation: 16
Nobody? Please I need some help here.
 
Old 02-27-2009, 01:35 PM   #3
xcristi
Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 35

Rep: Reputation: 16
I know this is an old post, but I guess I have a solution for keychain + KDE usage and I'll post it for future references for those who are still looking for a solution.

So, if you start in init 3 and then startx, and everything works ok with keychain, but directly in init 5 don't:

Add to /usr/bin/startkde

Code:
if [ -x /usr/bin/ssh-agent ]; then
  eval "$(/usr/bin/ssh-agent -s)"
fi
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-askpass in F7 marozsas Fedora 1 06-19-2007 12:39 PM
SSH not working? sdouble Linux - Software 6 09-15-2004 02:46 PM
ssh-askpass missing? nsushkin Slackware 0 02-25-2004 04:29 PM
Can't get SSH working Ben Novack Linux - Networking 3 01-27-2004 10:20 PM
ssh and it not working bickford Linux - Networking 1 07-21-2000 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration