Re: User-specific sshd_config?

This is a discussion on Re: User-specific sshd_config? within the OpenSSH Development forums, part of the Networking and Network Related category; Peter Stuge wrote: > Bob Proulx wrote: > > When faced with a similar problem I ran an additional and ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-04-2008
Bob Proulx
 
Posts: n/a
Default Re: User-specific sshd_config?

Peter Stuge wrote:
> Bob Proulx wrote:
> > 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.


You missed reading (and subsequently trimmed out) the fact that there
were firewall rules involved. Just because I am a pedant here is what
I said:

> -oPidFile=/var/run/sshd-noppass.pid and installed a control script
> /etc/init.d/sshd.nopass and then adjusted firewall rules accordingly.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

:-)

I don't know for what purpose the original poster is wanting to use
specialized configuration to turn off passwords but in my case I was
able to use firewall rules to ensure that only that specially
configured port was accessed from an untrusted network. I was able to
block the normal port and therefore able to block password access. I
kept password access available from the internal private (and much
more trusted) network.

Bob
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0