Re: Forcing both password and PublicKey Authentication
- From: Adam <nobody@xxxxxxxxxxxxxxx>
- Date: Thu, 06 Mar 2008 23:17:50 +0000
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.
.
- References:
- Forcing both password and PublicKey Authentication
- From: abeyth
- Forcing both password and PublicKey Authentication
- Prev by Date: Re: Where is ssh-rsa public key?
- Next by Date: scripts without passwords
- Previous by thread: Forcing both password and PublicKey Authentication
- Next by thread: scripts without passwords
- Index(es):
Relevant Pages
|
|