https://bugzilla.redhat.com/show_bug.cgi?id=1436961
Bug ID: 1436961 Summary: xmonad-mate: Programs started from menus don't have access to ssh-agent Product: Fedora Version: 25 Component: xmonad Severity: medium Assignee: mathstuf@gmail.com Reporter: dgibson@redhat.com QA Contact: extras-qa@fedoraproject.org CC: haskell-devel@lists.fedoraproject.org, mathstuf@gmail.com, petersen@redhat.com
Description of problem:
When using XMonad with MATE, programs which use ssh internally don't seem to be able to access the ssh-agent, and request passwords unexpectedly. The same programs started from a terminal are able to access the ssh-agent and don't request passwords.
Version-Release number of selected component (if applicable):
xmonad-mate-0.12-2.fc25.x86_64 ghc-xmonad-0.12-2.fc25.x86_64 openssh-clients-7.4p1-4.fc25.x86_64 mate-session-manager-1.16.1-1.fc25.x86_64
How reproducible:
100%
Steps to Reproduce: 1. Start xmonad-mate session 2. Open a terminal and add a key with ssh-add 3. From the MATE menus, run a program which uses ssh internally, such as vinagre (with proxy through SSH enabled) or virt-manager (with a qemu+ssh connection to the backend) 4. Attempt to connect to a host where you have ssh public key authorization
Actual results:
Program prompts for a password on the remote host.
Expected results:
Connects without password, using the key already given to the ssh-agent.
Additional info:
Running the same program (e.g. vinagre or virt-manager) from a terminal behaves as expected, using the key in the agent to connect without further authentication.