Re: Userbased ssh auth. methods
- From: Darren Tucker <dtucker@xxxxxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 00:03:38 +1000
On 2007-08-30, sebastian.kranefeld@xxxxxxxxxxxxx <sebastian.kranefeld@xxxxxxxxxxxxx> 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.
.
- References:
- Userbased ssh auth. methods
- From: sebastian . kranefeld
- Userbased ssh auth. methods
- Prev by Date: Re: OpenSSH for Windows question
- Next by Date: Re: Using putty to debug ssh through a firewall
- Previous by thread: Userbased ssh auth. methods
- Next by thread: OpenSSH for Windows question
- Index(es):
Relevant Pages
|
|