{"id":67,"date":"2010-08-27T09:43:05","date_gmt":"2010-08-27T04:13:05","guid":{"rendered":"http:\/\/atuljha.com\/blog\/?p=67"},"modified":"2010-08-27T09:44:15","modified_gmt":"2010-08-27T04:14:15","slug":"curious-case-of-denyhost-and-ssh","status":"publish","type":"post","link":"https:\/\/atuljha.com\/blog\/2010\/08\/27\/curious-case-of-denyhost-and-ssh\/","title":{"rendered":"Curious case of denyhost and ssh."},"content":{"rendered":"<p>I been using denyhost on my own server and many other boxes i been taking care of.<\/p>\n<p>I was getting error whenever i tried connecting to my server<br \/>\n&#8220;ssh_exchange_identification: Connection closed by remote host&#8221;<\/p>\n<p>After checking logfile i figured that its happening because of the denyhost. The documentation at the denyhost website explains<a href=\"http:\/\/denyhosts.sourceforge.net\/faq.html\"> how to remove the blacklisted Ip  <\/a><\/p>\n<p>Now i had to find real issue why is my legitimate IP getting blacklisted again and again?<\/p>\n<p>My logfile gave me a Warning <\/p>\n<p>Aug 25 16:39:34 vm27 sshd[13147]: reverse mapping checking getaddrinfo for server62.xyz.net.in [200.99.04.24] failed &#8211; POSSIBLE BREAK-IN ATTEMPT!<\/p>\n<p>To get this error removed what i did was, I had to add UseDns no to \/etc\/ssh\/ssd_config file.<\/p>\n<p>This removed warning messages and also i was not getting anymore issue of getting IP blocked from denyhost.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I been using denyhost on my own server and many other boxes i been taking care of. I was getting error whenever i tried connecting to my server &#8220;ssh_exchange_identification: Connection closed by remote host&#8221; After checking logfile i figured that its happening because of the denyhost. The documentation at the denyhost website explains how to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/atuljha.com\/blog\/2010\/08\/27\/curious-case-of-denyhost-and-ssh\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Curious case of denyhost and ssh.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/atuljha.com\/blog\/wp-json\/wp\/v2\/posts\/67"}],"collection":[{"href":"https:\/\/atuljha.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atuljha.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atuljha.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atuljha.com\/blog\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":2,"href":"https:\/\/atuljha.com\/blog\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/atuljha.com\/blog\/wp-json\/wp\/v2\/posts\/67\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/atuljha.com\/blog\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atuljha.com\/blog\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atuljha.com\/blog\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}