|
|
|
|
||||||
| comp.security.ssh SSH secure remote login and tunneling tools. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
is it possible to select the allowed auth. methods per user and not global ? For example john=password,rsa-key / kate=rsa-key , aso. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 2007-08-30, sebastian.kranefeld@gelsen-net.de <sebastian.kranefeld@gelsen-net.de> wrote:
> is it possible to select the allowed auth. methods per user and not > global ? For example john=password,rsa-key / kate=rsa-key , aso. Depends on the software and version. If it's a recent OpenSSH (4.6 and up) then you can do this with the Match directive in sshd_config, eg PasswordAuthentication no PubkeyAuthentication yes Match User john PasswordAuthentication yes This sets a default of password=no, pubkey=yes but overrides the password setting for john. Other SSH implementations may also be able to do it but the details will vary. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. |
|
![]() |
| Outils de la discussion | |
|
|