Re: Using RSA key _and_ password
He is trying to get OpenSSH to enforce two factor authentication
from the server end.
1) Something you have (Private Key)
o Provided by the key challenge that has been described.
2) Something you know (Password)
o Asked for via the password authentication feature.
The issue is having the server require both authentication methods.
Not just one.
Now the private key could be encrypted with a passphrase to get the
two factor, but this is not enforcable at the server. There is nothing
that the server can do to enforce that the private key (which the server
never sees) is always encrypted with a non-null passphrase.
On 6/5/06, Sven =C9douard <email@example.com> wrote:[color=blue]
> Hi Alex,
> OpenSSH should be able to do this. From the man pages:
> "As a second authentication method, ssh supports RSA based
> The scheme is based on public-key cryptography: there are
> where encryption and decryption are done using separate keys, and
> it is
> not possible to derive the decryption key from the encryption key.
> is one such system. The idea is that each user creates a
> key pair for authentication purposes. The server knows the public
> and only the user knows the private key.
> The file $HOME/.ssh/authorized_keys lists the public keys that are
> mitted for logging in. When the user logs in, the ssh program
> tells the
> server which key pair it would like to use for authentication. The
> server checks if this key is permitted, and if so, sends the user
> ally the ssh program running on behalf of the user) a challenge, a
> number, encrypted by the user's public key. The challenge can only
> decrypted using the proper private key. The user's client then
> the challenge using the private key, proving that he/she knows the
> vate key but without disclosing it to the server."
> If you can't solve your problems, post the specific problem you are
> On Fri, 2 Jun 2006 16:14:56 -0400, "Alex Perematko" <firstname.lastname@example.org>
> > Hi,
> > I'd appreciate if somebody could suggest me how to configure OpenSSH to
> > require RSA key _and_ password to authenticate a user.
> > This feature exist in SSH.COM ssh, but I was unable to configure it in
> > OpenSSH.
> > If this can not be done at the moment, does anybody know what it takes
> > convince ($$ or otherwise) OpenSSH development team to add this feature=[/color][/color]
> > Alex
> Sven =C9douard
> [url]http://www.fastmail.fm[/url] - A fast, anti-spam email service.
And, did Guloka think the Ulus were too ugly to save?