{"id":851,"date":"2016-07-25T14:10:48","date_gmt":"2016-07-25T12:10:48","guid":{"rendered":"http:\/\/ndk.sytes.net\/wordpress\/?p=851"},"modified":"2016-07-25T14:10:48","modified_gmt":"2016-07-25T12:10:48","slug":"restrict-root-login-only-for-specific-network-range-on-freebsd","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=851","title":{"rendered":"Allow root login only for specific network range on FreeBSD"},"content":{"rendered":"<p>\n\tOn FreeBSD the SSHd root login is disabled by default. Now to allow root login only for a specific network range or network host add the following to \/etc\/ssh\/sshd_config:\n<\/p>\n<pre>\nMatch Address 192.168.0.*, 172.16.0.1, 172.16.0.2, 172.16.*.*\n        PermitRootLogin yes<\/pre>\n<p>\n\tthe addresses are separated by commas and i guess the asterisk is self-explaining if you are into computing \ud83d\ude1b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On FreeBSD the SSHd root login is disabled by default. Now to allow root login only for a specific network range or network host add the following to \/etc\/ssh\/sshd_config: Match Address 192.168.0.*, 172.16.0.1, 172.16.0.2, 172.16.*.* PermitRootLogin yes the addresses are separated by commas and i guess the asterisk is self-explaining if you are into computing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7],"tags":[],"class_list":["post-851","post","type-post","status-publish","format-standard","hentry","category-linuxunix","category-servers"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=851"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/851\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}