{"id":631,"date":"2012-01-17T06:03:26","date_gmt":"2012-01-17T06:03:26","guid":{"rendered":"http:\/\/poojanwagh.opalstacked.com\/techblog\/?p=631"},"modified":"2012-01-17T06:03:46","modified_gmt":"2012-01-17T06:03:46","slug":"allow-lan-password-login-to-sshd","status":"publish","type":"post","link":"https:\/\/tech.poojanblog.com\/blog\/unix-linux\/allow-lan-password-login-to-sshd\/","title":{"rendered":"Allow LAN-only password login to sshd"},"content":{"rendered":"<p>See <a title=\"Locking down a publicly-exposed ssh server\" href=\"http:\/\/poojanwagh.opalstacked.com\/techblog\/unix-linux\/locking-down-a-publicly-exposed-ssh-server\/\">here<\/a> and then add this to <code>\/etc\/sshsshd_config<\/code>:<br \/>\n<code><br \/>\nMatch Address 192.168.1.0\/24<br \/>\nPasswordAuthentication yes<br \/>\n<\/code><\/p>\n<p>This allows clients on the local network to login using password authentication while limiting the Internet in general to key-based authentication.<\/p>\n<div class='wp_likes' id='wp_likes_post-631'><a class='like' href=\"javascript:wp_likes.like(631);\" title='' ><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/tech.poojanblog.com\/blog\/wp-content\/plugins\/wp-likes\/images\/like.png\" alt='' border='0'\/><\/a><span class='text'>Be the first to like.<\/span><\/p>\n<div class='like' ><a href=\"javascript:wp_likes.like(631);\">Like<\/a><\/div>\n<div class='unlike' ><a href=\"javascript:wp_likes.unlike(631);\">Unlike<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>See here and then add this to : This allows clients on the local network to login using password authentication while limiting the Internet in general to key-based authentication. Be the first to like. Like Unlike<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[23],"class_list":["post-631","post","type-post","status-publish","format-standard","hentry","category-unix-linux","tag-sshd"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/comments?post=631"}],"version-history":[{"count":3,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/631\/revisions"}],"predecessor-version":[{"id":640,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/631\/revisions\/640"}],"wp:attachment":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/media?parent=631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/categories?post=631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/tags?post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}