AllowedAuthentications?

From: dkoleary@attbi.com
Date: 11/19/02


From: dkoleary@attbi.com
Date: Tue, 19 Nov 2002 18:37:01 GMT

Hey;

I'm using F-Secuure on a number of HP servers. I would like to limit
the authentications for direct root ssh to publickey but allow the
standard authentication methods for anyone else.

After reading the ssh2_config man page, I would have thought that I could
simply put "AllowedAuthentications publickey" in ~root/.ssh2/ssh2_config.
That doesn't seem to be working, though. Instead of an authentication
denied message, I'm getting a root password prompt. Supplying the right
password lets me in.

Is there a way to limit direct root ssh activity to publickey authenication
only?

Any hints/tips/suggestions greatly appreciated.

Doug

--------
Senior UNIX Admin
Independent consultant
dkoleary@attbi.com
resume: http://home.attbi.com/~dkoleary/resume.html



Relevant Pages

  • Public Key authentication not responding to public key?
    ... I'm having difficulties setting up public key authentication ... debug3: preferred publickey,keyboard-interactive,password ... debug3: authmethod_is_enabled publickey ... debug1: Next authentication method: publickey ...
    (comp.security.ssh)
  • public key authentication problem
    ... I'm trying to use public key authentication for ssh, ... debug3: preferred publickey,keyboard-interactive,password ... debug3: authmethod_is_enabled publickey ... debug1: Next authentication method: publickey ...
    (SSH)
  • Publickey authentication on FreeBSD
    ... I just can't get any public key authentication working, ... debug1: got SSH2_MSG_SERVICE_ACCEPT ... debug3: preferred publickey,password,keyboard-interactive ... debug3: authmethod_is_enabled publickey ...
    (comp.security.ssh)
  • Public key Authentication broken under HP-UX?
    ... authentication with ssh since version 3.7p1 under HP-UX ... debug3: preferred publickey,keyboard-interactive,password ... debug3: authmethod_is_enabled publickey ... debug1: Next authentication method: keyboard-interactive ...
    (SSH)
  • Re: Multinet v5 ssh login failure
    ... then what's going on is that there are likely authentication ... If the publickey mechanism hasn't been correctly configured, ... then you'll see a login failure because of that. ... >Is there a way to pin down what exactly ssh v2 is trying to do with ...
    (comp.os.vms)