Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    Excellent +1 wish I could add more Commented Jul 16, 2020 at 18:10
  • oooh i like this. I had some problems previously using Match for other things in sshd_config and thought there was problems using multiple Match for different things in sshd_config Commented Jul 17, 2020 at 13:59
  • you will need to restart sshd of course to take changes affect are you sure? OpenSSH's sshd version 7.9, as released by Debian 10 buster, have a reload command, to allow reloading configurations without restarting, it wouldn't surprise me if sshd as released by RHEL/CentOS have a similar feature (i thought they too used OpenSSH, but i don't really know) Commented Jul 17, 2020 at 15:47
  • @hanshenrik yes, I'm aware of that reload command, that also should work. but didn't test that. Commented Jul 17, 2020 at 15:58
  • @hanshenrik yeah, reloading also working, just tested. Commented Jul 18, 2020 at 4:35