Re: HostbasedAuthentication on AIX: error ssh_keysign: no installed: No such file or directory



On Mar 5, 12:12 pm, Darren Tucker <dtuc...@xxxxxxxxxxxxxxxx> wrote:
On 2007-02-22, van <vand...@xxxxxxxxxxx> wrote:

I'd like to getHostbasedAuthenticationon anAIXmachine.
[...]
debug2: ssh_keysign called
ssh_keysign: no installed: No such file or directory
key_sign failed
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey,password,keyboard-interactive,hostbased).

Remark that I changed setuid ssh-keygen so that:
$ ls -l $(which ssh-keysign)
-rwsr-xr-x 1 root system 230366 May 14 2006 /usr/
bin/ssh-keygen

That's ssh-keygen, but it's missing key*sign*. You don't want ssh-keygen
to be setuid.

Indeed I meant ssh-keysign, so ssh-keysign needs to be setuid.
The problem was related to the packaging on our AIX system.
Following miraculous patch resolves the problem of not finding this
ssh-genkey:

ln -s /usr/sbin/ssh-keysign /libexec/ssh-keysign

Then everything works!

Thanks and cheers

.



Relevant Pages