>The problem i have is that when i set the PasswordAuthentication to 'yes' and
>the PubkeyAuthentication to 'yes', i want BOTH methods to be succesfull to
>grant the access for the user. I don't want the user gain access to the
system
>with only one of those 2 methods succesfully passed.
>
>I think this is working know like
>
> 'PasswordAuthentication OR PubkeyAuthentication'
>
>and what I want is
>
>'PasswordAuthentication AND PubkeyAuthentication' ( otherwise, deny access)
>
>Is there any way to do what I want to do?
Yes; man sshd and read the bit about 'RequiredAuthentications'. This is new
in sshd 2.0.13; there are other new features (+ some from ssh1) in this
release, so it's worth upgrading.
--
John Riddoch Email: [EMAIL PROTECTED] Telephone: (01224)262721
Room C6, School of Computer and Mathematical Science
Robert Gordon University, Aberdeen, AB25 1HG
I am Homer of Borg. Resistance is Fu... Ooooh! Donuts!