Re: Match directive question
- From: Darren Tucker <dtucker@xxxxxxxxxxxxxxxx>
- Date: Mon, 21 May 2007 07:44:22 +1000
On 2007-05-11, ~David~ <shadoweyez@xxxxxxxxx> wrote:
Hi all;
In openssh 4.6, with the new Match directive, I need an example.
I have two users, one that I want to only let in with a key (call her
rsakey), and one I only want to let in with a password (call him pass)
Would it be something like:
Match User rsakey
RSAAuthentication yes
PasswordAuthentication no
Match User pass
RSAAuthentication no
PasswordAuthentication yes
Would this work?
Yes.
Is there a site or page that explains this?
sshd_config(5). There's also an example in the sshd_config that ships
with 4.6.
--
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:
- Match directive question
- From: ~David~
- Match directive question
- Prev by Date: Re: ssh X tunneling through more than one server
- Next by Date: Re: restricted password access
- Previous by thread: Match directive question
- Next by thread: Win Putty no connection with beep. No error message. HowTo fix registry
- Index(es):
Relevant Pages
|
|