[Bug 1130191] [NEW] config IdentityFile entries ignored with agent

Serge Hallyn 1130191 at bugs.launchpad.net
Tue Feb 19 15:46:20 UTC 2013


Public bug reported:

I have a pair of ssh config entires which look like:

Host host1
    User serge
    ProxyCommand none

Host cloud-*
  User ubuntu   
  StrictHostKeyChecking no
  IdentityFile ~/some/path/cloudkey
  ProxyCommand ssh host1 nc -q0 %h.cloud %p

If I'm logged in through unity, ssh -vvv shows that it tries all of the
ssh keys under ~/.ssh instead of trying ~/some/path/cloudkey.  I assume
ssh would eventually get to trying cloudkey, but the remote end refuses
the login before getting to that.  It should try cloudkey first.

If I'm logged into a different window manager (say, dwm), with ssh-agent
running, but where i have to manually run ssh-add, then it works fine.

** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  config IdentityFile entries ignored with agent

Status in “openssh” package in Ubuntu:
  New

Bug description:
  I have a pair of ssh config entires which look like:

  Host host1
      User serge
      ProxyCommand none

  Host cloud-*
    User ubuntu   
    StrictHostKeyChecking no
    IdentityFile ~/some/path/cloudkey
    ProxyCommand ssh host1 nc -q0 %h.cloud %p

  If I'm logged in through unity, ssh -vvv shows that it tries all of the
  ssh keys under ~/.ssh instead of trying ~/some/path/cloudkey.  I assume
  ssh would eventually get to trying cloudkey, but the remote end refuses
  the login before getting to that.  It should try cloudkey first.

  If I'm logged into a different window manager (say, dwm), with ssh-agent
  running, but where i have to manually run ssh-add, then it works fine.

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




More information about the foundations-bugs mailing list