Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
August 23, 2009, 2:18 pm
rate this thread
starting with OpenSSH 4.4p1, the Match configuration directive is
introduced to enable you to specify configuration options based on
user, group, hostname, or address. This option overrides the global
option in the sshd_config file.
I usually use public key authentication, but it would be nice to have
a "backdoor", allowing password authentication from a specific LAN (or
a specific IP). To do so, I've added the following lines:
Match Address 192.168.127.0/24
Whenever I activate this PuTTY immediately fails to connect with
"FATAL ERROR: Server unexpectedly closed network connection".
This also happens, if I *do* try to connect by public key, where the
match isn't even neccessary.
It also happens when trying the altenatives like "match user" or
It looks to me as if simply un-commenting any line that starts with
the word "match" causes this behaviour.
Can somebody confirm this?
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum