[Bug 1389167] [NEW] HostbasedAuthentication produces spurious warnings

Owen Dunn 1389167 at bugs.launchpad.net
Tue Nov 4 10:31:51 UTC 2014


Public bug reported:

Ubuntu 14.04.1 LTS
openssh-client 1:6.6p1-2ubuntu2

We have HostbasedAuthentication set up in our environment so that users
can ssh between equivalent hosts without a password.

ssh_config contains (relevantly)

HostbasedAuthentication yes
PreferredAuthentications publickey,hostbased,password,keyboard-interactive
EnableSSHKeysign yes

sshd_config contains (relevantly)

HostbasedAuthentication yes

This works:

ocelot:~$ ssh othermc
othermc:~$

However, ssh-ing as an alternative user produces additional warning
messages before the expected password prompt:

ocelot:~$ ssh otheruser at othermc
no matching hostkey found
ssh_keysign: no reply
key_sign failed
otheruser at othermc's password:

If instead of relying on EnableSSHKeysign in ssh_config I make the ssh
binary setuid:

chmod u+s /usr/bin/ssh

...the extra warnings go away and I get what I expect:

ocelot:~$ ssh otheruser at othermc
otheruser at othermc's password:

This makes me suspect that there may be a problem with ssh-keysign.

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

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

Title:
  HostbasedAuthentication produces spurious warnings

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



More information about the Ubuntu-server-bugs mailing list