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

Bart Swennen 1068304 at bugs.launchpad.net
Wed Jun 12 19:51:00 UTC 2013


Confirming on Ringtail as well.

Solution: make sure you have a public key file in ~/.ssh

Create it with ssh-keygen -y from your private key if you don't have the
public key in a separate file.

If key.pub is available, gnome-ssh-askpass pops up and asks for the
passphrase.

Without the key.pub, gnome-ssh-askpass doesn't pop up even though the
private key file is there.

-- 
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