Bug 165207 - [PATCH] use x11-ssh-askpass if openssh-askpass-gnome is not installed
[PATCH] use x11-ssh-askpass if openssh-askpass-gnome is not installed
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: openssh (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
: FutureFeature, Patch
Depends On:
Blocks: FC5Target
  Show dependency treegraph
 
Reported: 2005-08-05 09:19 EDT by Ville Skyttä
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: openssh-4.1p1-5
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-08-16 08:02:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Ville Skyttä 2005-08-05 09:19:07 EDT
If openssh-askpass-gnome is not installed, the plain X11 version from  
openssh-askpass doesn't seem to be used instead of it out of the box, which  
causes problems here and there where a console is not available for asking 
passphrases. 
   
This would be trivially solved by a couple of new /etc/profile.d snippets:   
   
x11-ssh-askpass.sh:   
if [ -z "$SSH_ASKPASS" ] ; then   
    SSH_ASKPASS=/usr/libexec/openssh/x11-ssh-askpass   
    export SSH_ASKPASS   
fi   
   
x11-ssh-askpass.csh:   
if ( $?SSH_ASKPASS ) then   
    exit   
endif   
setenv SSH_ASKPASS /usr/libexec/openssh/x11-ssh-askpass
Comment 1 Tomas Mraz 2005-08-16 08:02:28 EDT
Applied, thanks.

Note You need to log in before you can comment on or make changes to this bug.