{"id":371,"date":"2012-05-27T09:15:32","date_gmt":"2012-05-27T09:15:32","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=371"},"modified":"2022-12-08T06:14:41","modified_gmt":"2022-12-08T12:14:41","slug":"how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/","title":{"rendered":"How to improve your Debian VPS security by using DenyHosts and Logwatch"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft size-full wp-image-4584\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/05\/Debian-OpenLogo.svg_.png\" alt=\"Debian\" width=\"109\" height=\"144\" \/><strong>What is DenyHosts?<\/strong><\/p>\n<p>It is a python script intended to be run by GNU\/Linux system administrators and users to help thwart SSH server attacks which are also known as dictionary based attacks and brute force attacks. It has the ability to run as a daemon and it can automatically block attackers and prevent them from gaining access to your server.<\/p>\n<p><!--more--><\/p>\n<p><strong>What is LogWatch?<\/strong><\/p>\n<p>Logwatch is a customizable log analysis system. Logwatch parses through your system&#8217;s logs and creates a report analyzing areas that you specify and can report them by email.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>&#8211; Installing and configuring DenyHosts<\/strong><\/span><\/p>\n<p><strong>1. Make sure your system is always up-to-date:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">apt-get update &amp;&amp; apt-get -y upgrade<\/pre>\n<p><strong>2. Install DenyHosts by executing the following command:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">apt-get -y install denyhosts<\/pre>\n<p>once it is installed, denyhosts has to be configured. Anyhow, you can use the configuration below which is tested and works perfectly fine.<\/p>\n<p><strong>3. Backup the original configuration file and create a new one using the following command:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">cp \/etc\/denyhosts.conf{,_ORIG} &amp;&amp; cat &gt; \/etc\/denyhosts.conf &lt;&lt;EOF\r\n#xxxxxx optional options xxxxxx#\r\nADMIN_EMAIL = your@email.com\r\nSMTP_HOST = localhost\r\nSMTP_PORT = 25\r\nSMTP_FROM = DenyHosts &lt;nobody@localhost&gt;\r\nSMTP_SUBJECT = DenyHosts Report\r\nAGE_RESET_VALID=5d\r\nAGE_RESET_ROOT=25d\r\nAGE_RESET_RESTRICTED=25d\r\nAGE_RESET_INVALID=10d\r\n#xxxxxx end optional options xxxxxx#\r\n\r\n#xxxxxx required options xxxxxx#\r\nSECURE_LOG = \/var\/log\/auth.log\r\nHOSTS_DENY = \/etc\/hosts.deny\r\nPURGE_DENY =\r\nBLOCK_SERVICE = ALL\r\nDENY_THRESHOLD_INVALID = 5\r\nDENY_THRESHOLD_VALID = 10\r\nDENY_THRESHOLD_ROOT = 1\r\nDENY_THRESHOLD_RESTRICTED = 1\r\nWORK_DIR = \/var\/lib\/denyhosts\r\nSUSPICIOUS_LOGIN_REPORT_ALLOWED_HOSTS=YES\r\nHOSTNAME_LOOKUP=YES\r\nLOCK_FILE = \/var\/run\/denyhosts.pid\r\n#xxxxxx end required options xxxxxx#\r\n\r\n#xxxxxx daemon specific options xxxxxx#\r\nDAEMON_LOG = \/var\/log\/denyhosts\r\nDAEMON_SLEEP = 30s\r\nDAEMON_PURGE = 1h\r\n#xxxxxx daemon specific options xxxxxx#\r\nEOF<\/pre>\n<p><em>You need to have a working smtp service on your server for denyhosts to be able to send you reports via email and since all our <a title=\"Virtual Private Servers\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">VPS Hosting Plans<\/a> come with an already installed and fully working mail server if you&#8217;re our customer you do not need to worry about this.<\/em><\/p>\n<p><strong>4. With all that in place, you&#8217;re ready to start denyhosts so do it by executing:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">service denyhosts restart<\/pre>\n<hr \/>\n<p><strong>&#8211; Installing and running LogWatch<\/strong><\/p>\n<p><strong>1. Install LogWatch using the following command:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">apt-get -y install logwatch<\/pre>\n<p>once the installation of LogWatch is completed, proceed with<\/p>\n<p><strong>2. Setting LogWatch cron script so it can run on a daily basis. Do not forget to change &#8216;your@email.com&#8217; with your actual email address.<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">cat &gt; \/etc\/cron.daily\/00logwatch &lt;&lt;EOF\r\n#!\/bin\/bash\r\ntest -x \/usr\/share\/logwatch\/scripts\/logwatch.pl || exit 0\r\n\/usr\/sbin\/logwatch --mailto your@email.com\r\nEOF<\/pre>\n<p><strong>3. Restart your cron service<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">service cron restart<\/pre>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n<div class=\"zemanta-pixie\" style=\"margin-top: 10px; height: 15px;\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>What is DenyHosts? It is a python script intended to be run by GNU\/Linux system administrators and users to help &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to improve your Debian VPS security by using DenyHosts and Logwatch\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/#more-371\" aria-label=\"Read more about How to improve your Debian VPS security by using DenyHosts and Logwatch\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":1140,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,1703,13],"tags":[69,48,63,67,66,64,1152,65,70,68,28,18],"class_list":["post-371","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-security","category-tutorials","tag-bruteforce","tag-debian","tag-denyhosts","tag-hosts-allow","tag-hosts-deny","tag-logwatch","tag-rosehosting","tag-security","tag-server","tag-ssh","tag-virtual-private-server","tag-vps","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to improve your Debian VPS security by using DenyHosts and Logwatch | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to improve your Debian VPS security by using DenyHosts and Logwatch | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to improve your Debian VPS security by using DenyHosts and Logwatch\" \/>\n<meta property=\"og:description\" content=\"How to improve your Debian VPS security by using DenyHosts and Logwatch | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2012-05-27T09:15:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-08T12:14:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/05\/openlogo-100.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"100\" \/>\n\t<meta property=\"og:image:height\" content=\"123\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to improve your Debian VPS security by using DenyHosts and Logwatch\",\"datePublished\":\"2012-05-27T09:15:32+00:00\",\"dateModified\":\"2022-12-08T12:14:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/\"},\"wordCount\":307,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/05\\\/openlogo-100.jpg\",\"keywords\":[\"bruteforce\",\"debian\",\"denyhosts\",\"hosts.allow\",\"hosts.deny\",\"logwatch\",\"rosehosting\",\"security\",\"server\",\"ssh\",\"Virtual Private Server\",\"vps\"],\"articleSection\":[\"Debian\",\"Security\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/\",\"name\":\"How to improve your Debian VPS security by using DenyHosts and Logwatch | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/05\\\/openlogo-100.jpg\",\"datePublished\":\"2012-05-27T09:15:32+00:00\",\"dateModified\":\"2022-12-08T12:14:41+00:00\",\"description\":\"How to improve your Debian VPS security by using DenyHosts and Logwatch | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/05\\\/openlogo-100.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/05\\\/openlogo-100.jpg\",\"width\":\"100\",\"height\":\"123\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to improve your Debian VPS security by using DenyHosts and Logwatch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to improve your Debian VPS security by using DenyHosts and Logwatch | RoseHosting","description":"How to improve your Debian VPS security by using DenyHosts and Logwatch | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/","og_locale":"en_US","og_type":"article","og_title":"How to improve your Debian VPS security by using DenyHosts and Logwatch","og_description":"How to improve your Debian VPS security by using DenyHosts and Logwatch | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2012-05-27T09:15:32+00:00","article_modified_time":"2022-12-08T12:14:41+00:00","og_image":[{"width":100,"height":123,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/05\/openlogo-100.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to improve your Debian VPS security by using DenyHosts and Logwatch","datePublished":"2012-05-27T09:15:32+00:00","dateModified":"2022-12-08T12:14:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/"},"wordCount":307,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/05\/openlogo-100.jpg","keywords":["bruteforce","debian","denyhosts","hosts.allow","hosts.deny","logwatch","rosehosting","security","server","ssh","Virtual Private Server","vps"],"articleSection":["Debian","Security","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/","name":"How to improve your Debian VPS security by using DenyHosts and Logwatch | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/05\/openlogo-100.jpg","datePublished":"2012-05-27T09:15:32+00:00","dateModified":"2022-12-08T12:14:41+00:00","description":"How to improve your Debian VPS security by using DenyHosts and Logwatch | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/05\/openlogo-100.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/05\/openlogo-100.jpg","width":"100","height":"123"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-improve-your-debian-vps-security-by-using-denyhosts-and-logwatch\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to improve your Debian VPS security by using DenyHosts and Logwatch"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=371"}],"version-history":[{"count":2,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/371\/revisions"}],"predecessor-version":[{"id":43819,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/371\/revisions\/43819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/1140"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}