User-specific sshd_config?

Peter Stuge stuge-openssh-unix-dev at cdy.org
Sat Apr 5 03:32:56 EST 2008


On Fri, Apr 04, 2008 at 09:46:01AM -0600, Bob Proulx wrote:
> > > I wonder if it would be possible to implement support for a 
> > > user-specific sshd_config.
> >
> > Either way I believe it will be much quicker to ask your friendly
> > root to add the exception in a Match block in the system sshd_config.
> 
> When faced with a similar problem I ran an additional and separate
> sshd and supplemented the configuration with command line arguments.
> In this case IIRC -oPasswordAuthentication=no -Port=2222
> -oPidFile=/var/run/sshd-noppass.pid

Unfortunately the user will still be authenticated by password on
port 22.


//Peter


More information about the openssh-unix-dev mailing list