Re: Forcing both password and PublicKey Authentication



abeyth@xxxxxxxxx wrote:
Is there a way to force openssh server to accept both key_method and
password for authentication ?

If i enable both, it checks only for one and if it succeeds it does
not go for the second one .

Have you tried setting "UseLogin yes" in sshd_config? I think after ssh
authenticates it hands off to login for an interactive login session. I
haven't tried "UseLogin yes" myself. It disables X11Forwarding. Also, users
can specify a shell to use. Can you specify a login shell if you trust the
useres not to change it?

Why do you need to authenticate with both a public key and a password?

I hope this helps,
- Adam W.
.



Relevant Pages

  • [Full-Disclosure] Advisory: Dark Age of Camelot - Weak encryption of network traffic exposed persona
    ... Weak encryption in game client exposed customer billing and authentication ... encryption for billing information. ... The login binary has undergone several updates since then. ...
    (Full-Disclosure)
  • Re: [PHP] Is this the best way?
    ... Why is Jason schreefing again? ... maybe I should edit my authentication function... ... attempting to login. ... really be either attempting an authentication *or* outputting some ...
    (php.general)
  • Authentication Sharing Across Apps
    ... For my part "B" question that I had (Login App was not returning ... authentication to calling app), I found the solution. ... Basically, in both the Login App and Calling App Web.Config, I did ... authenticated connection with SQL server. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: [PHP] Is this the best way?
    ... Jason Pruim schreef: ... I am attempting to add a little error checking for a very simple login system. ... So maybe I should edit my authentication function... ... really be either attempting an authentication *or* outputting some message ...
    (php.general)
  • Unable to get IP Address from DHCP server - 802.1x authentication
    ... user based VLAN authentication with Windows client as ... Authentication method: MD5-Challenge ... Login locally with the cached profile of user1 ... After entering the Radius server username & password the ...
    (microsoft.public.win2000.security)