Bug 165207

Summary: [PATCH] use x11-ssh-askpass if openssh-askpass-gnome is not installed
Product: [Fedora] Fedora Reporter: Ville Skytt√§ <scop>
Component: opensshAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: FutureFeature, Patch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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:
Bug Depends On:    
Bug Blocks: 150221    

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.