GNOME Bugzilla – Bug 648224
configure key for secure shell -> bad file descriptor, permission denied
Last modified: 2011-09-15 08:40:57 UTC
I'm using Seahorse 3.0.0 on Fedora 15 alpha. When I select an SSH key and choose Remote->Configure Key for Secure Shell, I'm prompted to enter a computer name and login name. I then click Set Up and I see this: Couldn't configure Secure Shell keys on remote computer. ** (process:8830): WARNING **: couldn't open fd 22: Bad file descriptor Permission denied, please try again. ** (process:8831): WARNING **: couldn't open fd 22: Bad file descriptor Permission denied, please try again. ** (process:8832): WARNING **: couldn't open fd 22: Bad file descriptor Permission denied (publickey,password). This looks like the same bug upstream at Ubuntu: https://bugs.launchpad.net/ubuntu/+source/seahorse/+bug/745245
I can confirm this (I am bug reporter from the Ubuntu bug). I am using Seahorse 2.32.0 on Ubuntu Natty. The bug was first introduced between Maverick and Natty, both of which use the same version of Seahorse. Interesting comparison here - Fedora 15 uses Gnome (and Seahorse) 3, while Ubuntu has stayed with the same version since the Maverick, where configuring SSH keys was working. What's changed in the environment in both distributions? My first guess was Kerberos, given the error messages, but at first glance in the Ubuntu repositories that doesn't seem to have changed from Maverick to Natty. I'll do a more thorough check when I'm at my Maverick box.
On further inspection (looking through Ubuntu and Fedora repos) the only common minor version change I'm seeing in the Seahorse dependencies is in libsoup (in Ubuntu from 2.31.92 to 2.34.0, in Fedora from 2.31.90 to 2.34.0). Unfortunately I don't have debugging symbols installed for Seahorse; anyone know how I could get them?
Looks like openssh has started closing the file descriptors that we use to communicate with our prompt program.
I just did a fresh install of 11.04 with Unity and have this issue. Are there any fixes? I do like using the GUI key management.
The prompting needs to be rewritten so that it takes place in seahorse-ssh-askpass program. I haven't had time to do this yet.
Fixed in seahorse master. Will be part of the next seahorse 3.2.