[Bug 1068304] Re: ssh not using gnome-ssh-askpass

Penelope Fudd login.launchpad.net at ch.pkts.ca
Tue Oct 29 16:14:21 UTC 2013


Confirming on Precise Pangolin, although with KDE, ssh-askpass and
ksshaskpass.  Not solved yet.

If I run ssh-askpass or ksshaskpass from the command line, it prints my
ssh key passphrase to stdout (!), derived from my password wallet.

Running ssh-add from the command line puts my key into the ssh-agent,
and I don't get asked for my passphrase any more.

I do have a public key file in ~/.ssh.  It's just that either ssh isn't
running ssh-askpass when it should, or kssh-askpass isn't submitting the
passphrase to ssh-agent, or ssh-agent isn't doing the right thing when
asked.

Is it ssh-agent or ssh that calls ssh-askpass?

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1068304

Title:
  ssh not using gnome-ssh-askpass

Status in “openssh” package in Ubuntu:
  Confirmed

Bug description:
  When I run ssh, it prompts me for my private key's passphrase on the
  terminal, not in a separate window. If I run ssh again, it prompts
  again at the terminal. (By "terminal" I really mean an instance of
  gnome-terminal.)

  I expected the following behavior: When I run ssh the first time for
  this particular host, it should prompt for my passphrase in a new
  window. When I run ssh again after that, it should succeed without
  prompting at all.

  If I run "env" in the terminal, I see values for SSH_AGENT_PID and
  SSH_AUTH_SOCK as well as GNOME_KEYRING_CONTROL. If I run "ps -ax" I
  see both ssh-agent and gnome-keyring-daemon running. Finally,
  /etc/alternatives/ssh-askpass is linked to /usr/lib/openssh/gnome-ssh-
  askpass.

  If I run "ssh-add" explicitly to add the key, it also prompts me for
  my password at the terminal, but after that, ssh uses the unlocked key
  (that is, it no longer prompts for that key's passphrase).

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ssh-askpass-gnome 1:6.0p1-3ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Thu Oct 18 15:21:15 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20120926)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: openssh
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1068304/+subscriptions



More information about the foundations-bugs mailing list