<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7190497672060339317</id><updated>2025-02-01T16:10:46.713-08:00</updated><category term="Programming"/><category term="Windows Registry Problems"/><title type='text'>Rahul Krishnan R</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>76</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-7395299103576263899</id><published>2024-06-05T17:29:00.000-07:00</published><updated>2024-06-05T17:29:13.584-07:00</updated><title type='text'>How can I turn off Microsoft elemetry?</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Step 1. Disable schedule for Windows Compatibility Telemetry.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;WCT is a service which contains technical data on how the device and its related software are working. To disable it:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Stop and disable the “&lt;b&gt;&lt;i&gt;Connected User Experiences and Telemetry&lt;/i&gt;&lt;/b&gt;” Windows service&amp;nbsp;&lt;/li&gt;&lt;li&gt;Click Start, type Task Scheduler, and then press Enter.&lt;/li&gt;&lt;li&gt;On the Task Scheduler window, go to this path: &lt;i&gt;&lt;b&gt;Task Scheduler Library\Microsoft\Windows\Application Experience&lt;/b&gt;&lt;/i&gt;.&lt;/li&gt;&lt;li&gt;On the Application Experience folder, look for &lt;b&gt;&lt;i&gt;Microsoft Compatibility Appraiser.&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Right-click on it, select &lt;b&gt;&lt;i&gt;Disable&lt;/i&gt;&lt;/b&gt;, and then confirm to complete the process.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj6He5o4Op0IqP5qdquRREyXeKrs4bYYIjbQdgCibvUNL7zs57ihSe1LKmTW4K3V6wuJpyoNAbS4GUGq1SaXYsGzXh3Df2lDxRbQDDVy1b33sylcJO7SOVTVKALpmzWa2HLx97uDewTXefrRF09Q0FRoz41P3y7coeJ7JRUSERGnImE35q5c4seDR31MjPd&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;507&quot; data-original-width=&quot;828&quot; height=&quot;392&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj6He5o4Op0IqP5qdquRREyXeKrs4bYYIjbQdgCibvUNL7zs57ihSe1LKmTW4K3V6wuJpyoNAbS4GUGq1SaXYsGzXh3Df2lDxRbQDDVy1b33sylcJO7SOVTVKALpmzWa2HLx97uDewTXefrRF09Q0FRoz41P3y7coeJ7JRUSERGnImE35q5c4seDR31MjPd=w640-h392&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;Step.2. Disable Microsoft&#39;s Diagnostic Tracking.&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;Next, please run the following command in an&lt;b&gt;&lt;i&gt; elevated cmd&lt;/i&gt;&lt;/b&gt; (*).&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;This will remove tracking services:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;sc delete DiagTrack&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;sc delete dmwappushservice&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Add a registry key titled &quot;AllowTelemetry&quot; and sets the key to 0, to disable the telemetry:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection /v AllowTelemetry /t REG_DWORD /d 0 /f&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;(*) Note, to run elevated cmd:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Press Windows key and type cmd. This should find the Command line program. Note that searching by &quot;cmd&quot; works in any language version of Windows.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;There should be an option to Run as administrator. Use it.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/7395299103576263899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2024/06/how-can-i-turn-off-microsoft-elemetry.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/7395299103576263899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/7395299103576263899'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2024/06/how-can-i-turn-off-microsoft-elemetry.html' title='How can I turn off Microsoft elemetry?'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEj6He5o4Op0IqP5qdquRREyXeKrs4bYYIjbQdgCibvUNL7zs57ihSe1LKmTW4K3V6wuJpyoNAbS4GUGq1SaXYsGzXh3Df2lDxRbQDDVy1b33sylcJO7SOVTVKALpmzWa2HLx97uDewTXefrRF09Q0FRoz41P3y7coeJ7JRUSERGnImE35q5c4seDR31MjPd=s72-w640-h392-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-8168954922993724190</id><published>2022-08-31T21:04:00.003-07:00</published><updated>2022-08-31T21:06:58.457-07:00</updated><title type='text'>Webmin: A web-based Linux management tool</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h2 style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatDisplay, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Installing Webmin in Redhat 7&lt;/h2&gt;&lt;br /&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;If you&#39;re a purist, you can download the tarball from webmin.com, but doing so doesn&#39;t give you that much extra control over options. You can choose where to place a few files, but save yourself the effort on RHEL, CentOS, and Fedora by installing the RPM:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;code class=&quot;shell session&quot; style=&quot;box-sizing: border-box; color: #e83e8c; font-family: &amp;quot;Overpass Mono&amp;quot;, Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.75px; word-break: break-word;&quot;&gt;$ wget&amp;nbsp;https://www.webmin.com/download/rpm/webmin-current.rpm&lt;/code&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;code class=&quot;shell session&quot; style=&quot;box-sizing: border-box; color: #e83e8c; font-family: &amp;quot;Overpass Mono&amp;quot;, Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.75px; word-break: break-word;&quot;&gt;$ sudo rpm -Uvh&amp;nbsp;webmin-1.XXX-x.noarch.rpm&lt;/code&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;If your system doesn&#39;t have Perl, then you&#39;ll have to satisfy that dependency before installing Webmin. You might also have to install the&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; color: #e83e8c; font-family: &amp;quot;Overpass Mono&amp;quot;, Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.75px; word-break: break-word;&quot;&gt;Encode::Detect&amp;nbsp;&lt;/code&gt;and&lt;code style=&quot;box-sizing: border-box; color: #e83e8c; font-family: &amp;quot;Overpass Mono&amp;quot;, Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.75px; word-break: break-word;&quot;&gt;&amp;nbsp;Net::SSLeay&amp;nbsp;&lt;/code&gt;Perl modules before installing Webmin:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;code class=&quot;shell session&quot; style=&quot;box-sizing: border-box; color: #e83e8c; font-family: &amp;quot;Overpass Mono&amp;quot;, Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.75px; word-break: break-word;&quot;&gt;$ sudo yum install perl-Encode-Detect -y&lt;/code&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;code class=&quot;shell session&quot; style=&quot;box-sizing: border-box; color: #e83e8c; font-family: &amp;quot;Overpass Mono&amp;quot;, Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.75px; word-break: break-word;&quot;&gt;$ sudo yum install perl-Net-SSLeay -y&lt;/code&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Once installed, the installation script directs you to your new Webmin instance at&amp;nbsp;&lt;code style=&quot;box-sizing: border-box; color: #e83e8c; font-family: &amp;quot;Overpass Mono&amp;quot;, Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.75px; word-break: break-word;&quot;&gt;http://&amp;lt;servername&amp;gt;:10000&lt;/code&gt;. Log in with your system&#39;s root password.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;You can change the port, username, and password on the Webmin Configuration option&amp;nbsp;(discussed later).&amp;nbsp;Please do make these changes to the username and password.&lt;/p&gt;&lt;h2 style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatDisplay, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 2rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;Navigating Webmin&lt;/h2&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Webmin, by default, starts you out with the so-called &quot;Authentic&quot; theme, with the navigation frame on the left side of the page: &amp;nbsp;&lt;/p&gt;&lt;div class=&quot;align-center embedded-entity embedded-entity--image embedded-entity--image--embed-large&quot; data-embed-button=&quot;media_entity_embed&quot; data-entity-embed-display=&quot;view_mode:media.embed_large&quot; data-entity-type=&quot;media&quot; data-entity-uuid=&quot;38ee64cc-fa72-4e2d-b7c0-653fd064b23e&quot; data-langcode=&quot;en&quot; style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin: 3rem auto; max-width: calc(94.6vw);&quot;&gt;&lt;div style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;blazy blazy--field blazy--field-media-image blazy--field-media-image--embed-large image__field-media-image&quot; data-blazy=&quot;&quot; data-once=&quot;blazy&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;field__label font-weight-bold visually-hidden&quot; style=&quot;box-sizing: border-box; clip: rect(1px, 1px, 1px, 1px); font-weight: 700; height: 1px; overflow-wrap: normal; overflow: hidden; position: absolute; width: 1px;&quot;&gt;Image&lt;/div&gt;&lt;div class=&quot;field__item&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;media media--blazy media--image is-b-loaded&quot; style=&quot;align-items: flex-start; box-sizing: border-box; position: relative;&quot;&gt;&lt;img alt=&quot;Webmin main page showing the Dashboard and Navigation pane.&quot; class=&quot;media__image media__element b-lazy img-fluid b-loaded&quot; decoding=&quot;async&quot; height=&quot;505&quot; loading=&quot;lazy&quot; src=&quot;https://www.redhat.com/sysadmin/sites/default/files/styles/embed_large/public/2019-07/webmin%20main%20page.png?itok=u7mz-reG&quot; style=&quot;border-style: none; box-sizing: border-box; display: block; height: auto; margin: 0px; max-width: 100%; min-height: 1px; opacity: 1; vertical-align: middle; width: 627.25px;&quot; typeof=&quot;foaf:Image&quot; width=&quot;1232&quot; /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;I much prefer the &quot;Old Webmin Theme,&quot; but switching to it breaks the current version, which is 1.920 as of this writing.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Webmin not only provides system administrators with an abundant list of management tools, but it also comes with its own internal configuration and management options:&lt;/p&gt;&lt;div class=&quot;align-center embedded-entity embedded-entity--image embedded-entity--image--embed-small&quot; data-embed-button=&quot;media_entity_embed&quot; data-entity-embed-display=&quot;view_mode:media.embed_small&quot; data-entity-type=&quot;media&quot; data-entity-uuid=&quot;170df7c4-ce3f-44ed-b768-a3f8df1adc70&quot; data-langcode=&quot;en&quot; style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin: 3rem auto; max-width: 430px;&quot;&gt;&lt;div style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;blazy blazy--field blazy--field-media-image blazy--field-media-image--embed-small image__field-media-image&quot; data-blazy=&quot;&quot; data-once=&quot;blazy&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;field__label font-weight-bold visually-hidden&quot; style=&quot;box-sizing: border-box; clip: rect(1px, 1px, 1px, 1px); font-weight: 700; height: 1px; overflow-wrap: normal; overflow: hidden; position: absolute; width: 1px;&quot;&gt;Image&lt;/div&gt;&lt;div class=&quot;field__item&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;media media--blazy media--image is-b-loaded&quot; style=&quot;align-items: flex-start; box-sizing: border-box; position: relative;&quot;&gt;&lt;img alt=&quot;Webmin&#39;s internal configuration menu.&quot; class=&quot;media__image media__element b-lazy img-fluid b-loaded&quot; decoding=&quot;async&quot; height=&quot;653&quot; loading=&quot;lazy&quot; src=&quot;https://www.redhat.com/sysadmin/sites/default/files/styles/embed_small/public/2019-07/Figure2.png?itok=ERxeaIaF&quot; style=&quot;border-style: none; box-sizing: border-box; display: block; height: auto; margin: 0px; max-width: 100%; min-height: 1px; opacity: 1; vertical-align: middle; width: 430px;&quot; typeof=&quot;foaf:Image&quot; width=&quot;860&quot; /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Selecting one of these links opens a number of editable options. For example, below I selected the&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Webmin Configuration&amp;nbsp;&lt;/span&gt;option&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;.&lt;/span&gt;&amp;nbsp;As you can see, there are several Webmin behavioral and configuration options available:&lt;/p&gt;&lt;div alt=&quot;Webmin configuration options.&quot; class=&quot;align-center embedded-entity embedded-entity--image embedded-entity--image--embed-large&quot; data-embed-button=&quot;media_entity_embed&quot; data-entity-embed-display=&quot;view_mode:media.embed_large&quot; data-entity-type=&quot;media&quot; data-entity-uuid=&quot;1eef6d75-ea0a-43a9-b54d-35823f609d94&quot; data-langcode=&quot;en&quot; style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin: 3rem auto; max-width: calc(94.6vw);&quot;&gt;&lt;div style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;blazy blazy--field blazy--field-media-image blazy--field-media-image--embed-large image__field-media-image&quot; data-blazy=&quot;&quot; data-once=&quot;blazy&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;field__label font-weight-bold visually-hidden&quot; style=&quot;box-sizing: border-box; clip: rect(1px, 1px, 1px, 1px); font-weight: 700; height: 1px; overflow-wrap: normal; overflow: hidden; position: absolute; width: 1px;&quot;&gt;Image&lt;/div&gt;&lt;div class=&quot;field__item&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;media media--blazy media--image is-b-loaded&quot; style=&quot;align-items: flex-start; box-sizing: border-box; position: relative;&quot;&gt;&lt;img alt=&quot;Webmin configuration options.&quot; class=&quot;media__image media__element b-lazy img-fluid b-loaded&quot; decoding=&quot;async&quot; height=&quot;623&quot; loading=&quot;lazy&quot; src=&quot;https://www.redhat.com/sysadmin/sites/default/files/styles/embed_large/public/2019-07/Figure3.png?itok=4_4tn4jP&quot; style=&quot;border-style: none; box-sizing: border-box; display: block; height: auto; margin: 0px; max-width: 100%; min-height: 1px; opacity: 1; vertical-align: middle; width: 627.25px;&quot; typeof=&quot;foaf:Image&quot; width=&quot;1232&quot; /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Rather than showing screenshots of every selection from Webmin, I&#39;ll let you discover them on your own, but there is one worth taking a closer look at for this overview:&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Others&lt;/span&gt;. Believe it or not, this group of&amp;nbsp;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;applets&lt;/em&gt;&amp;nbsp;is one that I spend a lot of time in. Below, I&#39;ve selected&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;File Manager&lt;/span&gt;&amp;nbsp;from the list to illustrate the depth and richness of these utilities. The volunteer developers have done an excellent job in creating tools that are useful to busy system administrators:&lt;/p&gt;&lt;div alt=&quot;The Webmin Others page&#39;s Graphical File Manager tool.&quot; class=&quot;align-center embedded-entity embedded-entity--image embedded-entity--image--embed-large&quot; data-embed-button=&quot;media_entity_embed&quot; data-entity-embed-display=&quot;view_mode:media.embed_large&quot; data-entity-type=&quot;media&quot; data-entity-uuid=&quot;f1b88807-16b3-47a4-b9d2-7225f572ba94&quot; data-langcode=&quot;en&quot; style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin: 3rem auto; max-width: calc(94.6vw);&quot;&gt;&lt;div style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;blazy blazy--field blazy--field-media-image blazy--field-media-image--embed-large image__field-media-image&quot; data-blazy=&quot;&quot; data-once=&quot;blazy&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;field__label font-weight-bold visually-hidden&quot; style=&quot;box-sizing: border-box; clip: rect(1px, 1px, 1px, 1px); font-weight: 700; height: 1px; overflow-wrap: normal; overflow: hidden; position: absolute; width: 1px;&quot;&gt;Image&lt;/div&gt;&lt;div class=&quot;field__item&quot; style=&quot;box-sizing: border-box;&quot;&gt;&lt;div class=&quot;media media--blazy media--image is-b-loaded&quot; style=&quot;align-items: flex-start; box-sizing: border-box; position: relative;&quot;&gt;&lt;img alt=&quot;The Webmin Others page&#39;s Graphical File Manager tool.&quot; class=&quot;media__image media__element b-lazy img-fluid b-loaded&quot; decoding=&quot;async&quot; height=&quot;605&quot; loading=&quot;lazy&quot; src=&quot;https://www.redhat.com/sysadmin/sites/default/files/styles/embed_large/public/2019-07/Figure4.png?itok=w7cVT_5s&quot; style=&quot;border-style: none; box-sizing: border-box; display: block; height: auto; margin: 0px; max-width: 100%; min-height: 1px; opacity: 1; vertical-align: middle; width: 627.25px;&quot; typeof=&quot;foaf:Image&quot; width=&quot;1232&quot; /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Other notable applets on the&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Others&lt;/span&gt;&amp;nbsp;page are&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Command Shell&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Perl Modules&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;System and Server Status&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Text Login&lt;/span&gt;, and&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Upload and Download&lt;/span&gt;. The&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Command Shell&lt;/span&gt;&amp;nbsp;option appears as a root login prompt in the upper left of your screen when selected, containing an interactive shell and not a single command at a time service.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;With&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Perl Modules&lt;/span&gt;, you can install Perl modules from CPAN from multiple sources: CPAN itself, local files, URLs, and uploaded files. You can also see a list of your currently installed modules, and optionally install a list of suggested modules with a single click.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;The&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;System and Server&lt;/span&gt;&amp;nbsp;page provides you with a snapshot of the current status of installed services. There is a drop-down from which you can select a new service to monitor on this screen.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Text Login&lt;/span&gt;&amp;nbsp;is a valuable option that provides you with an interactive console terminal login screen. You must have Python installed for this feature to function properly. Also, you might have to create a symbolic link from python to your python executable because the configuration looks for python rather than python2. This is what I did:&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;code class=&quot;shell session&quot; style=&quot;box-sizing: border-box; color: #e83e8c; font-family: &amp;quot;Overpass Mono&amp;quot;, Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, monospace; font-size: 15.75px; word-break: break-word;&quot;&gt;$ sudo ln -s /usr/bin/python2 /usr/bin/python&lt;/code&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;This command satisfies the dependency for the applet.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;Finally, the&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Upload and Download&lt;/span&gt;&amp;nbsp;page is valuable for remote uploading and downloading files without access to a&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0066cc; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;secure FTP (SFTP)&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Secure_copy&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0066cc; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;secure copy (SCP)&lt;/a&gt;&amp;nbsp;client.&amp;nbsp;&lt;/p&gt;&lt;blockquote style=&quot;background-color: white; border-left: 1px solid; box-sizing: border-box; color: #141414; font-family: RedHatText, Overpass, Overpass, Helvetica, Arial, sans-serif; font-size: 18px; margin: 2rem; padding: 0px 0px 0px 1rem;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; margin-bottom: 1rem; margin-top: 0px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;NOTE:&lt;/span&gt;&amp;nbsp;If you use Webmin with a Linux server that can be accessed from the internet, please protect this powerful resource by enabling SSL on the&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: bolder;&quot;&gt;Webmin Configuration&lt;/span&gt;&amp;nbsp;page, and also enabling multi-factor authentication&amp;nbsp;if possible.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Source:&amp;nbsp;https://www.redhat.com/sysadmin/webmin&lt;/p&gt;&lt;p&gt;&amp;nbsp;Source:&amp;nbsp;https://www.redhat.com/sysadmin/favorite-linux-sysadmin-tools&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/8168954922993724190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2022/08/webmin-web-based-linux-management-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/8168954922993724190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/8168954922993724190'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2022/08/webmin-web-based-linux-management-tool.html' title='Webmin: A web-based Linux management tool'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-3226358880990477196</id><published>2022-03-17T16:37:00.003-07:00</published><updated>2022-03-17T16:37:22.381-07:00</updated><title type='text'>Ubuntu: Extend your default LVM space</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h1 style=&quot;background-color: white; box-sizing: border-box; color: #58585a; font-family: lato, sans-serif; font-size: 38px; line-height: 1.25; margin: 0px 0px 10px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Linux LVM Briefly Explained&lt;/h1&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;If you followed the default settings in the Ubuntu installation, then the storage for your Linux OS is probably using the Logical Volume Manager (LVM). LVM is an abstraction framework which exists between your physical (or virtual) disks and your Linux file system (which is likely&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Ext4&quot; rel=&quot;noopener&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot; target=&quot;_blank&quot;&gt;ext4&lt;/a&gt;). It is used to group separate block devices (partitions) together into Volume Groups (VGs), and then chop those VGs up into logical block devices, or Logical Volumes (LVs). LV’s are the abstracted block devices upon which your usable file system resides.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Below is good visualization of how LVM works. In this example, we have 5 different disks, each with a single partition mapped to Physical Volumes (PVs), all being grouped into a single Volume Group (VG). The Volume Group is chopped up into two different Logical Volumes (LVs) and each LV is being used for a filesystem.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/LogicalVolumenManager.jpg&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone wp-image-51995 size-full entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 576px) 100vw, 576px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/LogicalVolumenManager.jpg&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/LogicalVolumenManager.jpg 576w, https://packetpushers.net/wp-content/uploads/2021/11/LogicalVolumenManager-300x173.jpg 300w, https://packetpushers.net/wp-content/uploads/2021/11/LogicalVolumenManager-150x87.jpg 150w&quot; data-ll-status=&quot;loaded&quot; height=&quot;333&quot; sizes=&quot;(max-width: 576px) 100vw, 576px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/LogicalVolumenManager.jpg&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/LogicalVolumenManager.jpg 576w, https://packetpushers.net/wp-content/uploads/2021/11/LogicalVolumenManager-300x173.jpg 300w, https://packetpushers.net/wp-content/uploads/2021/11/LogicalVolumenManager-150x87.jpg 150w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;576&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Using a similar visualization, the below diagram shows how the Ubuntu installer (using all default options) divided up my 100GB disk.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/LVM.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone wp-image-51996 size-large entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 590px) 100vw, 590px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/LVM-590x426.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/LVM-590x426.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/LVM-300x217.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/LVM-150x108.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/LVM-768x555.png 768w, https://packetpushers.net/wp-content/uploads/2021/11/LVM-1536x1109.png 1536w, https://packetpushers.net/wp-content/uploads/2021/11/LVM-2048x1479.png 2048w&quot; data-ll-status=&quot;loaded&quot; height=&quot;426&quot; sizes=&quot;(max-width: 590px) 100vw, 590px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/LVM-590x426.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/LVM-590x426.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/LVM-300x217.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/LVM-150x108.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/LVM-768x555.png 768w, https://packetpushers.net/wp-content/uploads/2021/11/LVM-1536x1109.png 1536w, https://packetpushers.net/wp-content/uploads/2021/11/LVM-2048x1479.png 2048w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;590&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;h1 style=&quot;background-color: white; box-sizing: border-box; color: #58585a; font-family: lato, sans-serif; font-size: 38px; line-height: 1.25; margin: 0px 0px 10px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Ubuntu Installer Default Settings&lt;/h1&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;When installing Ubuntu, it has you approve a storage layout in a couple different screens (shown below). By default this storage layout will have a couple small boot partitions, and a third partition, which will be used by your LVM to create your root filesystem. You should be able to see the consistency between the screens below and the diagram above.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/disks1.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone wp-image-52000 size-large entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 590px) 100vw, 590px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/disks1-590x410.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/disks1-590x410.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/disks1-300x209.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/disks1-150x104.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/disks1-768x534.png 768w, https://packetpushers.net/wp-content/uploads/2021/11/disks1-1536x1068.png 1536w, https://packetpushers.net/wp-content/uploads/2021/11/disks1-2048x1423.png 2048w&quot; data-ll-status=&quot;loaded&quot; height=&quot;410&quot; sizes=&quot;(max-width: 590px) 100vw, 590px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/disks1-590x410.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/disks1-590x410.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/disks1-300x209.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/disks1-150x104.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/disks1-768x534.png 768w, https://packetpushers.net/wp-content/uploads/2021/11/disks1-1536x1068.png 1536w, https://packetpushers.net/wp-content/uploads/2021/11/disks1-2048x1423.png 2048w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;590&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/disks2.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone wp-image-52001 size-large entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 590px) 100vw, 590px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/disks2-590x407.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/disks2-590x407.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/disks2-300x207.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/disks2-150x104.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/disks2-768x530.png 768w, https://packetpushers.net/wp-content/uploads/2021/11/disks2-1536x1061.png 1536w, https://packetpushers.net/wp-content/uploads/2021/11/disks2-2048x1414.png 2048w&quot; data-ll-status=&quot;loaded&quot; height=&quot;407&quot; sizes=&quot;(max-width: 590px) 100vw, 590px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/disks2-590x407.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/disks2-590x407.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/disks2-300x207.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/disks2-150x104.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/disks2-768x530.png 768w, https://packetpushers.net/wp-content/uploads/2021/11/disks2-1536x1061.png 1536w, https://packetpushers.net/wp-content/uploads/2021/11/disks2-2048x1414.png 2048w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;590&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;h1 style=&quot;background-color: white; box-sizing: border-box; color: #58585a; font-family: lato, sans-serif; font-size: 38px; line-height: 1.25; margin: 0px 0px 10px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Use Your Default Free Space&lt;/h1&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;As you can see above: the Ubuntu installer (by default)&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;left almost half of my disk space unusable by the root file system!&lt;/span&gt;&amp;nbsp;I’ve looked around to find an explanation on why these are the default settings, but can’t find anything. Before extending your underlying hypervisor disk or storage volume, you may want to see if you have free space available and ready to be used to extend your existing file system. If you used the Ubuntu defaults during installation, then there is a good chance you have this free space.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Start by checking your root filesystem free space with&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804d5772749532&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;df -h&lt;/span&gt;&lt;/span&gt;. As you can see I am only using&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;14%&lt;/span&gt;&amp;nbsp;of my&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;~49GB&lt;/span&gt;&amp;nbsp;volume, but we’ll pretend I’m close to 100% and need to make that 49GB volume larger.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen1.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone wp-image-52002 size-large entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 590px) 100vw, 590px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen1-590x258.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen1-590x258.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen1-300x131.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen1-150x66.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen1.png 644w&quot; data-ll-status=&quot;loaded&quot; height=&quot;258&quot; sizes=&quot;(max-width: 590px) 100vw, 590px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen1-590x258.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen1-590x258.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen1-300x131.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen1-150x66.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen1.png 644w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;590&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;To check for existing free space on your Volume Group (where it is left by the installer default settings), run the command&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804e0138767351&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;vgdisplay&lt;/span&gt;&lt;/span&gt;&amp;nbsp;and check for free space. Here you can see I have&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;49.25GB&lt;/span&gt;&amp;nbsp;of free space ready to be used. If you don’t have any free space, move on to the next section to use some free space from an extended physical (or virtual) disk.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen2.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone wp-image-52005 size-full entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 589px) 100vw, 589px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen2.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen2.png 589w, https://packetpushers.net/wp-content/uploads/2021/11/screen2-300x176.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen2-150x88.png 150w&quot; data-ll-status=&quot;loaded&quot; height=&quot;346&quot; sizes=&quot;(max-width: 589px) 100vw, 589px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen2.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen2.png 589w, https://packetpushers.net/wp-content/uploads/2021/11/screen2-300x176.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen2-150x88.png 150w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;589&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;To use up that free space on your Volume Group (VG) for your root Logical Volume (LV), first run the&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804e5575511378&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;lvdisplay&lt;/span&gt;&lt;/span&gt;&amp;nbsp;command and check the Logical Volume size, then run&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804e6648384446&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv&lt;/span&gt;&lt;/span&gt;&amp;nbsp;to extend the LV to the maximum size usable, then run&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804e8816941120&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;lvdisplay&lt;/span&gt;&lt;/span&gt;&amp;nbsp;one more time to make sure it changed.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen3.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-large wp-image-52007 entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 590px) 100vw, 590px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen3-590x557.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen3-590x557.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen3-300x283.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen3-150x142.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen3.png 696w&quot; data-ll-status=&quot;loaded&quot; height=&quot;557&quot; sizes=&quot;(max-width: 590px) 100vw, 590px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen3-590x557.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen3-590x557.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen3-300x283.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen3-150x142.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen3.png 696w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;590&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;At this point you have increased the size of the block volume where your root filesystem resides, but you still need to extend the filesystem on top of it. First, run&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804e9079011486&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;df -h&lt;/span&gt;&lt;/span&gt;&amp;nbsp;to verify your (almost full) root file system, then run&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804ea093111064&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv&lt;/span&gt;&lt;/span&gt;&amp;nbsp;to extend your filesystem, and run&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804eb552318887&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;df -h&lt;/span&gt;&lt;/span&gt;&amp;nbsp;one more time to make sure you’re successful.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen4.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-large wp-image-52009 entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 577px) 100vw, 577px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen4-577x590.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen4-577x590.png 577w, https://packetpushers.net/wp-content/uploads/2021/11/screen4-293x300.png 293w, https://packetpushers.net/wp-content/uploads/2021/11/screen4-147x150.png 147w, https://packetpushers.net/wp-content/uploads/2021/11/screen4.png 691w&quot; data-ll-status=&quot;loaded&quot; height=&quot;590&quot; sizes=&quot;(max-width: 577px) 100vw, 577px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen4-577x590.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen4-577x590.png 577w, https://packetpushers.net/wp-content/uploads/2021/11/screen4-293x300.png 293w, https://packetpushers.net/wp-content/uploads/2021/11/screen4-147x150.png 147w, https://packetpushers.net/wp-content/uploads/2021/11/screen4.png 691w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;577&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;And that’s it. You just allocated the free space left behind by the Ubuntu installer to your root filesystem. If this is still not enough space, continue on to the next section to allocate more space by extending an underlying disk.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;h1 style=&quot;background-color: white; box-sizing: border-box; color: #58585a; font-family: lato, sans-serif; font-size: 38px; line-height: 1.25; margin: 0px 0px 10px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Use Space from Extended Physical (or Virtual) Disk&lt;/h1&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;First you need to increase the size of the disk being presented to the Linux OS. This is most likely done by expanding the virtual disk in KVM/VMWare/Hyper-V or by adjusting your RAID controller / storage system to increase the volume size. You can often do this while Linux is running; without shutting down or restarting. I’ve extended my&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;100GB&lt;/span&gt;&amp;nbsp;disk to&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;200GB&lt;/span&gt;&amp;nbsp;for my example machine.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Once that is done, you may need to get Linux to rescan the disk for the new free space. Check for free space by running&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804ed123886914&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;cfdisk&lt;/span&gt;&lt;/span&gt;&amp;nbsp;and see if there is free space listed, use “q” to exit once you’re done.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen6.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-large wp-image-52010 entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 590px) 100vw, 590px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen6-590x320.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen6-590x320.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen6-300x163.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen6-150x81.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen6.png 731w&quot; data-ll-status=&quot;loaded&quot; height=&quot;320&quot; sizes=&quot;(max-width: 590px) 100vw, 590px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen6-590x320.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen6-590x320.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen6-300x163.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen6-150x81.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen6.png 731w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;590&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;If you don’t see free space listed, then initiate a rescan of&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco&quot; id=&quot;urvanov-syntax-highlighter-623208ea804f7179039499&quot; style=&quot;background: rgb(250, 250, 250) !important; border-color: rgb(221, 221, 221) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; font-family: Monaco, monacoregular, &amp;quot;courier new&amp;quot;, monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;/dev/sda&lt;/span&gt;&lt;/span&gt;&amp;nbsp; with&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804f8516254264&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;echo 1&amp;gt;/sys/class/block/sda/device/rescan&lt;/span&gt;&lt;/span&gt;. Once done, rerun&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804f9936481166&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;cfdisk&lt;/span&gt;&lt;/span&gt;&amp;nbsp;and you should see the free space listed.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen7.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-large wp-image-52013 entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 590px) 100vw, 590px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen7-590x336.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen7-590x336.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen7-300x171.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen7-150x86.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen7.png 733w&quot; data-ll-status=&quot;loaded&quot; height=&quot;336&quot; sizes=&quot;(max-width: 590px) 100vw, 590px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen7-590x336.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen7-590x336.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen7-300x171.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen7-150x86.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen7.png 733w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;590&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Select your&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco&quot; id=&quot;urvanov-syntax-highlighter-623208ea804fb831993589&quot; style=&quot;background: rgb(250, 250, 250) !important; border-color: rgb(221, 221, 221) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; font-family: Monaco, monacoregular, &amp;quot;courier new&amp;quot;, monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;/dev/sda3&lt;/span&gt;&lt;/span&gt;&amp;nbsp;partition from the list and then select “&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Resize&lt;/span&gt;” from the bottom menu. Hit&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;ENTER&lt;/span&gt;&amp;nbsp;and it will prompt you to confirm the new size. Hit&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;ENTER&lt;/span&gt;&amp;nbsp;again and you will now see the&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco&quot; id=&quot;urvanov-syntax-highlighter-623208ea804fc356238364&quot; style=&quot;background: rgb(250, 250, 250) !important; border-color: rgb(221, 221, 221) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; font-family: Monaco, monacoregular, &amp;quot;courier new&amp;quot;, monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;/dev/sda3&lt;/span&gt;&lt;/span&gt;&amp;nbsp;partition with a new larger size.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Select “&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Write&lt;/span&gt;” from the bottom menu, type&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;yes&lt;/span&gt;&amp;nbsp;to confirm, and hit&amp;nbsp;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;ENTER&lt;/span&gt;. Then use “&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;q&lt;/span&gt;” to exit the program.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Now that the LVM partition backing the&amp;nbsp;&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-classic crayon-theme-classic-inline urvanov-syntax-highlighter-font-monaco&quot; id=&quot;urvanov-syntax-highlighter-623208ea804fd313253402&quot; style=&quot;background: rgb(250, 250, 250) !important; border-color: rgb(221, 221, 221) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; font-family: Monaco, monacoregular, &amp;quot;courier new&amp;quot;, monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;/dev/sda3&lt;/span&gt;&lt;/span&gt;&amp;nbsp;Physical Volume (PV) has been extended, we need to extend the PV itself. Run&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804fe536515084&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;pvresize /dev/sda3&lt;/span&gt;&lt;/span&gt;&amp;nbsp;to do this and then use&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea804ff465467848&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;pvdisplay&lt;/span&gt;&lt;/span&gt;&amp;nbsp;to check the new size.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen8.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-large wp-image-52014 entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 590px) 100vw, 590px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen8-590x268.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen8-590x268.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen8-300x136.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen8-150x68.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen8.png 662w&quot; data-ll-status=&quot;loaded&quot; height=&quot;268&quot; sizes=&quot;(max-width: 590px) 100vw, 590px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen8-590x268.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen8-590x268.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen8-300x136.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen8-150x68.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen8.png 662w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;590&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;As you can see above, my PV has been increased from 98.5GB to 198.5GB. Now let’s check the Volume Group (VG) free space with&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea80500346724727&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;vgdisplay&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen10.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-52019 entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 538px) 100vw, 538px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen10.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen10.png 538w, https://packetpushers.net/wp-content/uploads/2021/11/screen10-300x193.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen10-150x97.png 150w&quot; data-ll-status=&quot;loaded&quot; height=&quot;347&quot; sizes=&quot;(max-width: 538px) 100vw, 538px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen10.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen10.png 538w, https://packetpushers.net/wp-content/uploads/2021/11/screen10-300x193.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen10-150x97.png 150w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;538&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;We can see above that the VG has 100GB of free space. Now let’s check the size of our upstream Logical Volume (LV) using&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea80502270011224&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;lvdisplay&lt;/span&gt;&lt;/span&gt;, extend the LV to use up all the VG’s free space with&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea80503642867766&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv&lt;/span&gt;&lt;/span&gt;, and then check the LV one more time with&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea80504714253017&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;lvdisplay&lt;/span&gt;&lt;/span&gt;&amp;nbsp;to make sure it has been extended.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen11.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-large wp-image-52025 entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 590px) 100vw, 590px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen11-590x563.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen11-590x563.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen11-300x286.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen11-150x143.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen11.png 693w&quot; data-ll-status=&quot;loaded&quot; height=&quot;563&quot; sizes=&quot;(max-width: 590px) 100vw, 590px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen11-590x563.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen11-590x563.png 590w, https://packetpushers.net/wp-content/uploads/2021/11/screen11-300x286.png 300w, https://packetpushers.net/wp-content/uploads/2021/11/screen11-150x143.png 150w, https://packetpushers.net/wp-content/uploads/2021/11/screen11.png 693w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;590&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;At this point, the block volume underpinning our root filesystem has been extended, but the filesystem itself has not been resized to fit that new volume. To do this, run&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea80508757504250&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;df -h&lt;/span&gt;&lt;/span&gt;&amp;nbsp;to check the current size of the file system, then run&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea80509292807703&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv&lt;/span&gt;&lt;/span&gt;&amp;nbsp;to resize it, and&amp;nbsp;&lt;span class=&quot;urvanov-syntax-highlighter-syntax urvanov-syntax-highlighter-syntax-inline  crayon-theme-dark-terminal crayon-theme-dark-terminal-inline urvanov-syntax-highlighter-font-monospace&quot; id=&quot;urvanov-syntax-highlighter-623208ea8050a824364890&quot; style=&quot;background: rgb(0, 1, 3) !important; border-color: rgb(0, 0, 0) !important; border-style: solid !important; border-width: 1px !important; box-sizing: border-box; direction: ltr !important; font-family: Monaco, MonacoRegular, &amp;quot;Courier New&amp;quot;, monospace; font-size: 16px !important; line-height: 16px !important; margin: 0px 2px; overflow: hidden !important; padding: 0px 2px; position: relative !important; text-shadow: none !important; text-size-adjust: none; width: 100%;&quot;&gt;&lt;span class=&quot;crayon-pre urvanov-syntax-highlighter-code&quot; style=&quot;background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-family: monospace !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; width: 100%;&quot;&gt;df -h&lt;/span&gt;&lt;/span&gt;&amp;nbsp;one more time to check the new file system available space.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;a href=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen12.png&quot; style=&quot;box-sizing: border-box; color: #f16641; text-decoration-line: none; transition: all 0.2s ease-in-out 0s;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-large wp-image-52020 entered lazyloaded&quot; data-lazy-sizes=&quot;(max-width: 583px) 100vw, 583px&quot; data-lazy-src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen12-583x590.png&quot; data-lazy-srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen12-583x590.png 583w, https://packetpushers.net/wp-content/uploads/2021/11/screen12-297x300.png 297w, https://packetpushers.net/wp-content/uploads/2021/11/screen12-148x150.png 148w, https://packetpushers.net/wp-content/uploads/2021/11/screen12.png 696w&quot; data-ll-status=&quot;loaded&quot; height=&quot;590&quot; sizes=&quot;(max-width: 583px) 100vw, 583px&quot; src=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen12-583x590.png&quot; srcset=&quot;https://packetpushers.net/wp-content/uploads/2021/11/screen12-583x590.png 583w, https://packetpushers.net/wp-content/uploads/2021/11/screen12-297x300.png 297w, https://packetpushers.net/wp-content/uploads/2021/11/screen12-148x150.png 148w, https://packetpushers.net/wp-content/uploads/2021/11/screen12.png 696w&quot; style=&quot;border: none; box-sizing: border-box; display: inline; height: auto; margin: 0px 0px 10px; max-width: 100%;&quot; width=&quot;583&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;And there you go. You’ve now taken an expanded physical (or virtual) disk and moved that free space all the way up through the LVM abstraction layers to be used by your (critically full) root file system.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Source:&amp;nbsp;https://packetpushers.net/ubuntu-extend-your-default-lvm-space/#:~:text=To%20use%20up%20that%20free,to%20make%20sure%20it%20changed.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: border-box; font-family: lato, sans-serif; font-size: 18px; margin: 0px 0px 25px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/3226358880990477196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2022/03/ubuntu-extend-your-default-lvm-space.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/3226358880990477196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/3226358880990477196'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2022/03/ubuntu-extend-your-default-lvm-space.html' title='Ubuntu: Extend your default LVM space'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-2509934050025780888</id><published>2022-03-16T19:05:00.005-07:00</published><updated>2022-03-16T19:05:41.477-07:00</updated><title type='text'>How to Reset Forgotten Ubuntu Password in 2 Minutes</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;h3 id=&quot;step-1-boot-into-recovery-mode&quot; style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 24px; line-height: 1.2; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;Step 1: Boot into recovery mode&lt;/h3&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Switch the computer on. Go to the&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;grub menu&lt;/span&gt;. Generally, it appears automatically – if not, then&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;hold down the shift key&lt;/span&gt;&amp;nbsp;or&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;press Esc key&lt;/span&gt;&amp;nbsp;until the boot menu appears.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;If you’re using Oracle VirtualBox or VMware, you have to&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;hold down the shift key&lt;/span&gt;&amp;nbsp;when the logo of Oracle or&amp;nbsp;&lt;a aria-label=&quot;VMWare (opens in a new tab)&quot; data-lasso-id=&quot;274&quot; href=&quot;https://itsfoss.com/install-vmware-player-ubuntu-1310/&quot; rel=&quot;noopener&quot; style=&quot;background-color: transparent; box-sizing: inherit; color: #00b6ba; transition: color 0.2s ease-in-out 0s, background-color 0.2s ease-in-out 0s;&quot; target=&quot;_blank&quot;&gt;VMware&lt;/a&gt;&amp;nbsp;appears.&lt;/p&gt;&lt;div class=&quot;fs-dynamic&quot; data-freestar-ad=&quot;__728x90  __300x250&quot; data-slot=&quot;complete&quot; id=&quot;itsfoss_300x250_320x50_DynamicAds1&quot; name=&quot;itsfoss_300x250_320x50_DynamicAds&quot; style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;p data-inc=&quot;1&quot; style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;In the grub menu, select the “Advanced Options for Ubuntu”:&lt;/p&gt;&lt;figure class=&quot;wp-block-image aligncenter&quot; style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 1.2em; text-align: center;&quot;&gt;&lt;img alt=&quot;Advanced boot options in Grub menu of Ubuntu&quot; class=&quot;wp-image-26958 jetpack-lazy-image jetpack-lazy-image--handled&quot; data-attachment-id=&quot;26958&quot; data-comments-opened=&quot;1&quot; data-image-caption=&quot;&quot; data-image-description=&quot;&quot; data-image-meta=&quot;{&amp;quot;aperture&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;credit&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;camera&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;caption&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;created_timestamp&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;copyright&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;focal_length&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;iso&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;shutter_speed&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;orientation&amp;quot;:&amp;quot;0&amp;quot;}&quot; data-image-title=&quot;new-grub-menu-ubuntu&quot; data-large-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/new-grub-menu-ubuntu.png?fit=637%2C430&amp;amp;ssl=1&quot; data-lazy-loaded=&quot;1&quot; data-medium-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/new-grub-menu-ubuntu.png?fit=300%2C203&amp;amp;ssl=1&quot; data-orig-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/new-grub-menu-ubuntu.png?fit=637%2C430&amp;amp;ssl=1&quot; data-orig-size=&quot;637,430&quot; data-permalink=&quot;https://itsfoss.com/how-to-hack-ubuntu-password/new-grub-menu-ubuntu/&quot; data-recalc-dims=&quot;1&quot; height=&quot;430&quot; loading=&quot;eager&quot; sizes=&quot;(max-width: 637px) 100vw, 637px&quot; src=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/new-grub-menu-ubuntu.png?resize=637%2C430&amp;amp;ssl=1&quot; srcset=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/new-grub-menu-ubuntu.png?w=637&amp;amp;ssl=1 637w, https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/new-grub-menu-ubuntu.png?resize=300%2C203&amp;amp;ssl=1 300w&quot; style=&quot;border-radius: inherit; border-style: none; box-sizing: inherit; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;637&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; color: #666666; font-size: 16px; font-style: italic; margin-bottom: 30px; margin-top: 10px;&quot;&gt;This is grub screen&lt;/figcaption&gt;&lt;/figure&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;In here, you’ll see the option to go to recovery mode:&lt;/p&gt;&lt;figure class=&quot;wp-block-image aligncenter&quot; style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 1.2em; text-align: center;&quot;&gt;&lt;img alt=&quot;Boot into recovery mode&quot; class=&quot;wp-image-26957 jetpack-lazy-image jetpack-lazy-image--handled&quot; data-attachment-id=&quot;26957&quot; data-comments-opened=&quot;1&quot; data-image-caption=&quot;&quot; data-image-description=&quot;&quot; data-image-meta=&quot;{&amp;quot;aperture&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;credit&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;camera&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;caption&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;created_timestamp&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;copyright&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;focal_length&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;iso&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;shutter_speed&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;orientation&amp;quot;:&amp;quot;0&amp;quot;}&quot; data-image-title=&quot;boot-into-recovery-mode-ubuntu&quot; data-large-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/boot-into-recovery-mode-ubuntu-1.jpg?fit=635%2C426&amp;amp;ssl=1&quot; data-lazy-loaded=&quot;1&quot; data-medium-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/boot-into-recovery-mode-ubuntu-1.jpg?fit=300%2C201&amp;amp;ssl=1&quot; data-orig-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/boot-into-recovery-mode-ubuntu-1.jpg?fit=635%2C426&amp;amp;ssl=1&quot; data-orig-size=&quot;635,426&quot; data-permalink=&quot;https://itsfoss.com/how-to-hack-ubuntu-password/boot-into-recovery-mode-ubuntu/&quot; data-recalc-dims=&quot;1&quot; loading=&quot;eager&quot; src=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/boot-into-recovery-mode-ubuntu.jpg?ssl=1&quot; style=&quot;border-radius: inherit; border-style: none; box-sizing: inherit; height: auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/figure&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;It will bring you to a black screen with several lines of output being displayed in a flash. Wait for a few seconds here.&lt;/p&gt;&lt;h3 id=&quot;step-2-drop-to-root-shell-prompt&quot; style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 24px; line-height: 1.2; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;Step 2: Drop to root shell prompt&lt;/h3&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Now you’ll be presented with different options for recovery mode. Here you need to choose “&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;Root – Drop to root shell prompt&lt;/span&gt;“.&amp;nbsp; Just press the enter key to select this option. Like in the picture below:&lt;/p&gt;&lt;figure class=&quot;wp-block-image aligncenter&quot; style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 1.2em; text-align: center;&quot;&gt;&lt;img alt=&quot;Root shell prompt allows you to reset password in Ubuntu&quot; class=&quot;wp-image-26956 jetpack-lazy-image jetpack-lazy-image--handled&quot; data-attachment-id=&quot;26956&quot; data-comments-opened=&quot;1&quot; data-image-caption=&quot;&quot; data-image-description=&quot;&quot; data-image-meta=&quot;{&amp;quot;aperture&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;credit&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;camera&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;caption&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;created_timestamp&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;copyright&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;focal_length&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;iso&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;shutter_speed&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;orientation&amp;quot;:&amp;quot;0&amp;quot;}&quot; data-image-title=&quot;drop-to-root-prompt-1&quot; data-large-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/drop-to-root-prompt-1.png?fit=710%2C396&amp;amp;ssl=1&quot; data-lazy-loaded=&quot;1&quot; data-medium-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/drop-to-root-prompt-1.png?fit=300%2C167&amp;amp;ssl=1&quot; data-orig-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/drop-to-root-prompt-1.png?fit=710%2C396&amp;amp;ssl=1&quot; data-orig-size=&quot;710,396&quot; data-permalink=&quot;https://itsfoss.com/how-to-hack-ubuntu-password/drop-to-root-prompt-1/&quot; data-recalc-dims=&quot;1&quot; height=&quot;396&quot; loading=&quot;eager&quot; sizes=&quot;(max-width: 710px) 100vw, 710px&quot; src=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/drop-to-root-prompt-1.png?resize=710%2C396&amp;amp;ssl=1&quot; srcset=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/drop-to-root-prompt-1.png?w=710&amp;amp;ssl=1 710w, https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/drop-to-root-prompt-1.png?resize=300%2C167&amp;amp;ssl=1 300w&quot; style=&quot;border-radius: inherit; border-style: none; box-sizing: inherit; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;710&quot; /&gt;&lt;/figure&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;You’ll see that when you select the root shell prompt option, an option to enter commands appears at the bottom. This is your root shell prompt and this is where you’ll use the commands to reset the password.&lt;/p&gt;&lt;h3 id=&quot;step-3-remount-the-root-with-write-access&quot; style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 24px; line-height: 1.2; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;Step 3: Remount the root with write access&lt;/h3&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;You need to have write access to the root partition. By default, it has read-only access.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Use the command below to remount it with write access:&lt;/p&gt;&lt;pre class=&quot;wp-block-preformatted&quot; style=&quot;background-color: #00b6ba; box-sizing: inherit; color: white; font-family: monospace, monospace; font-size: 16px; overflow-wrap: normal; overflow: auto; padding: 0.5em 1em; white-space: pre-wrap;&quot;&gt;mount -rw -o remount /&lt;/pre&gt;&lt;h3 id=&quot;step-4-reset-username-or-password&quot; style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 24px; line-height: 1.2; margin: 0px 0px 20px; overflow-wrap: break-word;&quot;&gt;Step 4: Reset username or password&lt;/h3&gt;&lt;div class=&quot;fs-dynamic&quot; data-freestar-ad=&quot;__728x90  __300x250&quot; data-slot=&quot;complete&quot; id=&quot;itsfoss_300x250_320x50_DynamicAds2&quot; name=&quot;itsfoss_300x250_320x50_DynamicAds&quot; style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;p data-inc=&quot;2&quot; style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Here, you’ll be given root access. Use the following command to list all the users available:&lt;/p&gt;&lt;pre class=&quot;wp-block-preformatted&quot; style=&quot;background-color: #00b6ba; box-sizing: inherit; color: white; font-family: monospace, monospace; font-size: 16px; overflow-wrap: normal; overflow: auto; padding: 0.5em 1em; white-space: pre-wrap;&quot;&gt;ls /home&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Based on this command, choose the “&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;username&lt;/span&gt;” for which you want to reset or (say) hack the password. Now, use the following command to reset the password for the selected “&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;username&lt;/span&gt;“:&lt;/p&gt;&lt;pre class=&quot;wp-block-preformatted&quot; style=&quot;background-color: #00b6ba; box-sizing: inherit; color: white; font-family: monospace, monospace; font-size: 16px; overflow-wrap: normal; overflow: auto; padding: 0.5em 1em; white-space: pre-wrap;&quot;&gt;passwd username&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;It prompts for a new password. Enter the new password twice:&lt;/p&gt;&lt;pre class=&quot;wp-block-preformatted&quot; style=&quot;background-color: #00b6ba; box-sizing: inherit; color: white; font-family: monospace, monospace; font-size: 16px; overflow-wrap: normal; overflow: auto; padding: 0.5em 1em; white-space: pre-wrap;&quot;&gt;Enter new UNIX password:&lt;/pre&gt;&lt;pre class=&quot;wp-block-preformatted&quot; style=&quot;background-color: #00b6ba; box-sizing: inherit; color: white; font-family: monospace, monospace; font-size: 16px; overflow-wrap: normal; overflow: auto; padding: 0.5em 1em; white-space: pre-wrap;&quot;&gt;Retype new UNIX password:&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Voilà! There you go. You have just successfully reset the password. Now exit the root shell prompt:&lt;/p&gt;&lt;pre class=&quot;wp-block-preformatted&quot; style=&quot;background-color: #00b6ba; box-sizing: inherit; color: white; font-family: monospace, monospace; font-size: 16px; overflow-wrap: normal; overflow: auto; padding: 0.5em 1em; white-space: pre-wrap;&quot;&gt;exit&lt;/pre&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;When you exit, you’ll be back at the recovery mode menu. Select the normal boot option here.&lt;/p&gt;&lt;figure class=&quot;wp-block-image aligncenter&quot; style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 1.2em; text-align: center;&quot;&gt;&lt;img alt=&quot;Use recovery mode to boot normal after resetting password in Ubuntu&quot; class=&quot;wp-image-26960 jetpack-lazy-image jetpack-lazy-image--handled&quot; data-attachment-id=&quot;26960&quot; data-comments-opened=&quot;1&quot; data-image-caption=&quot;&quot; data-image-description=&quot;&quot; data-image-meta=&quot;{&amp;quot;aperture&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;credit&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;camera&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;caption&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;created_timestamp&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;copyright&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;focal_length&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;iso&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;shutter_speed&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;orientation&amp;quot;:&amp;quot;0&amp;quot;}&quot; data-image-title=&quot;recovery-mode-menu-ubuntu&quot; data-large-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/recovery-mode-menu-ubuntu.png?fit=708%2C392&amp;amp;ssl=1&quot; data-lazy-loaded=&quot;1&quot; data-medium-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/recovery-mode-menu-ubuntu.png?fit=300%2C166&amp;amp;ssl=1&quot; data-orig-file=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/recovery-mode-menu-ubuntu.png?fit=708%2C392&amp;amp;ssl=1&quot; data-orig-size=&quot;708,392&quot; data-permalink=&quot;https://itsfoss.com/how-to-hack-ubuntu-password/recovery-mode-menu-ubuntu/&quot; data-recalc-dims=&quot;1&quot; height=&quot;392&quot; loading=&quot;eager&quot; sizes=&quot;(max-width: 708px) 100vw, 708px&quot; src=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/recovery-mode-menu-ubuntu.png?resize=708%2C392&amp;amp;ssl=1&quot; srcset=&quot;https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/recovery-mode-menu-ubuntu.png?w=708&amp;amp;ssl=1 708w, https://i0.wp.com/itsfoss.com/wp-content/uploads/2012/07/recovery-mode-menu-ubuntu.png?resize=300%2C166&amp;amp;ssl=1 300w&quot; style=&quot;border-radius: inherit; border-style: none; box-sizing: inherit; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;708&quot; /&gt;&lt;/figure&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;There will be a warning about graphics mode compatibility. Don’t worry. A complete reboot will fix any issues with this.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;You should now be able to log in&amp;nbsp;with the new password.&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;Source:&amp;nbsp;https://itsfoss.com/how-to-hack-ubuntu-password/&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #333333; font-family: &amp;quot;source sans pro&amp;quot;, sans-serif; font-size: 18px; margin: 0px 0px 30px; overflow-wrap: break-word; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/2509934050025780888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2022/03/how-to-reset-forgotten-ubuntu-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2509934050025780888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2509934050025780888'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2022/03/how-to-reset-forgotten-ubuntu-password.html' title='How to Reset Forgotten Ubuntu Password in 2 Minutes'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-2896542683496139849</id><published>2022-02-07T21:37:00.000-08:00</published><updated>2022-02-07T21:37:01.521-08:00</updated><title type='text'>How to get full PC memory specs (speed, size, type, part number, form factor) on Windows 10</title><content type='html'>&lt;p&gt;&lt;b&gt;wmic memorychip list full&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;wmic memorychip get devicelocator, manufacturer, partnumber, serialnumber, capacity, speed, memorytype, formfactor&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;wmic memorychip get devicelocator, manufacturer&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;wmic memorychip get devicelocator, partnumber&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;wmic memorychip get devicelocator, serialnumber&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Quick tip:&lt;/b&gt; In the command, you can also replace &quot;devicelocator&quot; with &quot;banklabel&quot; to list the serial number showing the bank&#39;s physical label where the memory is located on the motherboard. For example, wmic memorychip get banklabel, serialnumber&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;wmic memorychip get devicelocator, capacity&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;i&gt; &amp;nbsp;&amp;nbsp;&lt;/i&gt;&lt;i&gt;&lt;b&gt;Quick tip&lt;/b&gt;: The capacity information is displayed in bytes, but you can divide the number by 1,073,741,824 (1 gigabyte in bytes) to convert the data into gigabytes&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;systeminfo | findstr /C:&quot;Total Physical Memory&quot;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;wmic memorychip get devicelocator, speed&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;wmic memorychip get devicelocator, memorytype&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Memory types the command can identify:&lt;/p&gt;&lt;p&gt;0: Unknown.&lt;/p&gt;&lt;p&gt;1: Other.&lt;/p&gt;&lt;p&gt;2: DRAM.&lt;/p&gt;&lt;p&gt;3: Synchronous DRAM.&lt;/p&gt;&lt;p&gt;4: Cache DRAM.&lt;/p&gt;&lt;p&gt;5: EDO.&lt;/p&gt;&lt;p&gt;6: EDRAM.&lt;/p&gt;&lt;p&gt;7: VRAM.&lt;/p&gt;&lt;p&gt;8: SRAM.&lt;/p&gt;&lt;p&gt;9: RAM.&lt;/p&gt;&lt;p&gt;10: ROM.&lt;/p&gt;&lt;p&gt;11: Flash.&lt;/p&gt;&lt;p&gt;12: EEPROM.&lt;/p&gt;&lt;p&gt;13: FEPROM.&lt;/p&gt;&lt;p&gt;14: EPROM.&lt;/p&gt;&lt;p&gt;15: CDRAM.&lt;/p&gt;&lt;p&gt;16: 3DRAM.&lt;/p&gt;&lt;p&gt;17: SDRAM.&lt;/p&gt;&lt;p&gt;18: SGRAM.&lt;/p&gt;&lt;p&gt;19: RDRAM.&lt;/p&gt;&lt;p&gt;20: DDR.&lt;/p&gt;&lt;p&gt;21: DDR2.&lt;/p&gt;&lt;p&gt;22: DDR2 FB-DIMM.&lt;/p&gt;&lt;p&gt;24: DDR3.&lt;/p&gt;&lt;p&gt;25: FBD2.&lt;/p&gt;&lt;p&gt;26: DDR4.&lt;/p&gt;&lt;p&gt;&lt;b&gt;wmic memorychip get devicelocator, formfactor&lt;/b&gt;&lt;/p&gt;&lt;p&gt;0: Unknown.&lt;/p&gt;&lt;p&gt;1: Other.&lt;/p&gt;&lt;p&gt;2: SIP.&lt;/p&gt;&lt;p&gt;3: DIP.&lt;/p&gt;&lt;p&gt;4: ZIP.&lt;/p&gt;&lt;p&gt;5: SOJ&lt;/p&gt;&lt;p&gt;6: Proprietary.&lt;/p&gt;&lt;p&gt;7: SIMM.&lt;/p&gt;&lt;p&gt;8: DIMM.&lt;/p&gt;&lt;p&gt;9: TSOP.&lt;/p&gt;&lt;p&gt;10: PGA.&lt;/p&gt;&lt;p&gt;11: RIMM.&lt;/p&gt;&lt;p&gt;12: SODIMM.&lt;/p&gt;&lt;p&gt;13: SRIMM.&lt;/p&gt;&lt;p&gt;14: SMD.&lt;/p&gt;&lt;p&gt;15: SSMP.&lt;/p&gt;&lt;p&gt;16: QFP.&lt;/p&gt;&lt;p&gt;17: TQFP.&lt;/p&gt;&lt;p&gt;18: SOIC.&lt;/p&gt;&lt;p&gt;19: LCC.&lt;/p&gt;&lt;p&gt;20: PLCC.&lt;/p&gt;&lt;p&gt;21: BGA.&lt;/p&gt;&lt;p&gt;22: FPBGA.&lt;/p&gt;&lt;p&gt;23: LGA.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;24: FB-DIMM&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Source:&amp;nbsp;https://www.windowscentral.com/how-get-full-memory-specs-speed-size-type-part-number-form-factor-windows-10&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/2896542683496139849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2022/02/how-to-get-full-pc-memory-specs-speed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2896542683496139849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2896542683496139849'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2022/02/how-to-get-full-pc-memory-specs-speed.html' title='How to get full PC memory specs (speed, size, type, part number, form factor) on Windows 10'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-1909597772046860366</id><published>2021-12-22T17:48:00.006-08:00</published><updated>2021-12-22T17:48:56.450-08:00</updated><title type='text'>How to upgrade Debian 9 Stretch to Linux Debian 10 Buster</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;color: #404040; font-family: Roboto, sans-serif; font-size: 24px; font-weight: 900;&quot;&gt;Introduction&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Debian&lt;/span&gt;&amp;nbsp;is a popular version, or fork, of the Linux operating system.&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;The most recently released version is Debian 10, codenamed&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Buster.&lt;/span&gt;&amp;nbsp;The previous version Debian 9 Stretch is officially supported until June 2022. The newer version offers a longer support period and new features, so it is highly recommended to upgrade if running Debian 9.&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;This tutorial will walk you through&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;how to upgrade from Debian 9 (Stretch) to Debian 10 (Buster)&lt;/span&gt;.&lt;/p&gt;&lt;p class=&quot;h3&quot; style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 24px; font-weight: 900; margin-block: 0px 1em; word-break: break-word;&quot;&gt;Prerequisites&lt;/p&gt;&lt;ul style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto; font-size: 16px; margin-block: 0px 20px; padding-inline-start: 20px;&quot;&gt;&lt;li style=&quot;box-sizing: inherit; word-break: break-word;&quot;&gt;A system running Debian 9&lt;/li&gt;&lt;li style=&quot;box-sizing: inherit; word-break: break-word;&quot;&gt;A Debian user account with&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;sudo&lt;/span&gt;&amp;nbsp;privileges&lt;/li&gt;&lt;li style=&quot;box-sizing: inherit; word-break: break-word;&quot;&gt;Access to a command line/terminal window (&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Ctrl&lt;/span&gt;–&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Alt&lt;/span&gt;–&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;F2&lt;/span&gt;)&lt;/li&gt;&lt;li style=&quot;box-sizing: inherit; word-break: break-word;&quot;&gt;A recent snapshot (backup) of the system&lt;/li&gt;&lt;/ul&gt;&lt;h2 class=&quot;ftwp-heading&quot; id=&quot;ftoc-heading-1&quot; style=&quot;box-sizing: inherit; color: #404040; font-family: Poppins, sans-serif; font-size: 32px; margin: 0px; word-break: break-word;&quot;&gt;Upgrade to Debian Version 10 Buster&lt;/h2&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;Make sure to&amp;nbsp;&lt;a href=&quot;https://phoenixnap.com/kb/rsync-back-up-data&quot; rel=&quot;noreferrer noopener&quot; style=&quot;box-sizing: inherit; color: #0074db; text-decoration-line: none; word-break: break-word;&quot; target=&quot;_blank&quot;&gt;back up your system and data&lt;/a&gt;&amp;nbsp;prior to upgrading. That way, if anything breaks during the upgrade, you can easily restore your system configuration.&lt;/p&gt;&lt;h3 class=&quot;ftwp-heading&quot; id=&quot;ftoc-heading-2&quot; style=&quot;box-sizing: inherit; font-family: Poppins, sans-serif; font-size: 24px; margin: 0px; word-break: break-word;&quot;&gt;Step 1: Update Package Manager and Repositories&lt;/h3&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;By default, Debian 9 refers to the repositories designated for Stretch.&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;1. First, create a backup copy of the&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;/etc/apt/sources.list&lt;/span&gt;&amp;nbsp;file:&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(234, 234, 234); box-sizing: inherit; color: #404040; font-family: monospace, monospace; font-size: 16px; overflow-wrap: break-word; overflow: auto; padding: 18px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; display: block; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; word-break: break-all;&quot;&gt;sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;2. Then, open the file for editing (we are using&amp;nbsp;&lt;a href=&quot;https://phoenixnap.com/kb/use-nano-text-editor-commands-linux&quot; rel=&quot;noreferrer noopener&quot; style=&quot;box-sizing: inherit; color: #0074db; text-decoration-line: none; word-break: break-word;&quot; target=&quot;_blank&quot;&gt;GNU nano&lt;/a&gt;&amp;nbsp;for text editing):&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(234, 234, 234); box-sizing: inherit; color: #404040; font-family: monospace, monospace; font-size: 16px; overflow-wrap: break-word; overflow: auto; padding: 18px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; display: block; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; word-break: break-all;&quot;&gt;sudo nano /etc/apt/sources.list&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;3. Change all the references in this file from&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Stretch&lt;/span&gt;&amp;nbsp;to&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Buster&lt;/span&gt;. The entries should appear as follows:&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(234, 234, 234); box-sizing: inherit; color: #404040; font-family: monospace, monospace; font-size: 16px; overflow-wrap: break-word; overflow: auto; padding: 18px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; display: block; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; word-break: break-all;&quot;&gt;deb http://deb.debian.org/debian debian buster main

deb http://deb.debian.org/debian buster-updates main

deb http://deb.debian.org/debian buster/updates main&lt;/code&gt;&lt;/pre&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto; font-size: 16px; margin: 0px 0px 1em;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; margin: 0px auto;&quot;&gt;&lt;img alt=&quot;Debian Version 10 Buster successful install&quot; class=&quot;wp-image-76133 lazyloaded&quot; data-ll-status=&quot;loaded&quot; height=&quot;154&quot; src=&quot;https://phoenixnap.com/kb/wp-content/uploads/2021/04/Debian-Version-10-Buster.png&quot; style=&quot;border-radius: inherit; border-style: none; box-sizing: inherit; height: auto; max-width: 100%;&quot; width=&quot;1153&quot; /&gt;&lt;/figure&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;4.&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Save&lt;/span&gt;&amp;nbsp;the file using the keyboard combination&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Ctrl&lt;/span&gt;+&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;O&amp;nbsp;&lt;/span&gt;and&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Exit&lt;/span&gt;&amp;nbsp;by pressing&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Ctrl&lt;/span&gt;+&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;X&lt;/span&gt;.&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;You can also check for&amp;nbsp;&lt;a href=&quot;https://www.debian.org/mirror/list&quot; rel=&quot;noreferrer noopener&quot; style=&quot;box-sizing: inherit; color: #0074db; text-decoration-line: none; word-break: break-word;&quot; target=&quot;_blank&quot;&gt;FTP download mirrors&lt;/a&gt;&amp;nbsp;to replace the web address .&lt;/p&gt;&lt;h3 class=&quot;ftwp-heading&quot; id=&quot;ftoc-heading-3&quot; style=&quot;box-sizing: inherit; font-family: Poppins, sans-serif; font-size: 24px; margin: 0px; word-break: break-word;&quot;&gt;Step 2: Upgrade from Debian 9 to Debian 10&lt;/h3&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;1. Update the local package lists:&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(234, 234, 234); box-sizing: inherit; color: #404040; font-family: monospace, monospace; font-size: 16px; overflow-wrap: break-word; overflow: auto; padding: 18px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; display: block; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; word-break: break-all;&quot;&gt;sudo apt-get update&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;2. Next, run updates on the software packages to prepare for the operating system upgrade:&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(234, 234, 234); box-sizing: inherit; color: #404040; font-family: monospace, monospace; font-size: 16px; overflow-wrap: break-word; overflow: auto; padding: 18px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; display: block; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; word-break: break-all;&quot;&gt;sudo apt-get upgrade&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;3. Finally, run the distribution upgrade:&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(234, 234, 234); box-sizing: inherit; color: #404040; font-family: monospace, monospace; font-size: 16px; overflow-wrap: break-word; overflow: auto; padding: 18px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; display: block; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; word-break: break-all;&quot;&gt;sudo apt-get dist-upgrade&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;4. Once the process completes, reboot the system to boot into Debian 10 Buster:&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(234, 234, 234); box-sizing: inherit; color: #404040; font-family: monospace, monospace; font-size: 16px; overflow-wrap: break-word; overflow: auto; padding: 18px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; display: block; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; word-break: break-all;&quot;&gt;sudo reboot&lt;/code&gt;&lt;/pre&gt;&lt;h3 class=&quot;ftwp-heading&quot; id=&quot;ftoc-heading-4&quot; style=&quot;box-sizing: inherit; font-family: Poppins, sans-serif; font-size: 24px; margin: 0px; word-break: break-word;&quot;&gt;Step 3: Verify Debian 10 Update&lt;/h3&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;You can use the&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;&lt;code style=&quot;background-color: #f7f7f7; box-sizing: inherit; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; white-space: pre-wrap; word-break: break-all;&quot;&gt;hostnamectl&lt;/code&gt;&lt;/span&gt;&amp;nbsp;command to display the OS version with the command:&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(234, 234, 234); box-sizing: inherit; color: #404040; font-family: monospace, monospace; font-size: 16px; overflow-wrap: break-word; overflow: auto; padding: 18px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; display: block; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; word-break: break-all;&quot;&gt;hostnamectl&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;The&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Operating System&lt;/span&gt;&amp;nbsp;field should display&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;Debian GNU/Linux 10 (buster)&lt;/span&gt;.&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;The output should appear as:&lt;/span&gt;&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(234, 234, 234); box-sizing: inherit; color: #404040; font-family: monospace, monospace; font-size: 16px; overflow-wrap: break-word; overflow: auto; padding: 18px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; display: block; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; word-break: break-all;&quot;&gt;PRETTY_NAME=&quot;Debian GNU/Linux 10 (buster)&quot;
NAME=&quot;Debian GNU/Linux&quot;
VERSION_ID=&quot;10&quot;
VERSION=&quot;10 (buster)&quot;
ID=debian
HOME_URL=&quot;https://www.debian.org/&quot;
SUPPORT_URL=&quot;https://www.debian.org/support&quot;
BUG_REPORT_URL=&quot;https://bugs.debian.org/&quot;&lt;/code&gt;&lt;/pre&gt;&lt;h3 class=&quot;ftwp-heading&quot; id=&quot;ftoc-heading-5&quot; style=&quot;box-sizing: inherit; font-family: Poppins, sans-serif; font-size: 24px; margin: 0px; word-break: break-word;&quot;&gt;(Optional) Step 4: Remove Outdated Packages&lt;/h3&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;After the upgrade to Debian 10, your system might have outdated packages and dependencies which are no longer necessary.&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;To remove outdated packages, run the&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;&lt;code style=&quot;background-color: #f7f7f7; box-sizing: inherit; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; white-space: pre-wrap; word-break: break-all;&quot;&gt;--purge autoremove&lt;/code&gt;&lt;/span&gt;&amp;nbsp;command:&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background-color: #f7f7f7; border: 1px solid rgb(234, 234, 234); box-sizing: inherit; color: #404040; font-family: monospace, monospace; font-size: 16px; overflow-wrap: break-word; overflow: auto; padding: 18px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; display: block; font-family: monospace, monospace; font-size: 1em; overflow-wrap: break-word; overflow: auto; word-break: break-all;&quot;&gt;sudo apt --purge autoremove&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;Conclusion&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;By following the directions above, you should have successfully&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;upgraded from Debian 9 to Debian 10.&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: bolder;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; color: #404040; font-family: Roboto, sans-serif; font-size: 16px; margin-block: 0px 1em; word-break: break-word;&quot;&gt;&lt;span style=&quot;box-sizing: inherit;&quot;&gt;Source:&amp;nbsp;https://phoenixnap.com/kb/how-to-upgrade-debian-9-stretch-to-debian-10-buster&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/1909597772046860366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2021/12/how-to-upgrade-debian-9-stretch-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/1909597772046860366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/1909597772046860366'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2021/12/how-to-upgrade-debian-9-stretch-to.html' title='How to upgrade Debian 9 Stretch to Linux Debian 10 Buster'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-427108230618922360</id><published>2021-12-09T17:03:00.001-08:00</published><updated>2021-12-09T17:03:09.648-08:00</updated><title type='text'>HOW TO USE NMAP TO SCAN ANY PORT [UDP/TCP] [2021]</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;background-color: #fffbf4; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px;&quot;&gt;We can use several NMAP command flags to scan specific TCP and UDP ports, as seen in&lt;/span&gt;&lt;span style=&quot;background-color: #fffbf4; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px;&quot;&gt;Table 1.1&lt;/strong&gt;&lt;span style=&quot;background-color: #fffbf4; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fffbf4; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px;&quot;&gt;below.&lt;/span&gt;&lt;/p&gt;&lt;figure class=&quot;wp-block-table&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 1em; overflow-x: auto;&quot;&gt;&lt;table style=&quot;border-collapse: collapse; box-sizing: inherit; width: 800px;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit;&quot;&gt;&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;NMAP Command Flag&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;Scan all ports&lt;/td&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;-p “*”&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;Scan top ports&lt;/td&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;–top-ports [number]&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;Scan specific ports&lt;/td&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;-p [port]&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;Scan ports by name&lt;/td&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;-p [name]&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;Scan ports by protocol&amp;nbsp;&lt;/td&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;-p U:[UDP ports],T:[TCP ports]&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;Perform a fast scan&lt;/td&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;-F&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;Perform a sequential port scan&lt;/td&gt;&lt;td style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;-r&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;figcaption style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Table 1.1:&amp;nbsp;&lt;/strong&gt;[NMAP Scan Any Port]: Flags summary&lt;/figcaption&gt;&lt;/figure&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Let’s discuss each NMAP flag in the above table, their syntax, and use case.&amp;nbsp;&lt;/p&gt;&lt;div aria-hidden=&quot;true&quot; class=&quot;wp-block-spacer&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; clear: both; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; height: 10px;&quot;&gt;&lt;/div&gt;&lt;h2 id=&quot;scan-all-ports-with-nmap&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: var(--headline); font-size: 2.75rem; letter-spacing: -2px; line-height: 1.25; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Scan All Ports With NMAP&lt;/strong&gt;&lt;/h2&gt;&lt;blockquote class=&quot;wp-block-quote&quot; style=&quot;background-color: #fffbf4; border-left: 5px solid var(--primary); box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; font-style: italic; margin: 0px; opacity: 0.75; padding-left: 2.5rem;&quot;&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;FLAG:&amp;nbsp;&lt;/strong&gt;-p “*”&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Command syntax:&amp;nbsp;&lt;/strong&gt;nmap -p “*” [Target]&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Description:&amp;nbsp;&lt;/strong&gt;Perform NMAP scan for all 65,535 TCP/UDP ports. This command do does not mandate elevated privileges.&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;The NMAP&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Scan All Ports&lt;/strong&gt;&amp;nbsp;flag will produce a scan for&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;all 65,535 TCP and UDP ports&lt;/strong&gt;&amp;nbsp;on a target machine and output a list of open ports as well as the services running on a specific port [&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.&lt;/strong&gt;1].&lt;/p&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Scan All Ports example. Source: nudesystems.com&quot; src=&quot;https://lh4.googleusercontent.com/Y3e0WVaK5crit2V8-fGEnFAZKR3lM7niuYiHj7UBisQ3Cf2xTu1pMR7Uo_2_qFAKQSildq26dlmMmjuxnp0fjfC_7xKqhz4AaX2dQxmZufR1Pin-WQA2CYxyaWAMbLEFvolC_A0&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; width: 727px;&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.1:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Scan All Ports example.&amp;nbsp;&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Make sure your wildcard [&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;*&lt;/span&gt;&lt;/strong&gt;] statement is enclosed in quotes (&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;“”&lt;/span&gt;&lt;/strong&gt;); otherwise, NMAP will throw a syntax error, as seen in&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.&lt;/strong&gt;2 below.&lt;/p&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Use of wrong wildcard quotes. Source: nudesystems.com&quot; src=&quot;https://lh4.googleusercontent.com/TQ3A7FyS7BmUNwdaLDyFD6SUQKKJwtkijfVDP4MT7Xli2Ey-TaUa9hm_cDwix1OrKu8w1g8LgDzknMmcZ2pdmm5_1qG3XhXoPO4Otk4eglcf8hu_PPpdU-exsfAJyu62fw1DIis&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; width: 800px;&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.2:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Use of wrong wildcard quotes.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;div aria-hidden=&quot;true&quot; class=&quot;wp-block-spacer&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; clear: both; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; height: 10px;&quot;&gt;&lt;/div&gt;&lt;h2 id=&quot;scan-top-ports-with-nmap&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: var(--headline); font-size: 2.75rem; letter-spacing: -2px; line-height: 1.25; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Scan Top Ports With NMAP&lt;/strong&gt;&lt;/h2&gt;&lt;blockquote class=&quot;wp-block-quote&quot; style=&quot;background-color: #fffbf4; border-left: 5px solid var(--primary); box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; font-style: italic; margin: 0px; opacity: 0.75; padding-left: 2.5rem;&quot;&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Flag:&amp;nbsp;&lt;/strong&gt;–top-ports [Number]&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Command Syntax:&amp;nbsp;&lt;/strong&gt;nmap –top-ports [Number] [Target]&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Description:&amp;nbsp;&lt;/strong&gt;Perform an NMAP scan by specifying the number of top-ranked ports to scan.&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;The NMAP&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Scan Top Ports&lt;/strong&gt;&amp;nbsp;flag allows us to define the number of top-ranked ports to scan. For example, let’s assume we want to scan the top commonly used 50 ports.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;The NMAP command for scanning the top commonly used ports is shown below with the output in&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.&lt;/strong&gt;3.&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background: rgb(43, 43, 43); border-radius: 0.3em; box-sizing: inherit; color: #2b2b2b; font-size: 18.4px; margin: 0.5em auto; overflow: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; color: #f8f8f2; display: block; overflow-wrap: break-word; overflow-x: initial; padding-left: 0px; white-space: pre-wrap;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;nmap – top-ports 10000 172.16.121.134&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-1411, #ffc72e);&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;NOTE:&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;em style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-1411, #ffc72e);&quot;&gt;Remember to replace the IP address in my example with your target IP address.&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter size-large&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Scan top 50 most commonly used ports. Source: nudesystems.com&quot; class=&quot;wp-image-3419 ls-is-cached lazyloaded&quot; data-sizes=&quot;(max-width: 653px) 100vw, 653px&quot; data-src=&quot;https://nudesystems.com/wp-content/uploads/2021/05/Scan-any-port-Figure-6.png&quot; data-srcset=&quot;https://nudesystems.com/wp-content/uploads/2021/05/Scan-any-port-Figure-6.png 653w, https://nudesystems.com/wp-content/uploads/2021/05/Scan-any-port-Figure-6-300x111.png 300w&quot; height=&quot;241&quot; sizes=&quot;(max-width: 653px) 100vw, 653px&quot; src=&quot;https://nudesystems.com/wp-content/uploads/2021/05/Scan-any-port-Figure-6.png&quot; srcset=&quot;https://nudesystems.com/wp-content/uploads/2021/05/Scan-any-port-Figure-6.png 653w, https://nudesystems.com/wp-content/uploads/2021/05/Scan-any-port-Figure-6-300x111.png 300w&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; opacity: 1; transition: opacity 400ms ease 0ms; width: 653px;&quot; width=&quot;653&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.3:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Scan top 50 most commonly used ports.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Let’s perform another scan, this time for the top 10000 commonly used ports on a target machine using the NMAP command below and the output shown in&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.&lt;/strong&gt;4&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background: rgb(43, 43, 43); border-radius: 0.3em; box-sizing: inherit; color: #2b2b2b; font-size: 18.4px; margin: 0.5em auto; overflow: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; color: #f8f8f2; display: block; overflow-wrap: break-word; overflow-x: initial; padding-left: 0px; white-space: pre-wrap;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;nmap – top-ports 10000 172.16.121.134&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Scan the top 10000 top ports. Source: nudesystems.com&quot; src=&quot;https://lh5.googleusercontent.com/qjXruRepZ1FuxKhkSnNJHu64pumn7SUtSm2X8EBtCOCGuAKOpfYnJDX_L2OizIakjM8yzdYIQeP3CfUDrbSCu0JXmLHTw-Wb3iujlROS4hyIStMmX-R55MhYnddFmeI-Vq27Bj8&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; width: 662px;&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.4:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Scan the top 10000 top ports.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-1411, #ffc72e);&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;NOTE:&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;em style=&quot;box-sizing: inherit;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-1411, #ffc72e);&quot;&gt;Top commonly used ports e.g., 10000, do not refer to the range of ports starting with, e.g., 1 to 10000.&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;div aria-hidden=&quot;true&quot; class=&quot;wp-block-spacer&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; clear: both; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; height: 10px;&quot;&gt;&lt;/div&gt;&lt;h2 id=&quot;scan-specific-ports-with-nmap&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: var(--headline); font-size: 2.75rem; letter-spacing: -2px; line-height: 1.25; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Scan Specific Ports With NMAP&lt;/strong&gt;&lt;/h2&gt;&lt;blockquote class=&quot;wp-block-quote&quot; style=&quot;background-color: #fffbf4; border-left: 5px solid var(--primary); box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; font-style: italic; margin: 0px; opacity: 0.75; padding-left: 2.5rem;&quot;&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Flag:&amp;nbsp;&lt;/strong&gt;-p&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Command Syntax:&amp;nbsp;&lt;/strong&gt;nmap -p [Port] [Target]&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Description:&amp;nbsp;&lt;/strong&gt;Perform an NMAP scan for a specified port or range of ports.&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;The&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Scan Specific Port&lt;/strong&gt;(s) flag instructs NMAP to perform a scan on a single port or multiple ports [separated by a comma and no spaces] on a specified target. Check out the list of the&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;em style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://nudesystems.com/most-commonly-hacked-ports/&quot; rel=&quot;noreferrer noopener&quot; style=&quot;box-sizing: inherit; outline: none; transition: all 0.2s ease 0s;&quot; target=&quot;_blank&quot;&gt;most commonly hacked&lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;&amp;nbsp;ports for your reference.&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Let’s practice this method by instructing NMAP to scan a single port, e.g.,&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;port 80,&lt;/strong&gt;&amp;nbsp;using the following command with the output shown in&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.&lt;/strong&gt;5.&amp;nbsp;&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background: rgb(43, 43, 43); border-radius: 0.3em; box-sizing: inherit; color: #2b2b2b; font-size: 18.4px; margin: 0.5em auto; overflow: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; color: #f8f8f2; display: block; overflow-wrap: break-word; overflow-x: initial; padding-left: 0px; white-space: pre-wrap;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;nmap -p 80 172.16.121.134&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Scan port 80. Source: nudesystems.com&quot; src=&quot;https://lh3.googleusercontent.com/pw74O9XZNx5UWPSEZYcO2cxqd_Bxd3ID--aadgtmHexqoOlqkdKwxbjxm-2VUHASUp7v3Dzo-pTyNT9UxS4qMx0YbKZ6u80RpsA7YP9HHw0PxvnaVHBqSISzUIUkZHsneegWnus&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; width: 614px;&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.5:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Scan port 80.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Next, let’s instruct NMAP to scan multiple or a range of ports, e.g.,&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;25, 53, 80-500&lt;/strong&gt;&amp;nbsp;using the command below with the output seen in&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.&lt;/strong&gt;6.&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background: rgb(43, 43, 43); border-radius: 0.3em; box-sizing: inherit; color: #2b2b2b; font-size: 18.4px; margin: 0.5em auto; overflow: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; color: #f8f8f2; display: block; overflow-wrap: break-word; overflow-x: initial; padding-left: 0px; white-space: pre-wrap;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;nmap -p 25,53,80-500 172.16.121.134&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Scan port 80. Source: nudesystems.com&quot; src=&quot;https://lh5.googleusercontent.com/XGh0sZ0AvrDh4HhnA713MkHxppYauzrP4bBU611Kccq8s89GtnyuOpVyfdstni-Ku-HO1DIdbfWgXnjvwi3Y5MQnJJ22nCm_DpcK8tEukKYsQ2LPEbC7a9HR1EBfN1dShQg_zfM&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; width: 580px;&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.6:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Scan port 80.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;div aria-hidden=&quot;true&quot; class=&quot;wp-block-spacer&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; clear: both; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; height: 10px;&quot;&gt;&lt;/div&gt;&lt;h2 id=&quot;scan-ports-by-name-with-nmap&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: var(--headline); font-size: 2.75rem; letter-spacing: -2px; line-height: 1.25; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Scan Ports By Name With NMAP&lt;/strong&gt;&lt;/h2&gt;&lt;blockquote class=&quot;wp-block-quote&quot; style=&quot;background-color: #fffbf4; border-left: 5px solid var(--primary); box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; font-style: italic; margin: 0px; opacity: 0.75; padding-left: 2.5rem;&quot;&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Flag:&amp;nbsp;&lt;/strong&gt;-p&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Command Syntax:&amp;nbsp;&lt;/strong&gt;nmap -p [Port name(s)] [Target]&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Description:&amp;nbsp;&lt;/strong&gt;Perform an NMAP scan for a specified port or ports.&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;The NMAP&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Scan Ports By Name&lt;/strong&gt;&amp;nbsp;uses the same&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;-p&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;flag as used in the previous method. Here we will instruct NMAP to scan based on the port name [http,ftp,smtp] and not a number.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-1411, #ffc72e);&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;NOTE:&amp;nbsp;&lt;em style=&quot;box-sizing: inherit;&quot;&gt;When scanning multiple ports by name, make sure you separate the name with a comma and no spaces.&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;The port name must match the exact name as specified in the&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;nmap-service&lt;/strong&gt;&amp;nbsp;file.&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;On Windows, you can find the&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;nmap-service&lt;/strong&gt;&amp;nbsp;file in the&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;c:\Program Files\Nmap\&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;folder. On Linux/UNIX, the&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&amp;nbsp;nmap-service&lt;/strong&gt;&amp;nbsp;file is generally located in&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&amp;nbsp;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;/usr/share/nmap&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;folder [Kali Linux 2021].&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Alternatively, you can access the list of NMAP port names included in the nmap-service file&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;&lt;a class=&quot;rank-math-link&quot; href=&quot;https://svn.nmap.org/nmap/nmap-services&quot; rel=&quot;noopener&quot; style=&quot;box-sizing: inherit; outline: none; transition: all 0.2s ease 0s;&quot; target=&quot;_blank&quot;&gt;HERE&lt;/a&gt;&lt;/span&gt;.&lt;/strong&gt;&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Let’s instruct NMAP to scan the FTP [21] and HTTP [80] ports on a target using the following command and the output shown in&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.&lt;/strong&gt;7.&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background: rgb(43, 43, 43); border-radius: 0.3em; box-sizing: inherit; color: #2b2b2b; font-size: 18.4px; margin: 0.5em auto; overflow: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; color: #f8f8f2; display: block; overflow-wrap: break-word; overflow-x: initial; padding-left: 0px; white-space: pre-wrap;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;nmap -p ftp,http 172.16.121.134&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Scan FTP and HTTP ports using the port name. Source: nudesystems.com&quot; src=&quot;https://lh6.googleusercontent.com/XMe7XpWJcEm3a7wfGntPboDdJur79UkdOFMim3JZ1WSYBzZON6E83iuChRMCv36223UXrryzl44NaYXWoFfe1bq2SVBU28B94YMunll6XNmpztMImAWR10UuJcqNB7xyjw_RWqM&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; width: 599px;&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.7:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Scan FTP and HTTP ports using the port name.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;This NMAP command flag also supports wildcard. Let’s filter all the FTP ports using the command below with the output shown in&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.8&lt;/strong&gt;.&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background: rgb(43, 43, 43); border-radius: 0.3em; box-sizing: inherit; color: #2b2b2b; font-size: 18.4px; margin: 0.5em auto; overflow: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; color: #f8f8f2; display: block; overflow-wrap: break-word; overflow-x: initial; padding-left: 0px; white-space: pre-wrap;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;nmap -p ftp* 172.16.121.134&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Scan FTP and HTTP ports using the port name wildcard. Source: nudesystems.com&quot; src=&quot;https://lh5.googleusercontent.com/y8Xic-KA2vngNbNaXqsomwcuU1CLCRboYQRMIc2NxJFkwnA-O4WDcdzL0IAa3XfBW5wTS5nUGDR_9ydbSfotld5BY5sqNprmCyGNQ_-_kmRwr743pOx8vQl1En9eHs4mX5_nZ6k&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; width: 614px;&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.8:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Scan FTP and HTTP ports using the port name wildcard.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;div aria-hidden=&quot;true&quot; class=&quot;wp-block-spacer&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; clear: both; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; height: 10px;&quot;&gt;&lt;/div&gt;&lt;h2 id=&quot;scan-ports-by-protocol-with-nmap&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: var(--headline); font-size: 2.75rem; letter-spacing: -2px; line-height: 1.25; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Scan Ports By Protocol With NMAP&lt;/strong&gt;&lt;/h2&gt;&lt;blockquote class=&quot;wp-block-quote&quot; style=&quot;background-color: #fffbf4; border-left: 5px solid var(--primary); box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; font-style: italic; margin: 0px; opacity: 0.75; padding-left: 2.5rem;&quot;&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Flag:&amp;nbsp;&lt;/strong&gt;-p&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Additional Flags:&amp;nbsp;&lt;/strong&gt;U:[UDP Ports],T:[TCP Ports]&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Command Syntax:&amp;nbsp;&lt;/strong&gt;nmap -p U:[UDP Ports],T:[TCP Ports] [Target]&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Description:&amp;nbsp;&lt;/strong&gt;Search for a specific protocol and port combination.&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;As in previous examples, the&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Scan Ports By Protocol&lt;/strong&gt;&amp;nbsp;method uses the&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;-p&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;option followed by&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;T:&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;[for TCP ports] and&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;U:&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;[for UDP ports] flags. Simply said, we will instruct NMAP to scan for a specific TCP and UDP port on a target machine in a single command line.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Let’s execute a scan using this method for UDP port 53 [DNS] and TCP port 25 [SMTP], as shown in&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.&lt;/strong&gt;9 below. Pay attention to the NMAP&amp;nbsp;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-1411, #ffc72e);&quot;&gt;WARNING&lt;/span&gt;&amp;nbsp;message highlight in yellow.&lt;/p&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot; [NMAP Scan Any Port]: Scan ports by protocol. Source: nudesystems.com&quot; src=&quot;https://lh4.googleusercontent.com/hDZ44Zr1ZhEiwID4Y-yi1F3KvLJ6LDUxiqpVSzASSx6Ru3fM310lA4eGRCypzz28TxUa1mNzDs8sgym7Nk1WQ1GYjVzZKvVWhglkG7MzOzPBHHqE2ziRaJyd4w4pdT1t97Zq4do&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; width: 669px;&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.9:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Scan ports by protocol.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;By default, NMAP scans only the TCP ports. We need to instruct NMAP to check the UDP ports as well. To do that, we need to enforce our command with the additional&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;-sU&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;-sT&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;flags.&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;So let’s run the command again, this time including the additional flags as shown below with the output in&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure: 1.1&lt;/strong&gt;0.&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;background: rgb(43, 43, 43); border-radius: 0.3em; box-sizing: inherit; color: #2b2b2b; font-size: 18.4px; margin: 0.5em auto; overflow: auto; padding: 1em;&quot;&gt;&lt;code style=&quot;box-sizing: inherit; color: #f8f8f2; display: block; overflow-wrap: break-word; overflow-x: initial; padding-left: 0px; white-space: pre-wrap;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;nmap -sU -sT -p U:53,T:25 172.16.121.134&lt;/strong&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Scan ports by protocol. Source: nudesystems.com&quot; src=&quot;https://lh4.googleusercontent.com/uWw33cVlxNIOkGCSwJtjZhhhekHDZAt3PShdlH3Mi7F2xtpSAvb93paCScPyf8GHwbs6YX1LzDsQnX7vzN6urjmy-uVlPOE8ksSvIbBxglSXc9nXMu76Nluvhk9hBUDuLRMSBPs&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; width: 586px;&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.10:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Scan ports by protocol.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Voilà! Both TCP port 25 and UDP port 53 were successfully scanned on the target machine.&amp;nbsp;&lt;/p&gt;&lt;div aria-hidden=&quot;true&quot; class=&quot;wp-block-spacer&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; clear: both; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; height: 10px;&quot;&gt;&lt;/div&gt;&lt;h2 id=&quot;fast-scan-flag-with-nmap&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: var(--headline); font-size: 2.75rem; letter-spacing: -2px; line-height: 1.25; margin-bottom: 0.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Fast Scan Flag With NMAP&lt;/strong&gt;&lt;/h2&gt;&lt;blockquote class=&quot;wp-block-quote&quot; style=&quot;background-color: #fffbf4; border-left: 5px solid var(--primary); box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; font-style: italic; margin: 0px; opacity: 0.75; padding-left: 2.5rem;&quot;&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;FLAG:&amp;nbsp;&lt;/strong&gt;-F&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Command Syntax:&amp;nbsp;&lt;/strong&gt;nmap -F [Target]&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;box-sizing: inherit; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Description:&amp;nbsp;&lt;/strong&gt;Perform a fast scan of only 100 most commonly used ports. Do not mandate elevated privileges.&lt;/p&gt;&lt;/blockquote&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;As explained in the previous sections, NMAP will scan by default only the commonly used 1000 ports.&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;The NMAP&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Fast Scan&lt;/strong&gt;&amp;nbsp;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Flag&lt;/strong&gt;&amp;nbsp;will reduce the number of ports scanned from 1000 to 100 [commonly used ports] and drastically improve the time per scan while still providing us valuable information on the open ports in numerical order [&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.1&lt;/strong&gt;1].&lt;/p&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter size-large&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Fast Scan Flag. Source: nudesystems.com&quot; class=&quot;wp-image-3422 ls-is-cached lazyloaded&quot; data-sizes=&quot;(max-width: 614px) 100vw, 614px&quot; data-src=&quot;https://nudesystems.com/wp-content/uploads/2021/05/scan-FTP-and-HTTP.png&quot; data-srcset=&quot;https://nudesystems.com/wp-content/uploads/2021/05/scan-FTP-and-HTTP.png 614w, https://nudesystems.com/wp-content/uploads/2021/05/scan-FTP-and-HTTP-300x140.png 300w&quot; height=&quot;287&quot; sizes=&quot;(max-width: 614px) 100vw, 614px&quot; src=&quot;https://nudesystems.com/wp-content/uploads/2021/05/scan-FTP-and-HTTP.png&quot; srcset=&quot;https://nudesystems.com/wp-content/uploads/2021/05/scan-FTP-and-HTTP.png 614w, https://nudesystems.com/wp-content/uploads/2021/05/scan-FTP-and-HTTP-300x140.png 300w&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; opacity: 1; transition: opacity 400ms ease 0ms; width: 614px;&quot; width=&quot;614&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.11:&lt;/strong&gt;&amp;nbsp;[NMAP Scan Any Port]: Fast Scan Flag.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;But wait! There’s a catch.&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Each time NMAP shows an output will automatically sort the final result. We can use the additional flag&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;&lt;span class=&quot;ugb-highlight&quot; style=&quot;box-sizing: inherit; color: var(--stk-global-color-41460, #ff4d3c);&quot;&gt;&amp;nbsp;-v&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;[verbose mode] and see the sequential port scan in real-time [&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.1&lt;/strong&gt;2].&lt;/p&gt;&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin: 0px 0px 2.5rem;&quot;&gt;&lt;figure class=&quot;aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; display: table; height: auto; margin: 0px auto; max-width: 100%;&quot;&gt;&lt;img alt=&quot;[NMAP Scan Any Port]: Example of a sequential port scan in verbose mode. Source: nudesystems.com&quot; src=&quot;https://lh4.googleusercontent.com/n-B6sG7_IhsE7DP5sozBQRL43hUJn-8Pr8R-fYQquXrLNWzkoglHszYI66IhUEzhYp3vhTZzwhSvX3cE44Zah0bHsJsLla_8NdLjkoh4JLMC7BkStlvkGBIctfHrKv6rDB6aYq0&quot; style=&quot;border-radius: inherit; box-sizing: inherit; height: auto; max-width: 100%; width: 800px;&quot; /&gt;&lt;figcaption style=&quot;box-sizing: inherit; caption-side: bottom; display: table-caption; margin-bottom: 1em; margin-top: 0.5em;&quot;&gt;&lt;strong style=&quot;box-sizing: inherit;&quot;&gt;Figure 1.12&lt;/strong&gt;: [NMAP Scan Any Port]: Example of a sequential port scan in verbose mode.&lt;/figcaption&gt;&lt;/figure&gt;&lt;/div&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;That’s it. By now, you should know how to use NMAP to scan any TCP and UDP port(s) on a target computer.&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;Source:&amp;nbsp;https://nudesystems.com/how-to-use-nmap-to-scan-any-port-udp-tcp-2021/&lt;/p&gt;&lt;p style=&quot;background-color: #fffbf4; box-sizing: inherit; color: #2b2b2b; font-family: Arial, Helvetica, sans-serif; font-size: 18.4px; margin-bottom: 2.5rem; margin-top: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/427108230618922360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2021/12/how-to-use-nmap-to-scan-any-port-udptcp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/427108230618922360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/427108230618922360'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2021/12/how-to-use-nmap-to-scan-any-port-udptcp.html' title='HOW TO USE NMAP TO SCAN ANY PORT [UDP/TCP] [2021]'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh4.googleusercontent.com/Y3e0WVaK5crit2V8-fGEnFAZKR3lM7niuYiHj7UBisQ3Cf2xTu1pMR7Uo_2_qFAKQSildq26dlmMmjuxnp0fjfC_7xKqhz4AaX2dQxmZufR1Pin-WQA2CYxyaWAMbLEFvolC_A0=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-7470976630190956138</id><published>2021-06-22T21:16:00.001-07:00</published><updated>2021-06-22T21:16:54.684-07:00</updated><title type='text'>Querying SQL Server Agent Job History Data</title><content type='html'>&lt;h5 style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 1.75rem; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;Problem&lt;/h5&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;Often times we are tasked with having to programmatically come with a list of durations per&amp;nbsp;&lt;a href=&quot;https://www.mssqltips.com/sql-server-tip-category/27/sql-server-agent/&quot; style=&quot;box-sizing: inherit; color: #008cba; line-height: inherit; text-decoration-line: none;&quot;&gt;SQL Server Agent Job&lt;/a&gt;&amp;nbsp;to trend the run times and order the results by date. Unfortunately Microsoft has not made that very easy in the way the data is stored in the system tables in the&amp;nbsp;&lt;a href=&quot;https://www.mssqltips.com/sqlservertip/1420/sql-server-system-databases/&quot; style=&quot;box-sizing: inherit; color: #008cba; line-height: inherit; text-decoration-line: none;&quot;&gt;MSDB database&lt;/a&gt;. In this tip I will explain how to use the system tables to get the data into the correct format for dates and job durations.&lt;/p&gt;&lt;h5 style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 1.75rem; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;Solution&lt;/h5&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;SQL Server stores job information in the&amp;nbsp;&lt;a href=&quot;https://www.mssqltips.com/sqlservertip/1420/sql-server-system-databases/&quot; style=&quot;box-sizing: inherit; color: #008cba; line-height: inherit; text-decoration-line: none;&quot;&gt;MSDB&lt;/a&gt;&amp;nbsp;system tables. The table that stores historical job executions is&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms174997.aspx&quot; style=&quot;box-sizing: inherit; color: #008cba; line-height: inherit; text-decoration-line: none;&quot;&gt;msdb.dbo.sysjobhistory&lt;/a&gt;&amp;nbsp;and the date/time information as well as the duration of the job execution is stored a little different than what you will see in most system tables. Let&#39;s dive into the tables to learn how to perform the calculations.&lt;/p&gt;&lt;h3 style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 1.3rem; font-weight: 400; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;MSDB.dbo.sysjobhistory Table - run_date and run_time Columns&lt;/h3&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;In the msdb.dbo.sysjobhistory table, the date (run_date column) and time (run_time column) are stored as two different columns and the columns are an INT data type as seen in the screenshot below.&lt;/p&gt;&lt;div class=&quot;imageborder&quot; style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px 0px 20px; padding: 0px; text-align: center;&quot;&gt;&lt;img alt=&quot;msdb.dbo.sysjobhistory table&quot; border=&quot;0&quot; src=&quot;https://www.mssqltips.com/tipimages2/2850_1_sysjobhistory.jpg&quot; style=&quot;box-sizing: inherit; display: inline-block; height: auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;If you were to query the sysjobhistory (joined to sysjobs of course) this is what the raw data would look like. Note run_date appears to be in YYYYMMDD format but the time is a little trickier. It is in format HHMMSS and not always 6 numbers long as you can see in this example the times are 3:30 AM represented by 33000 in the run_time column.&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;/p&gt;&lt;div class=&quot;imageborder&quot; style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px 0px 20px; padding: 0px; text-align: center;&quot;&gt;&lt;img alt=&quot;Original Columns with DATE/TIME from the MSDB.dbo.sysjobhistory table&quot; border=&quot;0&quot; src=&quot;https://www.mssqltips.com/tipimages2/2850_2_QueryOriginalFieldsDateTime.jpg&quot; style=&quot;box-sizing: inherit; display: inline-block; height: auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/div&gt;&lt;br style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px;&quot; /&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;The result set in the picture above was generated by running the following T-SQL script:&lt;/p&gt;&lt;div class=&quot;codediv&quot; style=&quot;background-color: #ffffe1; border-collapse: separate; border-spacing: 5px; border: 1px solid rgb(170, 170, 170); box-sizing: inherit; color: #222222; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 9pt; margin: 0px 0px 20px; overflow: auto; padding: 4px; width: 936px;&quot;&gt;&lt;pre style=&quot;box-sizing: inherit; margin-bottom: 0px; margin-top: 0px; padding: 0px;&quot;&gt;select 
 j.name as &#39;JobName&#39;,
 run_date,
 run_time
From msdb.dbo.sysjobs j 
INNER JOIN msdb.dbo.sysjobhistory h 
 ON j.job_id = h.job_id 
where j.enabled = 1  --Only Enabled Jobs
order by JobName, run_date, run_time desc
&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;This can be very confusing when trying to analyze these results and more importantly trying to order results by date and time, which as a common practice for DBA&#39;s. There are many ways to get the date/time into a true DATETIME format and I have seen some very creative scripts over the years. Starting in SQL Server 2005 there is an system scalar function located in MSDB that will convert this for you. I say it is undocumented as I could not find a BOL article for it. The function name is&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: 700; line-height: inherit;&quot;&gt;MSDB.dbo.agent_datetime(run_date, run_time)&lt;/span&gt;&amp;nbsp;and will return a nicely formatted DATETIME column that is much easier to use programmatically. Below is the same query as the first one above with just an additional column that is a call to this function.&lt;/p&gt;&lt;div class=&quot;codediv&quot; style=&quot;background-color: #ffffe1; border-collapse: separate; border-spacing: 5px; border: 1px solid rgb(170, 170, 170); box-sizing: inherit; color: #222222; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 9pt; margin: 0px 0px 20px; overflow: auto; padding: 4px; width: 936px;&quot;&gt;&lt;pre style=&quot;box-sizing: inherit; margin-bottom: 0px; margin-top: 0px; padding: 0px;&quot;&gt;select 
 j.name as &#39;JobName&#39;,
 run_date,
 run_time,
 msdb.dbo.agent_datetime(run_date, run_time) as &#39;RunDateTime&#39;
From msdb.dbo.sysjobs j 
INNER JOIN msdb.dbo.sysjobhistory h 
 ON j.job_id = h.job_id 
where j.enabled = 1  --Only Enabled Jobs
order by JobName, RunDateTime desc
&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;Below are the results that this query produces and the nicely formatted DATETIME column at the end. This makes sorting easy as well as date range queries against your SQL Agent Jobs.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;New Columns with DATE/TIME formatted data from the msdb.dbo.sysjobhistory table&quot; border=&quot;0&quot; src=&quot;https://www.mssqltips.com/tipimages2/2850_3_QueryNewFieldsDateTime.jpg&quot; style=&quot;box-sizing: inherit; color: #222222; display: inline-block; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; height: auto; max-width: 100%; text-align: center; vertical-align: middle;&quot; /&gt;&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/7470976630190956138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2021/06/querying-sql-server-agent-job-history.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/7470976630190956138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/7470976630190956138'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2021/06/querying-sql-server-agent-job-history.html' title='Querying SQL Server Agent Job History Data'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-1125635389423220621</id><published>2021-06-08T17:06:00.004-07:00</published><updated>2021-06-08T17:10:02.733-07:00</updated><title type='text'>How to monitor backup and restore progress in SQL Server</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: white; color: #363b3f; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;Below script can give us a summary of current backups and restores which are happening on the server:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3 style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 1.3rem; font-weight: 400; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;&lt;div style=&quot;box-sizing: border-box; color: #363b3f; font-family: &amp;quot;open sans&amp;quot;, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&lt;div class=&quot;syntaxhighlighter sql&quot; id=&quot;highlighter_298891&quot; style=&quot;box-sizing: border-box; font-size: 1em; margin: 1em 0px; overflow: auto hidden; position: relative; width: 718.953px;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background: none; border-collapse: collapse; border-radius: 0px; border-spacing: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; table-layout: auto; vertical-align: baseline; width: 937.281px;&quot;&gt;&lt;tbody style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&lt;tr style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #afafaf; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;1&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;2&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;3&lt;/div&gt;&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;4&lt;/div&gt;&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;5&lt;/div&gt;&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;6&lt;/div&gt;&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;7&lt;/div&gt;&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;8&lt;/div&gt;&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;9&lt;/div&gt;&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;10&lt;/div&gt;&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;11&lt;/div&gt;&lt;div class=&quot;line number12 index11 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;12&lt;/div&gt;&lt;div class=&quot;line number13 index12 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;13&lt;/div&gt;&lt;div class=&quot;line number14 index13 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;14&lt;/div&gt;&lt;div class=&quot;line number15 index14 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;15&lt;/div&gt;&lt;div class=&quot;line number16 index15 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;16&lt;/div&gt;&lt;div class=&quot;line number17 index16 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;17&lt;/div&gt;&lt;div class=&quot;line number18 index17 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;18&lt;/div&gt;&lt;div class=&quot;line number19 index18 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-radius: 0px; border-right-color: rgb(108, 226, 108); border-right-style: solid; border-top-color: initial; border-top-style: initial; border-width: 0px 3px 0px 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 0.5em 0px 1em; position: static; text-align: right; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;19&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: 897.875px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: relative; vertical-align: baseline; width: auto;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;SELECT&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;r.session_id &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;AS&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;[Session_Id]&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;,r.command &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;AS&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;[command]&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;,&lt;/code&gt;&lt;code class=&quot;sql color2&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: deeppink; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;CONVERT&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;NUMERIC&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(6, 2), r.percent_complete) &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;AS&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;[% Complete]&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;,GETDATE() &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;AS&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;[&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;Current&lt;/code&gt; &lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;Time&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;]&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;,&lt;/code&gt;&lt;code class=&quot;sql color2&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: deeppink; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;CONVERT&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;VARCHAR&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(20), DATEADD(ms, r.estimated_completion_time, GetDate()), 20) &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;AS&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;[Estimated Completion &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;Time&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;]&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;,&lt;/code&gt;&lt;code class=&quot;sql color2&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: deeppink; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;CONVERT&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;NUMERIC&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(32, 2), r.total_elapsed_time / 1000.0 / 60.0) &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;AS&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;[Elapsed &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;Min&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;]&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;,&lt;/code&gt;&lt;code class=&quot;sql color2&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: deeppink; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;CONVERT&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;NUMERIC&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(32, 2), r.estimated_completion_time / 1000.0 / 60.0) &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;AS&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;[Estimated &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;Min&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;]&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;,&lt;/code&gt;&lt;code class=&quot;sql color2&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: deeppink; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;CONVERT&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;NUMERIC&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(32, 2), r.estimated_completion_time / 1000.0 / 60.0 / 60.0) &lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;AS&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;[Estimated Hours]&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;,&lt;/code&gt;&lt;code class=&quot;sql color2&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: deeppink; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;CONVERT&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;VARCHAR&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(1000), (&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;SELECT&lt;/code&gt; &lt;code class=&quot;sql color2&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: deeppink; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;SUBSTRING&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(TEXT, r.statement_start_offset / 2, &lt;/code&gt;&lt;code class=&quot;sql color2&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: deeppink; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;CASE&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;WHEN&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;r.statement_end_offset = - 1&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number12 index11 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;THEN&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;1000&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number13 index12 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;ELSE&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;(r.statement_end_offset - r.statement_start_offset) / 2&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number14 index13 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;END&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;) &lt;/code&gt;&lt;code class=&quot;sql string&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: blue; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&#39;Statement text&#39;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number15 index14 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;FROM&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;sys.dm_exec_sql_text(sql_handle)&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number16 index15 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql spaces&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;))&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number17 index16 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;FROM&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;sys.dm_exec_requests r&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number18 index17 alt1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql keyword&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: #006699; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; font-weight: bold; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;WHERE&lt;/code&gt; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;command &lt;/code&gt;&lt;code class=&quot;sql color1&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: grey; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;like&lt;/code&gt; &lt;code class=&quot;sql string&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: blue; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&#39;RESTORE%&#39;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;line number19 index18 alt2&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; float: none; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px 1em; position: static; vertical-align: baseline; white-space: pre; width: auto;&quot;&gt;&lt;code class=&quot;sql color1&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: grey; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;or&lt;/code&gt;&amp;nbsp; &lt;code class=&quot;sql plain&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;command &lt;/code&gt;&lt;code class=&quot;sql color1&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: grey; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;like&lt;/code&gt; &lt;code class=&quot;sql string&quot; style=&quot;background: none; border-radius: 0px; border: 0px; box-shadow: none; box-sizing: content-box; color: blue; direction: ltr; display: inline; float: none; font-family: Monaco, Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 1em; height: auto; inset: auto; line-height: 1.1em; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto;&quot;&gt;&#39;BACKUP%&#39;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/h3&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; color: #222222; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;&lt;b&gt;Source:&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;background-color: white; box-sizing: inherit; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;&quot;&gt;&lt;a href=&quot;https://blog.sqlauthority.com/2017/03/12/get-status-running-backup-restore-sql-server-interview-question-week-113/&quot;&gt;https://blog.sqlauthority.com/2017/03/12/get-status-running-backup-restore-sql-server-interview-question-week-113/&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/1125635389423220621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2021/06/how-to-monitor-backup-and-restore.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/1125635389423220621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/1125635389423220621'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2021/06/how-to-monitor-backup-and-restore.html' title='How to monitor backup and restore progress in SQL Server'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-7273226150386171877</id><published>2021-06-08T17:02:00.004-07:00</published><updated>2021-06-08T17:02:59.656-07:00</updated><title type='text'>How to get a backup SQL database history</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;header class=&quot;entry-header&quot; style=&quot;background-color: white; box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; margin-bottom: 5px;&quot;&gt;&lt;h1 style=&quot;box-sizing: border-box; clear: both; color: #515092; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, arial, sans-serif; line-height: 1.2; margin: 20px 0px 10px 15px; padding-bottom: 0px; padding-left: 15px; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;How to get a backup SQL database history&lt;/span&gt;&lt;/h1&gt;&lt;div style=&quot;box-sizing: border-box; font-size: 11.4869px; padding-left: 17px; padding-top: 10px;&quot;&gt;&lt;/div&gt;&lt;/header&gt;&lt;div class=&quot;entry-content&quot; style=&quot;background-color: white; box-sizing: border-box; line-height: 1.71429; margin-right: 10px; padding: 15px;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;This article will review how to get information on your backup SQL database history, including the metadata in MSDB that can be queried, as well as value-added tools and features to group, sort, report, and export this critical information&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span id=&quot;more-20308&quot; style=&quot;box-sizing: border-box; font-size: 14.9329px;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;It is essential for each organization to define the backup policy in its environment. Such policies help to recover the database with minimum loss of the data and minimum downtime. SQL Server maintains a backup history in the system database msdb. We might be taking different kinds of backups to the main minimum restoration time. In the case of any disaster, we must know exactly how to get the data from this internal table and prepare the restoration plan accordingly. In this article, we will understand the way to retrieve the database backup history to meet these critical business requirements.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;Below are tables in the msdb database for the database backups.&lt;/p&gt;&lt;h2 style=&quot;box-sizing: border-box; clear: both; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, arial, sans-serif; font-size: 17px; line-height: 1.8; margin: 15px 0px;&quot;&gt;Backupfile&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;This table contains the row for each data or log file of the database for which we executed the backup SQL database. In the following image, we can see essential columns of this table:&lt;/p&gt;&lt;div class=&quot;SQLCodeBlock&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(170, 170, 170); box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; margin-bottom: 5px; margin-left: 10px; margin-top: 5px; padding-left: 10px;&quot;&gt;&lt;pre class=&quot;SQLCode&quot; style=&quot;background-color: transparent; border-radius: 4px; border: none; box-sizing: border-box; color: #333333; font-family: &amp;quot;Courier New&amp;quot;; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 10px; overflow-wrap: break-word; overflow: auto; padding: 0px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;SELECT&lt;/span&gt; [filegroup_name]
      &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;[backed_up_page_count]
      &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;[file_type]
      &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;[file_size]
      &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;[logical_name]
      &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;[physical_name]
  &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;State&lt;/span&gt;
      &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;[state_desc]
      &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;[backup_size]
  &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;[differential_base_lsn]
 &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;FROM&lt;/span&gt; [msdb]&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;[dbo]&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;[backupfile] 
&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;a class=&quot;zoom&quot; href=&quot;https://solutioncenter.apexsql.com/wp-content/uploads/2019/02/query-results-from-backup-sql-database-backupfile.png&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; font-size: 14.9329px; outline: none; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Query results from backup SQL database backupfile MSDB table&quot; src=&quot;https://solutioncenter.apexsql.com/wp-content/uploads/2019/02/query-results-from-backup-sql-database-backupfile.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; font-size: 15.2316px; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;filegroup_name:&lt;/span&gt;&amp;nbsp;It shows the filegroup name of the data or log file. We do not have any filegroup for the log file therefore; this column can contain NULL value.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;backed_up_page_count:&lt;/span&gt;&amp;nbsp;It shows the page count backed up.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;file_type:&lt;/span&gt;&amp;nbsp;We can get the file type using this field. It can have following values.&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.71429; list-style-image: initial; list-style-position: outside; margin: 0px 0px 7px; padding-left: 20px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;D: SQL Server data file&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;L: SQL Server log file&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;F: Full-text catalog&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;S: Memory optimised file&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;Logical_name:&lt;/span&gt;&amp;nbsp;Logical name of the database file.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;Physical_name:&lt;/span&gt;&amp;nbsp;backup physical location.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;State:&lt;/span&gt;&amp;nbsp;It gives the state information of particular file. We can have following values for this.&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.71429; list-style-image: initial; list-style-position: outside; margin: 0px 0px 7px; padding-left: 20px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;0 = ONLINE&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;1 = RESTORING&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;2 = RECOVERING&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;3 = RECOVERY PENDING&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;4 = SUSPECT&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;6 = OFFLINE&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;7 = DEFUNCT&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;8 = DROPPED&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;backup_size:&lt;/span&gt;&amp;nbsp;It gives the backup SQL database size in bytes.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;differential_base_lsn:&lt;/span&gt;&amp;nbsp;SQL Server takes a differential backup for the extents having LSN greater than differential_base_lsn.&lt;/p&gt;&lt;h2 style=&quot;box-sizing: border-box; clear: both; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, arial, sans-serif; font-size: 17px; line-height: 1.8; margin: 15px 0px;&quot;&gt;backupmediafamily&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;In this table, we get the information about the logical and physical backup SQL database file name along with the device type in which backup was taken:&lt;/p&gt;&lt;div class=&quot;SQLCodeBlock&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(170, 170, 170); box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; margin-bottom: 5px; margin-left: 10px; margin-top: 5px; padding-left: 10px;&quot;&gt;&lt;pre class=&quot;SQLCode&quot; style=&quot;background-color: transparent; border-radius: 4px; border: none; box-sizing: border-box; color: #333333; font-family: &amp;quot;Courier New&amp;quot;; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 10px; overflow-wrap: break-word; overflow: auto; padding: 0px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;select&lt;/span&gt; logical_device_name &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;physical_device_name&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;device_type &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;from&lt;/span&gt; backupmediafamily&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; font-size: 14.9329px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;img alt=&quot;Query results from backup SQL database backupmediafamily MSDB table&quot; src=&quot;https://solutioncenter.apexsql.com/wp-content/uploads/2019/02/query-results-from-backup-sql-database-backupmedia.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; font-size: 14.9329px; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;In the above screenshot, we can have the following device types:&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.71429; list-style-image: initial; list-style-position: outside; margin: 0px 0px 7px; padding-left: 20px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;2 = Disk&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;5 = Tape&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;7 = Virtual device&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;9 = Azure Storage&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;105 = A permanent backup SQL database device&lt;/li&gt;&lt;/ul&gt;&lt;h2 style=&quot;box-sizing: border-box; clear: both; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, arial, sans-serif; font-size: 17px; line-height: 1.8; margin: 15px 0px;&quot;&gt;Backupset&lt;/h2&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;In this table, we can get information about the successful backup for each database:&lt;/p&gt;&lt;div class=&quot;SQLCodeBlock&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(170, 170, 170); box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; margin-bottom: 5px; margin-left: 10px; margin-top: 5px; padding-left: 10px;&quot;&gt;&lt;pre class=&quot;SQLCode&quot; style=&quot;background-color: transparent; border-radius: 4px; border: none; box-sizing: border-box; color: #333333; font-family: &amp;quot;Courier New&amp;quot;; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 10px; overflow-wrap: break-word; overflow: auto; padding: 0px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;select&lt;/span&gt; name&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;SQLFunction&quot; style=&quot;box-sizing: border-box; color: magenta; font-size: 13.26px;&quot;&gt;user_name&lt;/span&gt;&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;first_lsn&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;last_lsn&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;database_backup_lsn&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;backup_start_date&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;backup_finish_date&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;
  type&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;database_name&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;server_name&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;machine_name &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;from&lt;/span&gt; backupset&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;a class=&quot;zoom&quot; href=&quot;https://solutioncenter.apexsql.com/wp-content/uploads/2019/02/query-results-from-backup-sql-database-backupset-m.png&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; font-size: 14.9329px; outline: none; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Query results from backup SQL database backupset MSDB table&quot; src=&quot;https://solutioncenter.apexsql.com/wp-content/uploads/2019/02/query-results-from-backup-sql-database-backupset-m.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; font-size: 15.2316px; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;ul style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.71429; list-style-image: initial; list-style-position: outside; margin: 0px 0px 7px; padding-left: 20px;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;Name:&lt;/span&gt;&amp;nbsp;backup SQL database set description&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;User_name:&amp;nbsp;&lt;/span&gt;We can get a user who executed this backup from this column&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;Fist_lsn,last_lsn and database_backup_lsn:&amp;nbsp;&lt;/span&gt;We get the backup LSN information from this column. It can help us to identify the backups after a particular LSN or preparing a restoration plan for a database&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;Backup_start_date and backup_finish_date:&lt;/span&gt;&amp;nbsp;It gives the backup start and ends time&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;Server_name:&lt;/span&gt;&amp;nbsp;It shows the instance name of the server&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;Machine_name:&lt;/span&gt;&amp;nbsp;we can get the name of the machine from which we took the backup&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; font-size: 1em; margin: 0px 0px 0px 1.07143rem;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-size: 14.9329px; font-weight: 700;&quot;&gt;Type:&lt;/span&gt;&amp;nbsp;We can get the backup type using this column value. Here we have the following values&lt;p style=&quot;box-sizing: border-box; font-size: 14.9329px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;D: Full database backup.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-size: 14.9329px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;L: log backup&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-size: 14.9329px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;I: Differential database backup&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;We need to join these multiple tables to get the relevant backup information. For example, we can get the backup history from yesterday using the below query:&lt;/p&gt;&lt;div class=&quot;SQLCodeBlock&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(170, 170, 170); box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; margin-bottom: 5px; margin-left: 10px; margin-top: 5px; padding-left: 10px;&quot;&gt;&lt;pre class=&quot;SQLCode&quot; style=&quot;background-color: transparent; border-radius: 4px; border: none; box-sizing: border-box; color: #333333; font-family: &amp;quot;Courier New&amp;quot;; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 10px; overflow-wrap: break-word; overflow: auto; padding: 0px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;SELECT&lt;/span&gt; 
&lt;span class=&quot;SQLFunction&quot; style=&quot;box-sizing: border-box; color: magenta; font-size: 13.26px;&quot;&gt;CONVERT&lt;/span&gt;(&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;CHAR&lt;/span&gt;(100)&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;SQLFunction&quot; style=&quot;box-sizing: border-box; color: magenta; font-size: 13.26px;&quot;&gt;SERVERPROPERTY&lt;/span&gt;(&lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;Servername&#39;&lt;/span&gt;)) &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;Server&lt;/span&gt;&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; 
msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;database_name&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; 
msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backup_start_date&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; 
msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backup_finish_date&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; 
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;CASE&lt;/span&gt; msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;type 
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;WHEN&lt;/span&gt; &lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;D&#39;&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;THEN&lt;/span&gt; &lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;Database&#39;&lt;/span&gt; 
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;WHEN&lt;/span&gt; &lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;L&#39;&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;THEN&lt;/span&gt; &lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;Log&#39;&lt;/span&gt; 
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;When&lt;/span&gt; &lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;I&#39;&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;THEN&lt;/span&gt; &lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;Differential database&#39;&lt;/span&gt;
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;END&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;AS&lt;/span&gt; backup_type&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; 
msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backup_size&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; 
msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupmediafamily&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;physical_device_name&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; 
msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;name &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;AS&lt;/span&gt; backupset_name
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;FROM&lt;/span&gt; msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupmediafamily 
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;INNER&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;JOIN&lt;/span&gt; msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;ON&lt;/span&gt; msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupmediafamily&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;media_set_id &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;=&lt;/span&gt; msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;media_set_id 
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;WHERE&lt;/span&gt; (&lt;span class=&quot;SQLFunction&quot; style=&quot;box-sizing: border-box; color: magenta; font-size: 13.26px;&quot;&gt;CONVERT&lt;/span&gt;(&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;datetime&lt;/span&gt;&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backup_start_date&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; 102) &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;&amp;gt;=&lt;/span&gt; &lt;span class=&quot;SQLFunction&quot; style=&quot;box-sizing: border-box; color: magenta; font-size: 13.26px;&quot;&gt;GETDATE&lt;/span&gt;()&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;-&lt;/span&gt;1 ) 
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;ORDER&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;BY&lt;/span&gt; 
msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backup_finish_date &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;desc&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;a class=&quot;zoom&quot; href=&quot;https://solutioncenter.apexsql.com/wp-content/uploads/2019/02/query-results-from-and-aggregation-of-msdb-tables.png&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; font-size: 14.9329px; outline: none; text-decoration-line: none;&quot;&gt;&lt;img alt=&quot;Query results from and aggregation of MSDB tables with backup SQL database METADATA&quot; src=&quot;https://solutioncenter.apexsql.com/wp-content/uploads/2019/02/query-results-from-and-aggregation-of-msdb-tables.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; font-size: 15.2316px; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;We might want to get a list of the most recent full backup of all the databases:&lt;/p&gt;&lt;div class=&quot;SQLCodeBlock&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(170, 170, 170); box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; margin-bottom: 5px; margin-left: 10px; margin-top: 5px; padding-left: 10px;&quot;&gt;&lt;pre class=&quot;SQLCode&quot; style=&quot;background-color: transparent; border-radius: 4px; border: none; box-sizing: border-box; color: #333333; font-family: &amp;quot;Courier New&amp;quot;; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 10px; overflow-wrap: break-word; overflow: auto; padding: 0px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;SELECT&lt;/span&gt;  
   &lt;span class=&quot;SQLFunction&quot; style=&quot;box-sizing: border-box; color: magenta; font-size: 13.26px;&quot;&gt;CONVERT&lt;/span&gt;(&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;CHAR&lt;/span&gt;(100)&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;SQLFunction&quot; style=&quot;box-sizing: border-box; color: magenta; font-size: 13.26px;&quot;&gt;SERVERPROPERTY&lt;/span&gt;(&lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;Servername&#39;&lt;/span&gt;)) &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;Server&lt;/span&gt;&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt; 
   msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;database_name&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;  
   &lt;span class=&quot;SQLFunction&quot; style=&quot;box-sizing: border-box; color: magenta; font-size: 13.26px;&quot;&gt;MAX&lt;/span&gt;(msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backup_finish_date) &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;AS&lt;/span&gt; last_db_backup_date 
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;FROM&lt;/span&gt;   msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupmediafamily  
   &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;INNER&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;JOIN&lt;/span&gt; msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;ON&lt;/span&gt; msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupmediafamily&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;media_set_id &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;=&lt;/span&gt; msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;media_set_id  
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;WHERE&lt;/span&gt;  msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;type &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;D&#39;&lt;/span&gt; 
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;GROUP&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;BY&lt;/span&gt; 
   msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;database_name&lt;/pre&gt;&lt;p style=&quot;box-sizing: border-box; font-size: 14.9329px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;img alt=&quot;Query results from backup SQL database MSDB tables to get most recent full backups&quot; src=&quot;https://solutioncenter.apexsql.com/wp-content/uploads/2019/02/query-results-from-backup-sql-database-msdb-tables.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; font-size: 14.9329px; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;It is also equally important to identify if there are any databases for which we are not taking any backups. We can run the below query to get a list of such databases:&lt;/p&gt;&lt;div class=&quot;SQLCodeBlock&quot; style=&quot;background-color: #fafafa; border: 1px solid rgb(170, 170, 170); box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; margin-bottom: 5px; margin-left: 10px; margin-top: 5px; padding-left: 10px;&quot;&gt;&lt;pre class=&quot;SQLCode&quot; style=&quot;background-color: transparent; border-radius: 4px; border: none; box-sizing: border-box; color: #333333; font-family: &amp;quot;Courier New&amp;quot;; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 10px; overflow-wrap: break-word; overflow: auto; padding: 0px; white-space: pre-wrap; word-break: break-all;&quot;&gt;&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;SELECT&lt;/span&gt;      
      S&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;NAME &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;AS&lt;/span&gt; database_name&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;,&lt;/span&gt;  
      &lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;Nobackups&#39;&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;AS&lt;/span&gt; [Backup Age (Hours)]  
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;FROM&lt;/span&gt; 
   master&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;sysdatabases S &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;LEFT&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;JOIN&lt;/span&gt; msdb&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;dbo&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;backupset B
       &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;ON&lt;/span&gt; S&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;name  &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;=&lt;/span&gt; B&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;database_name 
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;WHERE&lt;/span&gt; B&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;database_name &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;NULL&lt;/span&gt; &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;AND&lt;/span&gt; S&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;name &lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;&amp;lt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;SQLString&quot; style=&quot;box-sizing: border-box; color: red; font-size: 13.26px;&quot;&gt;&#39;tempdb&#39;&lt;/span&gt;
&lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;ORDER&lt;/span&gt; &lt;span class=&quot;SQLKeyword&quot; style=&quot;box-sizing: border-box; color: blue; font-size: 13.26px;&quot;&gt;BY&lt;/span&gt;  
   B&lt;span class=&quot;SQLOperator&quot; style=&quot;box-sizing: border-box; color: #777777; font-size: 13.26px;&quot;&gt;.&lt;/span&gt;database_name&lt;/pre&gt;&lt;/div&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;In my test instance, you can see many databases having no database backups:&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;img alt=&quot;Query results from backup SQL database showing databases with no backups&quot; src=&quot;https://solutioncenter.apexsql.com/wp-content/uploads/2019/02/query-results-from-backup-sql-database-showing-dat.png&quot; style=&quot;border: 0px; box-sizing: border-box; display: block; font-size: 14.9329px; margin: 0px auto; max-width: 100%; vertical-align: middle;&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;It does become difficult to get the backup information each time based on the requirement. We need to write the code and get the data accordingly. We might be having different kinds of environments having different database needs, and if we have a large database environment, it becomes difficult to get this data. We might report backup failures or backup reports to the management. In such a case, we need a central place from which we can get any backup information for any database in the instance.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;In SQL Server, you can do it using the central management server with the combination of SSIS, SSRS tools however it requires a good level of knowledge of the development of the information using these code but again if requirement changes, we need to make changes at all places to reflect the change.&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, Tahoma, Arial; font-size: 14.6401px; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;b&gt;Source:&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span style=&quot;font-family: Segoe UI, Tahoma, Arial;&quot;&gt;&lt;span style=&quot;font-size: 14.6401px;&quot;&gt;&lt;a href=&quot;https://solutioncenter.apexsql.com/how-to-get-a-backup-sql-database-history/&quot;&gt;https://solutioncenter.apexsql.com/how-to-get-a-backup-sql-database-history/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;box-sizing: border-box; line-height: 1.6; margin: 11px 0px 21px;&quot;&gt;&lt;span style=&quot;font-family: Segoe UI, Tahoma, Arial;&quot;&gt;&lt;span style=&quot;font-size: 14.6401px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/7273226150386171877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2021/06/how-to-get-backup-sql-database-history.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/7273226150386171877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/7273226150386171877'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2021/06/how-to-get-backup-sql-database-history.html' title='How to get a backup SQL database history'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-6975345601310170437</id><published>2020-05-31T17:21:00.003-07:00</published><updated>2020-05-31T17:22:43.846-07:00</updated><title type='text'>Active Directory User Password Age command: Using Net User command to Display User Expiration Date </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h4 style=&quot;background-color: white; box-sizing: border-box; font-family: georgia, times, serif; line-height: 1.4; margin-bottom: 10px; margin-top: 20px; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large; font-weight: normal;&quot;&gt;Using Net User command to Display User Expiration Date&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: Georgia, Times, serif; font-size: 18px; margin-bottom: 10px;&quot;&gt;
This first method uses the net user command that is built into windows. This command is used to add, remove and make changes to user and computer accounts.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: Georgia, Times, serif; font-size: 18px; margin-bottom: 10px;&quot;&gt;
To determine when the password will expire for a single account open the command prompt and type the following command:&lt;/div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow-wrap: break-word; overflow: auto; padding: 9.5px; word-break: break-all;&quot;&gt;Net user USERNAME /domain&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: Georgia, Times, serif; font-size: 18px; margin-bottom: 10px;&quot;&gt;
In the below screenshot is an example for the user mfoster.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: Georgia, Times, serif; font-size: 18px; margin-bottom: 10px;&quot;&gt;
In addition to displaying the password expires date it also provides other useful information such as password last set, when the password can be changed, if the account is active and so on.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; font-family: Georgia, Times, serif; font-size: 18px; margin-bottom: 10px;&quot;&gt;
&lt;a href=&quot;https://cdn.activedirectorypro.com/wp-content/uploads/2018/07/find-password-expire1.jpg&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0e6cad; outline: 0px;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-2201 lazyloaded&quot; data-sizes=&quot;(max-width: 384px) 100vw, 384px&quot; data-src=&quot;https://cdn.activedirectorypro.com/wp-content/uploads/2018/07/find-password-expire1.jpg&quot; data-srcset=&quot;https://cdn.activedirectorypro.com/wp-content/uploads/2018/07/find-password-expire1.jpg 384w, https://cdn.activedirectorypro.com/wp-content/uploads/2018/07/find-password-expire1-300x258.jpg 300w&quot; height=&quot;330&quot; sizes=&quot;(max-width: 384px) 100vw, 384px&quot; src=&quot;https://cdn.activedirectorypro.com/wp-content/uploads/2018/07/find-password-expire1.jpg&quot; srcset=&quot;https://cdn.activedirectorypro.com/wp-content/uploads/2018/07/find-password-expire1.jpg 384w, https://cdn.activedirectorypro.com/wp-content/uploads/2018/07/find-password-expire1-300x258.jpg 300w&quot; style=&quot;border: 0px; box-sizing: border-box; height: auto; margin: 5px 20px 20px 0px; max-width: 100%; opacity: 1; transition: opacity 300ms ease 0s; vertical-align: middle;&quot; width=&quot;384&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/6975345601310170437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2020/05/active-directory-user-password-age.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/6975345601310170437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/6975345601310170437'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2020/05/active-directory-user-password-age.html' title='Active Directory User Password Age command: Using Net User command to Display User Expiration Date '/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-4883744635245195521</id><published>2020-05-13T17:30:00.002-07:00</published><updated>2020-05-13T17:30:41.340-07:00</updated><title type='text'>(Solved) error: Something went wrong and your search couldn&#39;t be completed       it looks like theres a problem with your network connection Outlook 2016 - Exchange 2016</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 26px; margin-bottom: 10.5px; overflow-wrap: break-word; padding: 0px;&quot;&gt;
This will stop the error, but Outlook will no longer perform any online searches:&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, Arial, sans-serif; font-size: 16px; line-height: 26px; margin-bottom: 10.5px; overflow-wrap: break-word; padding: 0px;&quot;&gt;
&lt;b&gt;HKEY_CURRENT_USER\software\microsoft\office\16.0\outlook\search&lt;/b&gt;&lt;br /&gt;&lt;b&gt;DWORD DisableServerAssistedSearch 1&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/4883744635245195521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2020/05/solved-error-something-went-wrong-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/4883744635245195521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/4883744635245195521'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2020/05/solved-error-something-went-wrong-and.html' title='(Solved) error: Something went wrong and your search couldn&#39;t be completed       it looks like theres a problem with your network connection Outlook 2016 - Exchange 2016'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-5043409357381219034</id><published>2020-01-22T00:02:00.002-08:00</published><updated>2020-01-22T00:02:23.269-08:00</updated><title type='text'>Disable WSUS on Windows 10 by Registry Modification</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; color: #0a0000; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 32px; line-height: 1.2em; margin: 0px 0px 20px; padding: 0px;&quot;&gt;
Disable WSUS on Windows 10 by Registry Modification&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin-bottom: 1.5em; padding: 0px;&quot;&gt;
This method is simple and easy. As an end-user, you can perform on your computer.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin-bottom: 1.5em; padding: 0px;&quot;&gt;
&lt;span style=&quot;border: 0px; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;This is just a temporary solution. If you connect back the computer to the company network, the WSUS group policy will be applied automatically and revert the changes we are going to do below. &amp;nbsp;The ideal permanent solution is to move your computer to the different OU where WSUS policy not applied, which can be done by the network/Windows update administrator only. So, as a computer user, we have only below option to disable WSUS on Windows 10.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin-bottom: 1.5em; padding: 0px;&quot;&gt;
To make Windows update/component to download from Microsoft online Windows update servers via the direct Internet, we can do these steps.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin-bottom: 1.5em; padding: 0px;&quot;&gt;
&lt;span style=&quot;border: 0px; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;1)&lt;/span&gt;&amp;nbsp;Open Registry editor (Type&amp;nbsp;&lt;span style=&quot;border: 0px; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;&lt;em style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;regedit&lt;/em&gt;&lt;/span&gt;&amp;nbsp;in Search), and access following location.&lt;/div&gt;
&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin: 0px 0px 1.5em; max-width: 100%; padding: 0px;&quot;&gt;
&lt;figure class=&quot;aligncenter is-resized&quot; style=&quot;clear: both; display: table; margin: 0px auto;&quot;&gt;&lt;img alt=&quot;Open Regedit&quot; class=&quot;wp-image-15390&quot; height=&quot;370&quot; sizes=&quot;(max-width: 246px) 100vw, 246px&quot; src=&quot;https://www.sysprobs.com/wp-content/uploads/2019/08/Open-regedit.png&quot; srcset=&quot;https://www.sysprobs.com/wp-content/uploads/2019/08/Open-regedit.png 436w, https://www.sysprobs.com/wp-content/uploads/2019/08/Open-regedit-199x300.png 199w&quot; style=&quot;height: auto; max-width: 100%;&quot; width=&quot;246&quot; /&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin-bottom: 1.5em; padding: 0px;&quot;&gt;
&lt;span style=&quot;border: 0px; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;HKLM/Software/Policies/Microsoft/Windows/WindowsUpdate/AU/&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin-bottom: 1.5em; padding: 0px;&quot;&gt;
&lt;span style=&quot;border: 0px; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;2)&lt;/span&gt;&amp;nbsp;Change the value from 1 to 0 in&amp;nbsp;&lt;span style=&quot;border: 0px; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;&lt;em style=&quot;border: 0px; margin: 0px; padding: 0px;&quot;&gt;UseWUServer&lt;/em&gt;&lt;/span&gt;&amp;nbsp;key. 1 is to use WSUS server and 0 for not.&lt;/div&gt;
&lt;div class=&quot;code-block code-block-2&quot; style=&quot;background-color: white; border: 0px; clear: both; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin: 8px 0px; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin: 0px 0px 1.5em; max-width: 100%; padding: 0px;&quot;&gt;
&lt;figure class=&quot;aligncenter&quot; style=&quot;clear: both; display: table; margin: 0px auto;&quot;&gt;&lt;img alt=&quot;Modified Registry - Disable WSUS On Windows 10&quot; class=&quot;wp-image-15391&quot; sizes=&quot;(max-width: 712px) 100vw, 712px&quot; src=&quot;https://www.sysprobs.com/wp-content/uploads/2019/08/Modified-Registry.png&quot; srcset=&quot;https://www.sysprobs.com/wp-content/uploads/2019/08/Modified-Registry.png 712w, https://www.sysprobs.com/wp-content/uploads/2019/08/Modified-Registry-300x163.png 300w&quot; style=&quot;height: auto; max-width: 100%;&quot; /&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin-bottom: 1.5em; padding: 0px;&quot;&gt;
&lt;span style=&quot;border: 0px; font-weight: 700; margin: 0px; padding: 0px;&quot;&gt;3)&lt;/span&gt;&amp;nbsp;Once you have changed the above key from 1 to 0, close the registry editor and restart Windows update service. Even if you are okay, restart the computer to take effect.&lt;/div&gt;
&lt;div class=&quot;wp-block-image&quot; style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin: 0px 0px 1.5em; max-width: 100%; padding: 0px;&quot;&gt;
&lt;figure class=&quot;aligncenter&quot; style=&quot;clear: both; display: table; margin: 0px auto;&quot;&gt;&lt;img alt=&quot;Restart Windows Update Service&quot; class=&quot;wp-image-15392&quot; sizes=&quot;(max-width: 438px) 100vw, 438px&quot; src=&quot;https://www.sysprobs.com/wp-content/uploads/2019/08/Restart-Windows-update-service.png&quot; srcset=&quot;https://www.sysprobs.com/wp-content/uploads/2019/08/Restart-Windows-update-service.png 438w, https://www.sysprobs.com/wp-content/uploads/2019/08/Restart-Windows-update-service-300x230.png 300w&quot; style=&quot;height: auto; max-width: 100%;&quot; /&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin-bottom: 1.5em; padding: 0px;&quot;&gt;
Now connect the computer to direct Internet and try Windows update or any other component installation from the Microsoft Update website. It should work fine this time.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3a3a3a; font-family: -apple-system, system-ui, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 19px; margin-bottom: 1.5em; padding: 0px;&quot;&gt;
You may need to check some more guides here about Windows update issues.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/5043409357381219034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2020/01/disable-wsus-on-windows-10-by-registry.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/5043409357381219034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/5043409357381219034'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2020/01/disable-wsus-on-windows-10-by-registry.html' title='Disable WSUS on Windows 10 by Registry Modification'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-2766944375360845959</id><published>2020-01-22T00:01:00.000-08:00</published><updated>2020-01-22T00:01:36.080-08:00</updated><title type='text'>How to enable Remote Administration feature in Windows</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #444444; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 30px; margin-bottom: 15px; margin-top: 15px; padding: 0px; vertical-align: baseline;&quot;&gt;
To enable the Remote Administration feature manually, follow the steps given below:&lt;/div&gt;
&lt;ol style=&quot;background-color: white; border: 0px; color: #444444; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 14px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; list-style-image: none; list-style-position: outside; margin: 0px; padding: 10px 0px 10px 30px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 15px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 30px; margin: 0px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;Click&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;start&amp;gt;Run&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 15px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 30px; margin: 0px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;Enter gpedit.msc&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 15px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 30px; margin: 0px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;Click&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;OK&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 15px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 30px; margin: 0px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;Double-click&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Computer Configuration&amp;gt;Administrative Templates&amp;gt;Network&amp;gt;Network Connections&amp;gt;Windows Firewall&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 15px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 30px; margin: 0px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;Double-click&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Domain Profile&amp;gt;Windows Firewall: Allow remote administration exception&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 15px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 30px; margin: 0px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;Select&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Enabled&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 15px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 30px; margin: 0px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;Click&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Apply&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 15px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 30px; margin: 0px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;Click&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;OK&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/2766944375360845959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2020/01/how-to-enable-remote-administration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2766944375360845959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2766944375360845959'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2020/01/how-to-enable-remote-administration.html' title='How to enable Remote Administration feature in Windows'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-2257997042660564007</id><published>2020-01-15T19:32:00.002-08:00</published><updated>2020-01-15T19:47:03.529-08:00</updated><title type='text'>Links to refer deployment of several applications on SCCM</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Deployment of 7-zip, Notepad++, Google Chrome, Adobe Flash Player and upgrade superseded applications.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=G4iyyq_UlDA&amp;amp;t=554s&quot;&gt;https://www.youtube.com/watch?v=G4iyyq_UlDA&amp;amp;t=554s&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Deployment of 7-Zip with more troubleshooting.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.youtube.com/watch?v=57YB_w-5iBc&quot;&gt;https://www.youtube.com/watch?v=57YB_w-5iBc&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Deployment of SSMS&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.prajwaldesai.com/deploy-sql-server-management-studio-using-sccm/&quot;&gt;https://www.prajwaldesai.com/deploy-sql-server-management-studio-using-sccm/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Deployment of Adobe Acrobat Reader DC&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.andersrodland.com/deploy-acrobat-reader-dc-with-sccm/&quot;&gt;https://www.andersrodland.com/deploy-acrobat-reader-dc-with-sccm/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Deployment of Snagit 12&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.prajwaldesai.com/deploy-snagit-using-sccm/&quot;&gt;https://www.prajwaldesai.com/deploy-snagit-using-sccm/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/2257997042660564007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2020/01/links-to-refer-deployment-of-several.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2257997042660564007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2257997042660564007'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2020/01/links-to-refer-deployment-of-several.html' title='Links to refer deployment of several applications on SCCM'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-6355559451931372394</id><published>2019-08-08T17:23:00.005-07:00</published><updated>2020-02-05T17:18:33.072-08:00</updated><title type='text'>How to let websites and IPs bypass the VPN using static routing</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #132434; font-family: &amp;quot;montserrat&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #132434; font-family: &amp;quot;montserrat&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;There are several reasons for letting certain IPs or websites bypass the VPN connection, so they are used with your real IP and connection instead.&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;background-color: white; color: #132434; font-family: &amp;quot;montserrat&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;For example:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #132434; font-family: Montserrat, sans-serif; font-size: 16px; list-style-image: initial; list-style-position: outside; margin: 0px 0px 20px 20px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; margin-left: 20px;&quot;&gt;if a certain website is blocking access to foreign IPs, so you can only access it with your real IP&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-left: 20px;&quot;&gt;if websites and services forbid the use of VPN, so your account won&#39;t get restricted or suspended&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-left: 20px;&quot;&gt;if you cannot access a local machine in your network while the VPN is connected (e.g. server, other computer or network device of any kind)&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;h3 style=&quot;background: none rgb(255, 255, 255); box-sizing: border-box; color: #222222; font-family: Montserrat, sans-serif; font-size: 1.5625rem; line-height: 2.0625rem; margin-bottom: 1.625rem;&quot;&gt;
Manual setup via route.exe&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Arial, sans-serif; font-size: 14px;&quot;&gt;
On windows, to create static routing rules to let IPs bypass the VPN, you need to use the integrated tool &quot;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;route.exe&lt;/strong&gt;&quot; of Windows.&lt;br /&gt;
You can find it in the folder C:\Windows\System32 - but it&#39;s executable from any place.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Arial, sans-serif; font-size: 14px;&quot;&gt;
To use it, open a command prompt. Run &quot;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;cmd.exe&lt;/strong&gt;&quot; or navigate to &quot;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;All Programs/Accessories/Command Prompt&lt;/strong&gt;&quot; in the start menu.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Arial, sans-serif; font-size: 14px;&quot;&gt;
Run &quot;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;route&lt;/strong&gt;&quot; to get the instructions for how to use this tool. How to use it for our purpose (IPs bypassing the VPN) is quickly explained:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Arial, sans-serif; font-size: 14px; list-style-image: initial; list-style-position: outside; margin: 0px 0px 20px 20px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; margin-left: 20px;&quot;&gt;First you need to find your gateway IP address. This is usually the IP of your router/DSL-Modem, so the device your computer gets the internet from.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;If you&#39;re not sure which IP that is, please run &quot;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;route print&lt;/strong&gt;&quot;.&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-left: 20px;&quot;&gt;You&#39;ll see that certain IPs are using a gateway address that belongs into your local network. In this case, 192.168.88.2 is our gateway IP address, the IP of the router&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-left: 20px;&quot;&gt;Keep that gateway IP address in mind. Now we need to get the IP of the website you want to bypass the VPN. For testing, we can use&amp;nbsp;&lt;a class=&quot;external free&quot; href=&quot;http://ipaddress.com/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0059a5; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;http://ipaddress.com&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-left: 20px;&quot;&gt;As you might know, this website shows your current IP and location. When disconnected from the VPN, go there and you&#39;ll see your real IP and location.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-left: 20px;&quot;&gt;To get the IP of that website, you can simply ping it by running &quot;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;ping ipadress.com&lt;/strong&gt;&quot;. It returns the IP address, which is:&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;80.237.246.185&lt;/strong&gt;&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;Alternatively use websites like&amp;nbsp;&lt;a class=&quot;external free&quot; href=&quot;http://www.hcidata.info/host2ip.htm&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0059a5; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;http://www.hcidata.info/host2ip.htm&lt;/a&gt;&amp;nbsp;for this purpose&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-left: 20px;&quot;&gt;Now we create a routing rule for this website, by running &quot;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;route add 80.237.246.185 192.168.88.2&lt;/strong&gt;&quot; (syntax:&amp;nbsp;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;route add destinationIP gatewayIP&lt;/strong&gt;)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-left: 20px;&quot;&gt;When that is done, connect to the VPN and visit&amp;nbsp;&lt;a class=&quot;external free&quot; href=&quot;http://ipaddress.com/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0059a5; text-decoration-line: none;&quot; target=&quot;_blank&quot;&gt;http://ipaddress.com&lt;/a&gt;&amp;nbsp;again. You&#39;ll notice that it still shows your real IP and location, instead the VPN IP and location.&lt;br style=&quot;box-sizing: border-box;&quot; /&gt;That means the routing rule is working and the website is bypassing the VPN.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Arial, sans-serif; font-size: 14px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Arial, sans-serif; font-size: 14px;&quot;&gt;
&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;Note:&lt;/strong&gt;&amp;nbsp;This rules are only temporary, that means they disappear upon next reboot.&lt;br /&gt;
To make them permanent, use the switch &quot;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;-p&lt;/strong&gt;&quot;, so e.g. &quot;&lt;strong style=&quot;box-sizing: border-box;&quot;&gt;route -p add 80.237.246.185 192.168.88.2&lt;/strong&gt;&quot;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Arial, sans-serif; font-size: 14px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Arial, sans-serif; font-size: 14px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #222222; font-family: Verdana, Arial, sans-serif; font-size: 14px;&quot;&gt;
Source:&amp;nbsp;&lt;a href=&quot;https://en.wikiversity.org/wiki/Computer_Networks/Route/Modify&quot;&gt;https://en.wikiversity.org/wiki/Computer_Networks/Route/Modify&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/6355559451931372394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/08/how-to-let-websites-and-ips-bypass-vpn.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/6355559451931372394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/6355559451931372394'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/08/how-to-let-websites-and-ips-bypass-vpn.html' title='How to let websites and IPs bypass the VPN using static routing'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-3544426549195816121</id><published>2019-06-13T17:49:00.000-07:00</published><updated>2019-06-13T17:52:30.076-07:00</updated><title type='text'>33 Tools to Monitor Linux Performance</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
1. Top – Linux Process Monitoring&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
Linux&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Top&lt;/span&gt;&amp;nbsp;command is a performance monitoring program which is used frequently by many system administrators to monitor Linux performance and it is available under many&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Linux/Unix&lt;/span&gt;&amp;nbsp;like operating systems. The top command used to dipslay all the running and active real-time processes in ordered list and updates it regularly. It display&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;CPU usage&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Memory usage&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Swap Memory&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Cache Size&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Buffer Size&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Process PID&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;User&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Command&lt;/span&gt;s and much more. It also shows high&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;memory&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;cpu&lt;/span&gt;&amp;nbsp;utilization of a running processess. The top command is much userful for system administrator to monitor and take correct action when required. Let’s see top command in action.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: monospace, monospace; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.625; margin-bottom: 30px; margin-top: 30px; overflow-wrap: break-word; overflow: auto hidden; padding: 10px 10px 10px 18px; vertical-align: baseline;&quot;&gt;# top&lt;/pre&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 640px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/command-line-tools-to-monitor-linux-performance/Top%20Command%20Example&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Top Command Example&quot; data-lazy-loaded=&quot;true&quot; height=&quot;430&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2012/08/Top-Command.jpg&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; title=&quot;Top Command Example&quot; width=&quot;630&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Top Command Example&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;For more examples of Top command read :&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/12-top-command-examples-in-linux/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;12 TOP Command Examples in Linux&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
2. VmStat – Virtual Memory Statistics&lt;/h4&gt;
&lt;center style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; padding: 10px 0px 20px; vertical-align: baseline;&quot;&gt;
&lt;/center&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
Linux&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;VmStat&lt;/span&gt;&amp;nbsp;command used to display statistics of&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;virtual memory&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;kernerl threads&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;disks&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;system processes&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;I/O blocks&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;interrupts&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;CPU activity&lt;/span&gt;&amp;nbsp;and much more. By default vmstat command is not available under Linux systems you need to install a package called&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sysstat&lt;/span&gt;&amp;nbsp;that includes a vmstat program. The common usage of command format is.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: monospace, monospace; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.625; margin-bottom: 30px; margin-top: 30px; overflow-wrap: break-word; overflow: auto hidden; padding: 10px 10px 10px 18px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 600; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;# vmstat&lt;/span&gt;

procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
 r  b   swpd   free  inact active   si   so    bi    bo   in   cs us sy id wa st
 1  0      0 810420  97380  70628    0    0   115     4   89   79  1  6 90  3  0&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;For more Vmstat examples read :&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/linux-performance-monitoring-with-vmstat-and-iostat-commands/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;6 Vmstat Command Examples in Linux&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
3. Lsof – List Open Files&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Lsof&lt;/span&gt;&amp;nbsp;command used in many&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Linux/Unix&lt;/span&gt;&amp;nbsp;like system that is used to display list of all the open files and the processes. The open files included are&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;disk files&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;network sockets&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;pipes&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;devices&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;processes&lt;/span&gt;. One of the main reason for using this command is when a disk cannot be unmounted and displays the error that files are being used or opened. With this commmand you can easily identify which files are in use. The most common format for this command is.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: monospace, monospace; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.625; margin-bottom: 30px; margin-top: 30px; overflow-wrap: break-word; overflow: auto hidden; padding: 10px 10px 10px 18px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 600; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;# lsof&lt;/span&gt;

COMMAND     PID      USER   FD      TYPE     DEVICE     SIZE       NODE NAME
init          1      root  cwd       DIR      104,2     4096          2 /
init          1      root  rtd       DIR      104,2     4096          2 /
init          1      root  txt       REG      104,2    38652   17710339 /sbin/init
init          1      root  mem       REG      104,2   129900     196453 /lib/ld-2.5.so
init          1      root  mem       REG      104,2  1693812     196454 /lib/libc-2.5.so
init          1      root  mem       REG      104,2    20668     196479 /lib/libdl-2.5.so
init          1      root  mem       REG      104,2   245376     196419 /lib/libsepol.so.1
init          1      root  mem       REG      104,2    93508     196431 /lib/libselinux.so.1
init          1      root   10u     FIFO       0,17                 953 /dev/initctl&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;More lsof command usage and examples :&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/10-lsof-command-examples-in-linux/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;10 lsof Command Examples in Linux&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
4. Tcpdump – Network Packet Analyzer&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Tcpdump&lt;/span&gt;&amp;nbsp;one of the most widely used command-line&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;network packet analyzer&lt;/span&gt;&amp;nbsp;or&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;packets sniffer&lt;/span&gt;&amp;nbsp;program that is used capture or filter&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;TCP/IP&lt;/span&gt;&amp;nbsp;packets that received or transferred on a specific interface over a network. It also provides a option to save captured packages in a file for later analysis. tcpdump is almost available in all major Linux distributions.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: monospace, monospace; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.625; margin-bottom: 30px; margin-top: 30px; overflow-wrap: break-word; overflow: auto hidden; padding: 10px 10px 10px 18px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 600; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;# tcpdump -i eth0&lt;/span&gt;

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
22:08:59.617628 IP tecmint.com.ssh &amp;gt; 115.113.134.3.static-mumbai.vsnl.net.in.28472: P 2532133365:2532133481(116) ack 3561562349 win 9648
22:09:07.653466 IP tecmint.com.ssh &amp;gt; 115.113.134.3.static-mumbai.vsnl.net.in.28472: P 116:232(116) ack 1 win 9648
22:08:59.617916 IP 115.113.134.3.static-mumbai.vsnl.net.in.28472 &amp;gt; tecmint.com.ssh: . ack 116 win 64347&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;For more tcpdump usage read :&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/12-tcpdump-commands-a-network-sniffer-tool/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;12 Tcpdump Command Examples in Linux&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
5. Netstat – Network Statistics&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Netstat&lt;/span&gt;&amp;nbsp;is a command line tool for monitoring&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;incoming&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;outgoing network&lt;/span&gt;&amp;nbsp;packets statistics as well as interface statistics. It is very useful tool for every system administrator to monitor network performance and troubleshoot network related problems.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: monospace, monospace; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.625; margin-bottom: 30px; margin-top: 30px; overflow-wrap: break-word; overflow: auto hidden; padding: 10px 10px 10px 18px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 600; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;# netstat -a | more&lt;/span&gt;

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State
tcp        0      0 *:mysql                     *:*                         LISTEN
tcp        0      0 *:sunrpc                    *:*                         LISTEN
tcp        0      0 *:realm-rusd                *:*                         LISTEN
tcp        0      0 *:ftp                       *:*                         LISTEN
tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN
tcp        0      0 localhost.localdomain:smtp  *:*                         LISTEN
tcp        0      0 localhost.localdomain:smtp  localhost.localdomain:42709 TIME_WAIT
tcp        0      0 localhost.localdomain:smtp  localhost.localdomain:42710 TIME_WAIT
tcp        0      0 *:http                      *:*                         LISTEN
tcp        0      0 *:ssh                       *:*                         LISTEN
tcp        0      0 *:https                     *:*                         LISTEN&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;More Netstat examples :&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/20-netstat-commands-for-linux-network-management/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;20 Netstat Command Examples in Linux&lt;/a&gt;.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
6. Htop – Linux Process Monitoring&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Htop&lt;/span&gt;&amp;nbsp;is a much advanced interactive and real time Linux process monitoring tool. This is much similar to Linux&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;top command&lt;/span&gt;&amp;nbsp;but it has some rich features like&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;user friendly interface to manage process&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;shortcut keys&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;vertical and horizontal view of the processes&lt;/span&gt;&amp;nbsp;and much more. Htop is a third party tool and doesn’t included in Linux systems, you need to install it using&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;YUM&lt;/span&gt;&amp;nbsp;package manager tool. For more information on installation read our article below.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: monospace, monospace; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.625; margin-bottom: 30px; margin-top: 30px; overflow-wrap: break-word; overflow: auto hidden; padding: 10px 10px 10px 18px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 600; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;# htop&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 610px;&quot;&gt;
&lt;img alt=&quot;Htop Command Example&quot; data-lazy-loaded=&quot;true&quot; height=&quot;363&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2012/08/htop-3.jpg&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;&quot; title=&quot;Htop Command Example&quot; width=&quot;600&quot; /&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Htop Command Example Screenshot&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;For Htop installation read :&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-htop-linux-process-monitoring-for-rhel-centos-fedora/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Htop (Linux Process Monitoring) in Linux&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
7. Iotop – Monitor Linux Disk I/O&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Iotop&lt;/span&gt;&amp;nbsp;is also much similar to&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;top command&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Htop program&lt;/span&gt;, but it has accounting function to monitor and display real time&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Disk I/O&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;processes&lt;/span&gt;. This tool is much useful for finding the exact process and high used disk read/writes of the processes.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: monospace, monospace; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.625; margin-bottom: 30px; margin-top: 30px; overflow-wrap: break-word; overflow: auto hidden; padding: 10px 10px 10px 18px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 600; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;# iotop&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 640px;&quot;&gt;
&lt;img alt=&quot;Iotop Command Example&quot; data-lazy-loaded=&quot;true&quot; height=&quot;420&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2012/07/iotop-Screen.jpg&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;&quot; title=&quot;Iotop Command Example&quot; width=&quot;630&quot; /&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Iotop Command Example Screenshot&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;For Ioptop installation and usage read :&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-iotop-monitor-linux-disk-io-in-rhel-centos-and-fedora/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Iotop in Linux&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
8. Iostat – Input/Output Statistics&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;IoStat&lt;/span&gt;&amp;nbsp;is simple tool that will collect and show system&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;input&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;output&lt;/span&gt;&amp;nbsp;storage device statistics. This tool is often used to trace storage device performance issues including&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;devices&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;local disks&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;remote disks&lt;/span&gt;&amp;nbsp;such as&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;NFS&lt;/span&gt;.&lt;/div&gt;
&lt;pre style=&quot;background-color: #051e30; border-color: rgb(40, 159, 244); border-image: initial; border-style: solid; border-width: 1px 1px 1px 4px; color: white; font-family: monospace, monospace; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.625; margin-bottom: 30px; margin-top: 30px; overflow-wrap: break-word; overflow: auto hidden; padding: 10px 10px 10px 18px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 600; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;# iostat&lt;/span&gt;

Linux 2.6.18-238.9.1.el5 (tecmint.com)         09/13/2012

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           2.60    3.65    1.04    4.29    0.00   88.42

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
cciss/c0d0       17.79       545.80       256.52  855159769  401914750
cciss/c0d0p1      0.00         0.00         0.00       5459       3518
cciss/c0d0p2     16.45       533.97       245.18  836631746  384153384
cciss/c0d0p3      0.63         5.58         3.97    8737650    6215544
cciss/c0d0p4      0.00         0.00         0.00          8          0
cciss/c0d0p5      0.63         3.79         5.03    5936778    7882528
cciss/c0d0p6      0.08         2.46         2.34    3847771    3659776&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;For more Iostat usage and examples visit :&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/linux-performance-monitoring-with-vmstat-and-iostat-commands/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;6 Iostat Command Examples in Linux&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
9. IPTraf – Real Time IP LAN Monitoring&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;IPTraf&lt;/span&gt;&amp;nbsp;is an open source console-based real time network (&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;IP LAN&lt;/span&gt;) monitoring utility for&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Linux&lt;/span&gt;. It collects a variety of information such as IP traffic monitor that passes over the network, including TCP flag information, ICMP details, TCP/UDP traffic breakdowns, TCP connection packet and byne counts. It also gathers information of general and detaled interface statistics of TCP, UDP, IP, ICMP, non-IP, IP checksum errors, interface activity etc.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_2167&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 610px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2013/02/IPTraf2.png&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;IP Traffic Monitor&quot; aria-describedby=&quot;caption-attachment-2167&quot; class=&quot;size-full wp-image-2167&quot; data-lazy-loaded=&quot;true&quot; height=&quot;377&quot; sizes=&quot;(max-width: 600px) 100vw, 600px&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2013/02/IPTraf2.png&quot; srcset=&quot;https://www.tecmint.com/wp-content/uploads/2013/02/IPTraf2.png 600w, https://www.tecmint.com/wp-content/uploads/2013/02/IPTraf2-300x188.png 300w&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-2167&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
IP Traffic Monitor&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;For more information and usage of IPTraf tool, please visit :&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/real-time-interactive-ip-lan-monitoring-with-iptraf-tool/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;IPTraf Network Monitoring Tool&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
10. Psacct or Acct – Monitor User Activity&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
psacct or acct tools are very useful for monitoring each users activity on the system. Both daemons runs in the background and keeps a close watch on the overall activity of each user on the system and also what resources are being consumed by them.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
These tools are very useful for system administrators to track each users activity like what they are doing, what commands they issued, how much resources are used by them, how long they are active on the system etc.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
For installation and example usage of commands read the article on&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/how-to-monitor-user-activity-with-psacct-or-acct-tools/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Monitor User Activity with psacct or acct&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
11. Monit – Linux Process and Services Monitoring&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Monit&lt;/span&gt;&amp;nbsp;is a free open source and web based process supervision utility that automatically monitors and managers system processes, programs, files, directories, permissions, checksums and filesystems.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
It monitors services like Apache, MySQL, Mail, FTP, ProFTP, Nginx, SSH and so on. The system status can be viewed from the command line or using it own web interface.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_2601&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 610px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2013/02/Monit-Monitoring.jpg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Monit Linux Process Monitoring&quot; aria-describedby=&quot;caption-attachment-2601&quot; class=&quot;size-full wp-image-2601&quot; data-lazy-loaded=&quot;true&quot; height=&quot;450&quot; sizes=&quot;(max-width: 600px) 100vw, 600px&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2013/02/Monit-Monitoring.jpg&quot; srcset=&quot;https://www.tecmint.com/wp-content/uploads/2013/02/Monit-Monitoring.jpg 600w, https://www.tecmint.com/wp-content/uploads/2013/02/Monit-Monitoring-300x225.jpg 300w&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-2601&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Monit Linux Process Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;&amp;nbsp;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/how-to-install-and-setup-monit-linux-process-and-services-monitoring-program/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Linux Process Monitoring with Monit&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
12. NetHogs – Monitor Per Process Network Bandwidth&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;NetHogs&lt;/span&gt;&amp;nbsp;is an open source nice small program (similar to Linux&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;top command&lt;/span&gt;) that keeps a tab on each process network activity on your system. It also keeps a track of real time network traffic bandwidth used by each program or application.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_2602&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 610px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2013/02/NetHogs-bandwidth-Monitoring.jpg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;NetHogs Linux Bandwidth Monitoring&quot; aria-describedby=&quot;caption-attachment-2602&quot; class=&quot;size-full wp-image-2602&quot; data-lazy-loaded=&quot;true&quot; height=&quot;450&quot; sizes=&quot;(max-width: 600px) 100vw, 600px&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2013/02/NetHogs-bandwidth-Monitoring.jpg&quot; srcset=&quot;https://www.tecmint.com/wp-content/uploads/2013/02/NetHogs-bandwidth-Monitoring.jpg 600w, https://www.tecmint.com/wp-content/uploads/2013/02/NetHogs-bandwidth-Monitoring-300x225.jpg 300w&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-2602&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
NetHogs Linux Bandwidth Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;&amp;nbsp;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/nethogs-monitor-per-process-network-bandwidth-usage-in-real-time/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Monitor Linux Network Bandwidth Using NetHogs&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
13. iftop – Network Bandwidth Monitoring&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;iftop&lt;/span&gt;&amp;nbsp;is another terminal-based free open source system monitoring utility that displays a frequently updated list of network bandwidth utilization (source and destination hosts) that passing through the network interface on your system. iftop is considered for network usage, what ‘&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;top&lt;/span&gt;‘ does for CPU usage. iftop is a ‘&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;top&lt;/span&gt;‘ family tool that monitor a selected interface and displays a current bandwidth usage between two hosts.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_2606&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 611px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2013/04/iftop.png&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;iftop - Network Bandwidth Monitoring&quot; aria-describedby=&quot;caption-attachment-2606&quot; class=&quot;size-full wp-image-2606&quot; data-lazy-loaded=&quot;true&quot; height=&quot;387&quot; sizes=&quot;(max-width: 601px) 100vw, 601px&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2013/04/iftop.png&quot; srcset=&quot;https://www.tecmint.com/wp-content/uploads/2013/04/iftop.png 601w, https://www.tecmint.com/wp-content/uploads/2013/04/iftop-300x193.png 300w&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;601&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-2606&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
iftop – Network Bandwidth Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;&amp;nbsp;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-iftop-bandwidth-monitoring-tool-in-rhel-centos-fedora/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;iftop – Monitor Network Bandwidth Utilization&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
14. Monitorix – System and Network Monitoring&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Monitorix&lt;/span&gt;&amp;nbsp;is a free lightweight utility that is designed to run and monitor system and network resources as many as possible in&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Linux/Unix&lt;/span&gt;&amp;nbsp;servers. It has a built in&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;HTTP&lt;/span&gt;&amp;nbsp;web server that regularly collects system and network information and display them in graphs. It Monitors&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;system load average and usage&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;memory allocation&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;disk driver health&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;system services&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;network ports&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;mail statistics&lt;/span&gt;&amp;nbsp;(&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sendmail&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Postfix&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Dovecot&lt;/span&gt;, etc),&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;MySQL statistics&lt;/span&gt;&amp;nbsp;and many more. It designed to monitor overall system performance and helps in detecting failures, bottlenecks, abnormal activities etc.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_2884&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 602px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/command-line-tools-to-monitor-linux-performance/monitorix-monitoring/&quot; rel=&quot;attachment wp-att-2884&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Monitorix Monitoring&quot; aria-describedby=&quot;caption-attachment-2884&quot; class=&quot;size-medium wp-image-2884&quot; data-lazy-loaded=&quot;true&quot; height=&quot;450&quot; sizes=&quot;(max-width: 592px) 100vw, 592px&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2013/04/Monitorix-Monitoring-592x450.png&quot; srcset=&quot;https://www.tecmint.com/wp-content/uploads/2013/04/Monitorix-Monitoring-592x450.png 592w, https://www.tecmint.com/wp-content/uploads/2013/04/Monitorix-Monitoring.png 863w&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;592&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-2884&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Monitorix Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;&amp;nbsp;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/monitorix-a-lightweight-system-and-network-monitoring-tool-for-linux/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Monitorix a System and Network Monitoring Tool for Linux&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
15. Arpwatch – Ethernet Activity Monitor&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Arpwatch&lt;/span&gt;&amp;nbsp;is a kind of program that is designed to monitor Address Resolution (&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;MAC&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;IP&lt;/span&gt;&amp;nbsp;address changes) of&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Ethernet&lt;/span&gt;&amp;nbsp;network traffic on a Linux network. It continuously keeps watch on Ethernet traffic and produces a log of&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;IP&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;MAC&lt;/span&gt;&amp;nbsp;address pair changes along with a timestamps on a network. It also has a feature to send an email alerts to administrator, when a pairing added or changes. It is very useful in detecting&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ARP&lt;/span&gt;&amp;nbsp;spoofing on a network.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;&amp;nbsp;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/monitor-ethernet-activity-in-linux/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Arpwatch to Monitor Ethernet Activity&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
16. Suricata – Network Security Monitoring&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Suricata&lt;/span&gt;&amp;nbsp;is an high performance open source&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Network Security&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Intrusion Detection&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Prevention Monitoring System&lt;/span&gt;&amp;nbsp;for&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Linux&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;FreeBSD&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Windows&lt;/span&gt;.It was designed and owned by a non-profit foundation&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;OISF&lt;/span&gt;(&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Open Information Security Foundation&lt;/span&gt;).&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;&amp;nbsp;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/suricata-a-network-intrusion-detection-prevention-system/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Suricata – A Network Intrusion Detection and Prevention System&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
17. VnStat PHP – Monitoring Network Bandwidth&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;VnStat PHP&lt;/span&gt;&amp;nbsp;a web based frontend application for most popular networking tool called “&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;vnstat&lt;/span&gt;“.&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;VnStat PHP&lt;/span&gt;monitors a network traffic usage in nicely graphical mode. It displays a total&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;IN&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;OUT&lt;/span&gt;&amp;nbsp;network traffic usage in&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;hourly&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;daily&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;monthly&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;full summary&lt;/span&gt;&amp;nbsp;report.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;&amp;nbsp;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/vnstat-php-frontend-for-monitoring-network-bandwidth/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;VnStat PHP – Monitoring Network Bandwidth&lt;/a&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
18. Nagios – Network/Server Monitoring&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
Nagios is an leading open source powerful monitoring system that enables network/system administrators to identify and resolve server related problems before they affect major business processes. With the Nagios system, administrators can able to monitor remote Linux, Windows, Switches, Routers and Printers on a single window. It shows critical warnings and indicates if something went wrong in your network/server which indirectly helps you to begin remediation processes before they occur.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;&amp;nbsp;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-nagios-in-linux/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Nagios Monitoring System to Monitor Remote Linux/Windows Hosts&lt;/a&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #336699; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 30px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.5px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
19. Nmon: Monitor Linux Performance&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
Nmon (stands for Nigel’s performance Monitor) tool, which is used to monitor all Linux resources such as CPU, Memory, Disk Usage, Network, Top processes, NFS, Kernel and much more. This tool comes in two modes: Online Mode and Capture Mode.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
The Online Mode, is used for real-time monitoring and Capture Mode, is used to store the output in CSV format for later processing.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_6618&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2013/12/Nmon.jpeg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Nmon Monitoring&quot; aria-describedby=&quot;caption-attachment-6618&quot; class=&quot;size-medium wp-image-6618&quot; data-lazy-loaded=&quot;true&quot; height=&quot;383&quot; sizes=&quot;(max-width: 620px) 100vw, 620px&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2013/12/Nmon-620x383.jpeg&quot; srcset=&quot;https://www.tecmint.com/wp-content/uploads/2013/12/Nmon-620x383.jpeg 620w, https://www.tecmint.com/wp-content/uploads/2013/12/Nmon.jpeg 681w&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-6618&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Nmon Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More:&lt;/span&gt;&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/nmon-analyze-and-monitor-linux-system-performance/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Nmon (Performance Monitoring) Tool in Linux&lt;/a&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #336699; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 30px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.5px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;&quot;&gt;
20. Collectl: All-in-One Performance Monitoring Tool&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Collectl&lt;/span&gt;&amp;nbsp;is a yet another powerful and feature rich command line based utility, that can be used to gather information about Linux system resources such as CPU usage, memory, network, inodes, processes, nfs, tcp, sockets and much more.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_6619&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2013/12/Collectl.jpg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Collectl Monitoring&quot; aria-describedby=&quot;caption-attachment-6619&quot; class=&quot;size-medium wp-image-6619&quot; data-lazy-loaded=&quot;true&quot; height=&quot;410&quot; sizes=&quot;(max-width: 620px) 100vw, 620px&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2013/12/Collectl-620x410.jpg&quot; srcset=&quot;https://www.tecmint.com/wp-content/uploads/2013/12/Collectl-620x410.jpg 620w, https://www.tecmint.com/wp-content/uploads/2013/12/Collectl.jpg 678w&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-6619&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Collectl Monitoring&lt;br /&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
21. Glances – Real Time System Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Glances&lt;/span&gt;&amp;nbsp;is a monitoring tool built to present as much information as possible in any terminal size, it automatically takes the terminal window size it runs on, in other words, it’s a responsive monitoring tool.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10123&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Glances.jpeg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Real Time Linux Monitoring&quot; aria-describedby=&quot;caption-attachment-10123&quot; class=&quot;size-full wp-image-10123&quot; data-lazy-loaded=&quot;true&quot; height=&quot;435&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Glances.jpeg&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10123&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Glances&lt;/div&gt;
&lt;/div&gt;
&lt;/h4&gt;
&lt;h5 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #444444; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 22px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
Features&lt;/h5&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;ol style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; list-style: none; margin: 0px 0px 15px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Licensed under LGPL and written in Python.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Cross-platform, it works on Windows, Mac, BSD and Linux.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Available in most Linux official repositories.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;A It gives a lot of information about your system.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Built using curses.&lt;/li&gt;
&lt;/ol&gt;
&lt;center style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px; padding: 10px 0px 20px; vertical-align: baseline;&quot;&gt;
&lt;/center&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/glances-an-advanced-real-time-system-monitoring-tool-for-linux/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Glances on RHEL/CentOS/Fedora and Ubuntu/Debian&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
22. Sarg – Squid Bandwidth Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sarg&lt;/span&gt;&amp;nbsp;(Squid Analysis Report Generator) is a free &amp;amp; open-source tool which act as a monitoring tool for your Squid proxy server, it creates reports about your Squid proxy server users, IP addresses, the sites they visit beside some other information.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10124&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Sarg.jpeg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Monitor Squid Proxy Logs&quot; aria-describedby=&quot;caption-attachment-10124&quot; class=&quot;size-full wp-image-10124&quot; data-lazy-loaded=&quot;true&quot; height=&quot;430&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Sarg.jpeg&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10124&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Sarg Monitors Squid Logs&lt;/div&gt;
&lt;/div&gt;
&lt;/h4&gt;
&lt;h5 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #444444; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 22px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
Features of Sarg&lt;/h5&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;ol style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; list-style: none; margin: 0px 0px 15px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Licensed under GPL 2 and available in many languages.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Works under Linux &amp;amp; FreeBSD.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Generates report in HTML format.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Very easy to install &amp;amp; use.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/sarg-squid-analysis-report-generator-and-internet-bandwidth-monitoring-tool/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Sarg “Squid Bandwidth Monitoring” Tool in Linux&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
23. Apache Status Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Apache&lt;/span&gt;&amp;nbsp;Module&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;mod_status&lt;/span&gt;&amp;nbsp;is an Apache server module that allows you to monitor the workers status of the Apache server. It generates a report in an easy to read HTML format. It shows you the status of all the workers, how much CPU each one using, and what requests are currently handled and number of working and not working workers.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10125&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Apache-Monitoring.jpeg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Apache Monitoring in Linux&quot; aria-describedby=&quot;caption-attachment-10125&quot; class=&quot;size-full wp-image-10125&quot; data-lazy-loaded=&quot;true&quot; height=&quot;420&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Apache-Monitoring.jpeg&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10125&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Apache Status Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/monitor-apache-web-server-load-and-page-statistics/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Apache Web Server Load and Page Statistics Monitoring&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
24. Monit – Linux Process and Services Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Monit&lt;/span&gt;&amp;nbsp;is a nice program that monitors your Linux &amp;amp; Unix server, it can monitor everything you have on your server, from the main server (Apache, Nginx..) to files permissions, files hashes and web services. Plus a lot of things.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10126&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/monit.png&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Linux Process Monitoring&quot; aria-describedby=&quot;caption-attachment-10126&quot; class=&quot;size-medium wp-image-10126&quot; data-lazy-loaded=&quot;true&quot; height=&quot;387&quot; sizes=&quot;(max-width: 620px) 100vw, 620px&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/monit-620x387.png&quot; srcset=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/monit-620x387.png 620w, https://www.tecmint.com/wp-content/uploads/2014/12/monit-1024x640.png 1024w, https://www.tecmint.com/wp-content/uploads/2014/12/monit.png 1280w&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10126&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Monit: Linux Process Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;/h4&gt;
&lt;h5 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #444444; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 22px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
Features of Monit&lt;/h5&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;ol style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; list-style: none; margin: 0px 0px 15px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Free &amp;amp; open-source, released under AGPL and written in C.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;It can be started from the command line interface or via its special web interface.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Very effective in monitoring all the software on your system and services.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;A nice web interface with beautiful charts for CPU and RAM usage.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Monit can automatically take actions in emergency situations.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;A lot more..&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/how-to-install-and-setup-monit-linux-process-and-services-monitoring-program/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Monit Tool in RHEL/CentOS/Fedora and Ubuntu/Debian&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
25. Sysstat – All-in-One System Performance Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
Another monitoring tool for your Linux system.&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sysstat&lt;/span&gt;&amp;nbsp;is not a real command in fact, it’s just the name of the project, Sysstat in fact is a package that includes many performance monitoring tools like iostat, sadf, pidstat beside many other tools which shows you many statistics about your Linux OS.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10127&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Sysstat.png&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Sysstat All-in-One Linux Monitoring&quot; aria-describedby=&quot;caption-attachment-10127&quot; class=&quot;size-medium wp-image-10127&quot; data-lazy-loaded=&quot;true&quot; height=&quot;381&quot; sizes=&quot;(max-width: 620px) 100vw, 620px&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Sysstat-620x381.png&quot; srcset=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Sysstat-620x381.png 620w, https://www.tecmint.com/wp-content/uploads/2014/12/Sysstat.png 664w&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10127&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Sysstat: Linux Statistics Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;/h4&gt;
&lt;h5 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #444444; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 22px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
Features of Sysstat&lt;/h5&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;ol style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; list-style: none; margin: 0px 0px 15px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Available in many Linux distributions repositories by default.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Ability to create statistics about RAM, CPU, SWAP usage. Beside the ability to monitor Linux kernel activity, NFS server, Sockets, TTY and filesystems.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Ability to monitor input &amp;amp; output statistics for devices, tasks.. etc.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Ability to output reports about network interfaces and devices, with support for IPv6.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sysstat can show you the power statistics (usage, devices, the fans speed.. etc) as well.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Many other features..&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-sysstat-in-linux/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Sysstat in Linux&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/sysstat-commands-to-monitor-linux/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;20 Useful Commands of Sysstat&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
26. Icinga – Next Generation Server Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
Unlike the other tools,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Icinga&lt;/span&gt;&amp;nbsp;is a network monitoring program, it shows you many options and information about your network connections, devices and processes, it’s a very good choice for those who are looking for a good tool to monitor their networking stuffs.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10128&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Icinga.jpeg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Icinga Monitoring Tool&quot; aria-describedby=&quot;caption-attachment-10128&quot; class=&quot;size-full wp-image-10128&quot; data-lazy-loaded=&quot;true&quot; height=&quot;308&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Icinga.jpeg&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10128&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Icinga Monitoring Tool&lt;/div&gt;
&lt;/div&gt;
&lt;/h4&gt;
&lt;h5 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #444444; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 22px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
Features of Icinga&lt;/h5&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;ol style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; list-style: none; margin: 0px 0px 15px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Icinga is also free and open-source.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Very functional in monitoring everything you may have in networking.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Support for MySQL and PostgreSQL is included.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Real-time monitoring with A nice web interface.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Very expendable with modules and extensions.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Icinga supports applying services and actions to hosts.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;A lot more to discover..&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-icinga-in-centos-7/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Icinga in RHEL/CentOS 7/6&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
27. Observium – Network Management and Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Observium&lt;/span&gt;&amp;nbsp;is also a network monitoring tool, it was designed to help you manage your network of servers easily, there are 2 versions from it; Community Edition which is free &amp;amp; open-source and Commercial version which costs £150/year.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10129&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Observium.jpeg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Linux Network Monitoring&quot; aria-describedby=&quot;caption-attachment-10129&quot; class=&quot;size-full wp-image-10129&quot; data-lazy-loaded=&quot;true&quot; height=&quot;405&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Observium.jpeg&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10129&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Observium: Linux Network Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;/h4&gt;
&lt;h5 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #444444; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 22px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
Features of Observium&lt;/h5&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;ol style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; list-style: none; margin: 0px 0px 15px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Written in PHP with MySQL database support.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Has a nice web interface to output information and data.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Ability to manage and monitor hundreds of hosts worldwide.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;The community version from it is licensed under QPL license.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Works on Windows, Linux, FreeBSD and more.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-observium-in-centos/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Observium – Network Management and Monitoring Tool for RHEL/CentOS&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
28. Web VMStat – System Statistics Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Web VMStat&lt;/span&gt;&amp;nbsp;is a very simple web application programmer, that provides a real time system information usage, from CPU to RAM, Swap and input/output information in html format.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10130&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Web-VMStat.png&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Web VMStat Tool for Linux&quot; aria-describedby=&quot;caption-attachment-10130&quot; class=&quot;size-full wp-image-10130&quot; data-lazy-loaded=&quot;true&quot; height=&quot;429&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Web-VMStat.png&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10130&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Web VMStat Tool for Linux&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-web-vmstat-in-linux/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Web VMStat: A Real Time System Statistics Tool for Linux&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
29. PHP Server Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
Unlike the other tools on this list,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;PHP Server Monitoring&lt;/span&gt;&amp;nbsp;is a web script written in PHP that helps you to manage you websites and hosts easily, it supports MySQL database and is released under GPL 3 or later.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10131&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 610px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/PHP-Server-Monitor.png&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;PHP Server Monitor&quot; aria-describedby=&quot;caption-attachment-10131&quot; class=&quot;size-full wp-image-10131&quot; data-lazy-loaded=&quot;true&quot; height=&quot;400&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/PHP-Server-Monitor.png&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10131&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
PHP Server Monitor&lt;/div&gt;
&lt;/div&gt;
&lt;/h4&gt;
&lt;h5 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #444444; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 22px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
Features&lt;/h5&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;ol style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; list-style: none; margin: 0px 0px 15px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;A nice web interface.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Ability to send notifications to you via Email &amp;amp; SMS.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Ability to view the most important information about CPU and RAM.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;A very modern logging system to log connection errors and emails that are sent.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Support for cronjob services to help you monitor your servers and websites automatically.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-php-server-monitor-in-arch-linux/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install PHP Server Monitoring Tool in Arch Linux&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
30. Linux Dash – Linux Server Performance Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
From its name, “&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Linux Dash&lt;/span&gt;” is a web dashboard that shows you the most important information about your Linux systems such as RAM, CPU, file-system, running processes, users, bandwidth usage in real time, it has a nice GUI and it’s free &amp;amp; open-source.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10132&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 628px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/linux-dash.jpeg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Linux Dash Tool&quot; aria-describedby=&quot;caption-attachment-10132&quot; class=&quot;size-full wp-image-10132&quot; data-lazy-loaded=&quot;true&quot; height=&quot;450&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/linux-dash.jpeg&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;618&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10132&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Linux Dash Tool&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/monitors-linux-server-performance-remotely-using-web-browser/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Linux Dash (Linux Performance Monitoring) Tool in Linux&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
31. Cacti – Network and System Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Cacti&lt;/span&gt;&amp;nbsp;is nothing more than a free &amp;amp; open-source web interface for RRDtool, it is used often to monitor the bandwidth using SNMP (Simple Network Management Protocol), it can be used also to monitor CPU usage.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10133&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 540px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Cacti.png&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Cacti Network Monitoring&quot; aria-describedby=&quot;caption-attachment-10133&quot; class=&quot;size-full wp-image-10133&quot; data-lazy-loaded=&quot;true&quot; height=&quot;394&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Cacti.png&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;530&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10133&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Cacti Network Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;/h4&gt;
&lt;h5 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #444444; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 22px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
Features of Cacti&lt;/h5&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;ol style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; list-style: none; margin: 0px 0px 15px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Free &amp;amp; open-source, released under GPL license.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Written in PHP with PL/SQL.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;A cross-platform tool, it works on Windows and Linux.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;User management; you may create different users accounts for Cacti.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-cacti-network-monitoring-on-rhel-centos-6-3-5-8-and-fedora-17-12/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Cacti Network and System Monitoring Tool in Linux&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
32. Munin – Network Monitoring&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Munin&lt;/span&gt;&amp;nbsp;is also a web interface GUI for RRDtool, it was written in Perl and licensed under GPL, Munin is a good tool to monitor systems, networks, applications and services. It works on all Unix-like operating systems and has a nice plugin system; there are 500 different plugin available to monitor anything you want on your machine. A notifications system is available to send messages to the administrator when there’s an error or when the error is resolved.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10134&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 630px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Munin.png&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Munin Network Monitoring&quot; aria-describedby=&quot;caption-attachment-10134&quot; class=&quot;size-medium wp-image-10134&quot; data-lazy-loaded=&quot;true&quot; height=&quot;396&quot; sizes=&quot;(max-width: 620px) 100vw, 620px&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Munin-620x396.png&quot; srcset=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/Munin-620x396.png 620w, https://www.tecmint.com/wp-content/uploads/2014/12/Munin-1024x654.png 1024w, https://www.tecmint.com/wp-content/uploads/2014/12/Munin.png 1056w&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;620&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10134&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Munin Network Monitoring&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Read More&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.tecmint.com/install-munin-network-monitoring-in-rhel-cent-6-3-fedora-17/&quot; style=&quot;border: 0px; color: #bb0e30; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; outline: 0px; padding: 0px; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Install Munin Network Monitoring Tool in Linux&lt;/a&gt;&lt;/div&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
33. Wireshark – Network Protocol Analyzer&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
Also, unlike all the other tools on our list,&amp;nbsp;&lt;span style=&quot;border: 0px; color: #333333; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Wireshark&lt;/span&gt;&amp;nbsp;is an analyzer desktop program which is used to analyze network packets and to monitor network connections. It’s written in C with the GTK+ library and released under the GPL license.&lt;/div&gt;
&lt;div class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_10135&quot; style=&quot;background: rgb(241, 241, 241); border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; margin: 0px auto 14px; max-width: 100%; padding: 5px 0px 0px; text-align: center; vertical-align: baseline; width: 610px;&quot;&gt;
&lt;a href=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/wireshark.jpg&quot; style=&quot;border-bottom: none; border-image: initial; border-left: 0px; border-right: 0px; border-top: 0px; color: #3b8dbd; font: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; transition-duration: 0.2s; transition-timing-function: ease; vertical-align: baseline;&quot;&gt;&lt;img alt=&quot;Wireshark Network Analyzer&quot; aria-describedby=&quot;caption-attachment-10135&quot; class=&quot;size-full wp-image-10135&quot; data-lazy-loaded=&quot;true&quot; height=&quot;395&quot; src=&quot;https://www.tecmint.com/wp-content/uploads/2014/12/wireshark.jpg&quot; style=&quot;border-radius: 2px; border: 0px; display: inline; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; transition: opacity 0.2s ease 0s; vertical-align: baseline;&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-10135&quot; style=&quot;border: 0px; color: #999999; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: italic; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px 0px 8px; vertical-align: baseline;&quot;&gt;
Wireshark Network Analyzer&lt;/div&gt;
&lt;/div&gt;
&lt;/h4&gt;
&lt;h5 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #444444; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 22px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
Features&lt;/h5&gt;
&lt;h4 style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 1px; color: #aa4b80; font-family: &amp;quot;Roboto Condensed&amp;quot;, Arial, sans-serif; font-size: 26px; font-stretch: inherit; font-style: normal; font-variant-east-asian: inherit; font-variant-numeric: inherit; font-weight: 400; letter-spacing: -0.3px; line-height: 1.3em; margin: 0px 0px 14px; overflow-wrap: break-word; padding: 0px; text-align: start; vertical-align: baseline;&quot;&gt;
&lt;ol style=&quot;border: 0px; color: #272727; font-size: 18px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; letter-spacing: normal; line-height: inherit; list-style: none; margin: 0px 0px 15px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Cross-platform: it works on Linux, BSD , Mac OS X and Windows.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Command line support: there’s a command line based version from Wireshark to analyze data.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Ability to capture VoIP calls, USB traffic, network data easily to analyze it.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; list-style: square; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Available in most Linux distributions repositories.&lt;/li&gt;
&lt;/ol&gt;
&lt;/h4&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/3544426549195816121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/20-command-line-tools-to-monitor-linux.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/3544426549195816121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/3544426549195816121'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/20-command-line-tools-to-monitor-linux.html' title='33 Tools to Monitor Linux Performance'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-7889851600228860803</id><published>2019-06-11T21:24:00.000-07:00</published><updated>2019-06-11T21:24:07.425-07:00</updated><title type='text'>Set up public-key authentication using SSH on a Linux or macOS computer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #181818; font-family: BentonSans, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.42857em; margin-bottom: 1em;&quot;&gt;
To set up public-key authentication using SSH on a Linux or macOS computer:&lt;/div&gt;
&lt;ol style=&quot;background-color: white; box-sizing: border-box; color: #181818; font-family: BentonSans, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; list-style-position: outside; margin-bottom: 20px; margin-top: 0px; padding: 0px 0px 0px 2.5em;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;Log into the computer you&#39;ll use to access the remote host, and then use command-line SSH to generate a key pair using the RSA algorithm.&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
To generate RSA keys, on the command line, enter:&lt;/div&gt;
&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;ssh-keygen -t rsa
&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;You will be prompted to supply a filename (for saving the key pair) and a password (for protecting your private key):&lt;ul style=&quot;box-sizing: border-box; list-style-position: outside; margin-bottom: 1em; margin-top: 1em; padding: 0px 0px 0px 2.5em;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Filename:&lt;/span&gt;&amp;nbsp;To accept the default filename (and location) for your key pair, press&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;Enter&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;Return&lt;/code&gt;without entering a filename.&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
Alternatively, you can enter a filename (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;my_ssh_key&lt;/code&gt;) at the prompt, and then press&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;Enter&lt;/code&gt;or&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;Return&lt;/code&gt;. However, many remote hosts are configured to accept private keys with the default filename and path (&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/id_rsa&lt;/code&gt;&amp;nbsp;for RSA keys) by default. Consequently, to authenticate with a private key that has a different filename, or one that is not stored in the default location, you must explicitly invoke it either on the SSH command line or in an SSH client configuration file (&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/config&lt;/code&gt;); see&amp;nbsp;&lt;a href=&quot;https://kb.iu.edu/d/aews#id&quot; style=&quot;background: 0px 0px transparent; box-sizing: border-box; color: #804180;&quot; title=&quot;&quot;&gt;below&lt;/a&gt;&amp;nbsp;for instructions.&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Password:&lt;/span&gt;&amp;nbsp;Enter a password that contains at least five characters, and then press&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;Enter&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;Return&lt;/code&gt;. If you press&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;Enter&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;Return&lt;/code&gt;&amp;nbsp;without entering a password, your private key will be generated without password-protection.&lt;div class=&quot;panel panel-danger&quot; style=&quot;border-radius: 4px; border: 1px solid rgb(235, 204, 209); box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px; box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; max-width: 100%;&quot;&gt;
&lt;div class=&quot;panel-heading&quot; style=&quot;background-color: #f2dede; border-bottom: 1px solid rgb(235, 204, 209); border-left-color: rgb(235, 204, 209); border-right-color: rgb(235, 204, 209); border-top-color: rgb(235, 204, 209); border-top-left-radius: 3px; border-top-right-radius: 3px; box-sizing: border-box; color: #a94442; max-width: 100%; padding: 10px 15px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Important:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;panel-body&quot; style=&quot;box-sizing: border-box; max-width: 100%; padding: 15px;&quot;&gt;
If you don&#39;t password-protect your private key, anyone with access to your computer conceivably can SSH (without being prompted for a password) to your account on any remote system that has the corresponding public key.&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
Your private key will be generated using the default filename (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;id_rsa&lt;/code&gt;) or the filename you specified (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;my_ssh_key&lt;/code&gt;), and stored on your computer in a&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;.ssh&lt;/code&gt;&amp;nbsp;directory off your home directory (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/id_rsa&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/my_ssh_key&lt;/code&gt;).&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
The corresponding public key will be generated using the same filename (but with a&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;.pub&lt;/code&gt;&amp;nbsp;extension added) and stored in the same location (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/id_rsa.pub&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/my_ssh_key.pub&lt;/code&gt;).&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;Use&amp;nbsp;&lt;a class=&quot;kbh&quot; href=&quot;https://kb.iu.edu/d/akqg&quot; style=&quot;background: 0px 0px transparent; box-sizing: border-box; color: #804180;&quot; title=&quot;&quot;&gt;SFTP&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a class=&quot;kbh&quot; href=&quot;https://kb.iu.edu/d/agye&quot; style=&quot;background: 0px 0px transparent; box-sizing: border-box; color: #804180;&quot; title=&quot;&quot;&gt;SCP&lt;/a&gt;&amp;nbsp;to copy the public key file (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;~/.ssh/id_rsa.pub&lt;/code&gt;) to your account on the remote system (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;darvader@deathstar.empire.gov&lt;/code&gt;); for example, using command-line SCP:&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;scp ~/.ssh/id_rsa.pub darvader@deathstar.empire.gov:
&lt;/pre&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
You&#39;ll be prompted for your account password. Your public key will be copied to your home directory (and saved with the same filename) on the remote system.&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;Log into the remote system using your account username and password.&lt;div class=&quot;panel panel-info&quot; style=&quot;border-radius: 4px; border: 1px solid rgb(188, 232, 241); box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px; box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; max-width: 100%;&quot;&gt;
&lt;div class=&quot;panel-heading&quot; style=&quot;background-color: #d9edf7; border-bottom: 1px solid rgb(188, 232, 241); border-left-color: rgb(188, 232, 241); border-right-color: rgb(188, 232, 241); border-top-color: rgb(188, 232, 241); border-top-left-radius: 3px; border-top-right-radius: 3px; box-sizing: border-box; color: #31708f; max-width: 100%; padding: 10px 15px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Note:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;panel-body&quot; style=&quot;box-sizing: border-box; max-width: 100%; padding: 15px;&quot;&gt;
If the remote system is not configured to support password-based authentication, you will need to ask system administrators to add your public key to the&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/authorized_keys&lt;/code&gt;&amp;nbsp;file in your account (if your account doesn&#39;t have&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/authorized_keys&lt;/code&gt;&amp;nbsp;file, system administrators can create one for you). Once your public key is added to your&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/authorized_keys&lt;/code&gt;&amp;nbsp;file on the remote system, the setup process is complete, and you should now be able to SSH to your account from the computer that has your private key.&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;If your account on the remote system doesn&#39;t already contain a&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;~/.ssh/authorized_keys&lt;/code&gt;&amp;nbsp;file, create one; on the command line, enter the following commands:&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;mkdir -p ~/.ssh
touch ~/.ssh/authorized_keys
&lt;/pre&gt;
&lt;div class=&quot;panel panel-info&quot; style=&quot;border-radius: 4px; border: 1px solid rgb(188, 232, 241); box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px; box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; max-width: 100%;&quot;&gt;
&lt;div class=&quot;panel-heading&quot; style=&quot;background-color: #d9edf7; border-bottom: 1px solid rgb(188, 232, 241); border-left-color: rgb(188, 232, 241); border-right-color: rgb(188, 232, 241); border-top-color: rgb(188, 232, 241); border-top-left-radius: 3px; border-top-right-radius: 3px; box-sizing: border-box; color: #31708f; max-width: 100%; padding: 10px 15px;&quot;&gt;
&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;Note:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;panel-body&quot; style=&quot;box-sizing: border-box; max-width: 100%; padding: 15px;&quot;&gt;
If your account on the remote system already has a&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/authorized_keys&lt;/code&gt;&amp;nbsp;file, executing these commands will not damage the existing directory or file.&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;On the remote system, add the contents of your public key file (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;~/id_rsa.pub&lt;/code&gt;) to a new line in your&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;~/.ssh/authorized_keys&lt;/code&gt;&amp;nbsp;file; on the command line, enter:&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;cat ~/id_rsa.pub &amp;gt;&amp;gt; ~/.ssh/authorized_keys
&lt;/pre&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
You may want to check the contents of&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/authorized_keys&lt;/code&gt;&amp;nbsp;to make sure your public key was added properly; on the command line, enter:&lt;/div&gt;
&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;more ~/.ssh/authorized_keys
&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;You may now safely delete the public key file (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;~/id_rsa.pub&lt;/code&gt;) from your account on the remote system; on the command line, enter:&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;rm ~/id_rsa.pub
&lt;/pre&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
Alternatively, if you prefer to keep a copy of your public key on the remote system, move it to your&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;.ssh&lt;/code&gt;directory; on the command line, enter:&lt;/div&gt;
&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;mv ~/id_rsa.pub ~/.ssh/
&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;Optionally, repeat steps 3-7 to add your public key to other remote systems that you want to access from the computer that has your private key using SSH public-key authentication.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;You now should be able to SSH to your account on the remote system (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;username@host2.somewhere.edu&lt;/code&gt;) from the computer (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;host1&lt;/code&gt;) that has your private key (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;~/.ssh/id_rsa&lt;/code&gt;):&lt;ul style=&quot;box-sizing: border-box; list-style-position: outside; margin-bottom: 1em; margin-top: 1em; padding: 0px 0px 0px 2.5em;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;If your private key is password-protected, the remote system will prompt you for the password or passphrase (your private key password/passphrase is not transmitted to the remote system):&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;[username@host1 ~]$ ssh username@host2.somewhere.edu
Enter passphrase for key &#39;/username/Host1/.ssh/id_rsa&#39;:
Last login: Mon Oct 20 09:23:17 2014 from host1.somewhere_else.edu
&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;If your private key is not password-protected, the remote system will place you on the command line in your home directory without prompting you for a password or passphrase:&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;[username@host1 ~]$ ssh username@host2.somewhere.edu
Last login: Mon Oct 20 09:23:17 2014 from host1.somewhere_else.edu
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div id=&quot;id&quot; style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
If the private key you&#39;re using does not have the default name, or is not stored in the default path (not&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/id_rsa&lt;/code&gt;), you must explicitly invoke it in one of two ways:&lt;/div&gt;
&lt;/li&gt;
&lt;ul style=&quot;box-sizing: border-box; list-style-position: outside; margin-bottom: 1em; margin-top: 1em; padding: 0px 0px 0px 2.5em;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;On the SSH command line:&lt;/span&gt;&amp;nbsp;Add the&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;-i&lt;/code&gt;&amp;nbsp;flag and the path to your private key.&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
For example, to invoke the private key&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;host2_key&lt;/code&gt;, stored in the&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/old_keys&lt;/code&gt;&amp;nbsp;directory, when connecting to your account on a remote host (for example,&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;username@host2.somewhere.edu&lt;/code&gt;), enter:&lt;/div&gt;
&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;ssh -i ~/.ssh/old_keys/host2_key username@host2.somewhere.edu
&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;In an SSH client configuration file:&lt;/span&gt;&amp;nbsp;SSH gets configuration data from the following sources (in this order):&lt;ol style=&quot;box-sizing: border-box; list-style-position: outside; margin: 1em 0px; padding: 0px 0px 0px 2.5em;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;From command-line options&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;From the user&#39;s client configuration file (&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;~/.ssh/config&lt;/code&gt;), if it exists&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box; margin-bottom: 1em;&quot;&gt;From the system-wide client configuration file (&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; margin-bottom: 1em; margin-top: 1em; padding: 2px 4px;&quot;&gt;/etc/ssh/ssh_config&lt;/code&gt;)&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
The SSH client configuration file is a text file containing keywords and arguments. To specify which private key should be used for connections to a particular remote host, use a text editor to create a&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/config&lt;/code&gt;&amp;nbsp;that includes the&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;Host&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;IdentityFile&lt;/code&gt;&amp;nbsp;keywords.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
For example, for connections to&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;host2.somewhere.edu&lt;/code&gt;, to make SSH automatically invoke the private key&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;host2_key&lt;/code&gt;, stored in the&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/old_keys&lt;/code&gt;&amp;nbsp;directory, create a&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;~/.ssh/config&lt;/code&gt;&amp;nbsp;file with these lines included:&lt;/div&gt;
&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;Host host2.somewhere.edu
IdentityFile ~/.ssh/old_keys/host2_key
&lt;/pre&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
Once you save the file, SSH will use the specified private key for future connections to that host.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
You can add multiple&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;Host&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;IdentityFile&lt;/code&gt;&amp;nbsp;directives to specify a different private key for each host listed; for example:&lt;/div&gt;
&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;Host host2.somewhere.edu
IdentityFile ~/.ssh/old_keys/host2_key

Host host4.somewhere.edu
IdentityFile ~/.ssh/old_keys/host4_key

Host host6.somewhere.edu
IdentityFile ~/.ssh/old_keys/host6_key
&lt;/pre&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
Alternatively, you can use a single asterisk (&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;&amp;nbsp;*&amp;nbsp;&lt;/code&gt;) to provide global defaults for all hosts (specify one private key for several hosts); for example:&lt;/div&gt;
&lt;pre class=&quot;example&quot; style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; line-height: 1.42857; margin-bottom: 1em; margin-top: 1em; overflow-wrap: break-word; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-word;&quot;&gt;Host *.somewhere.edu
IdentityFile ~/.ssh/old_keys/all_hosts_key
&lt;/pre&gt;
&lt;div style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.42857em; margin-bottom: 1em; margin-top: 1em;&quot;&gt;
For more about the SSH client configuration file, see the OpenSSH SSH client configuration file&amp;nbsp;&lt;a class=&quot;new-window&quot; href=&quot;http://man7.org/linux/man-pages/man5/ssh_config.5.html&quot; style=&quot;background: 0px 0px transparent; box-sizing: border-box; color: #804180;&quot; title=&quot;&quot;&gt;on the web&amp;nbsp;&lt;span class=&quot;glyphicon glyphicon-new-window&quot; style=&quot;-webkit-font-smoothing: antialiased; box-sizing: border-box; display: inline-block; font-family: &amp;quot;Glyphicons Halflings&amp;quot;; line-height: 1; position: relative; top: 1px;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&amp;nbsp;or from the command line (&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Monaco, Menlo, Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14.4px; padding: 2px 4px;&quot;&gt;man ssh_config&lt;/code&gt;).&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;color: #181818; font-family: BentonSans, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;Source:&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://kb.iu.edu/d/aews&quot;&gt;https://kb.iu.edu/d/aews&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/7889851600228860803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/set-up-public-key-authentication-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/7889851600228860803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/7889851600228860803'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/set-up-public-key-authentication-using.html' title='Set up public-key authentication using SSH on a Linux or macOS computer'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-5485405893448478092</id><published>2019-06-04T21:53:00.000-07:00</published><updated>2019-06-11T21:26:56.950-07:00</updated><title type='text'>List sudo or super users in Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;Let us first list all
users in the system. To do so, run:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;$ awk -F&#39;:&#39; &#39;{ print $1}&#39; /etc/passwd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;Sample output from my
Ubuntu system:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;root&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;daemon&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;bin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;sys&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;sync&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;games&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;man&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;lp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;mail&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;news&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;uucp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;proxy&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;www-data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;backup&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;list&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;irc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;gnats&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;nobody&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;systemd-timesync&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;systemd-network&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;systemd-resolve&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;systemd-bus-proxy&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;syslog&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;_apt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;lxd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;messagebus&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;uuidd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;dnsmasq&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;sshd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;sk&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;senthil&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;kumar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;ostechnix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;You can also use the
following command to list all users:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;$ compgen -u&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;Among all users, let us
only find the sudo&amp;nbsp;or super users in our Linux system.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;$ grep &#39;^sudo:.*$&#39; /etc/group | cut -d: -f4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;sk,ostechnix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;Also, you can use
“getent” command instead of “grep” to get the same result.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;$ getent group sudo | cut -d: -f4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;sk,ostechnix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;As you see in the above
output, “sk” and “ostechnix” are the sudo users in my system.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;In the above examples,
we listed all sudo users. You might want to know whether a certain user has
sudo privilege or not.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;To do so, run:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;$ sudo -l -U sk&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;border: none 1.0pt; color: black; font-family: &amp;quot;inherit&amp;quot; , serif; font-size: 13.5pt; padding: 0in;&quot;&gt;Sample output:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;Matching Defaults entries for sk on ubuntuserver:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;env_reset, mail_badpass,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;User sk may run the following commands on ubuntuserver:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;border: none 1.0pt; color: black; font-family: &amp;quot;inherit&amp;quot; , serif; font-size: 13.5pt; padding: 0in;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;(ALL : ALL) ALL&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;As you see, the user
named “sk” can perform all commands. So, he is in the sudo group. Let us check
another user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;$ sudo -l -U senthil&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; vertical-align: baseline;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;border: none 1.0pt; color: black; font-family: &amp;quot;inherit&amp;quot; , serif; font-size: 13.5pt; padding: 0in;&quot;&gt;Sample output:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;User &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;border: none 1.0pt; color: black; font-family: &amp;quot;inherit&amp;quot; , serif; font-size: 13.5pt; padding: 0in;&quot;&gt;senthil is not allowed to run sudo&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt; on ubuntuserver.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;Oops! The user “senthil”
is not allowed to run sudo, so he is just a normal user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;We can also find if an
user has sudo access by running the following command:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;$ sudo -nv&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;If you get nothing as
output, the user still has sudo access.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: normal; margin-bottom: 12.0pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 13.5pt;&quot;&gt;If you see an output
like below, then the user doesn’t has sudo access.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: #FFFAEF; border-left: solid #EF4423 3.0pt; border: solid #DDDDDD 1.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-element: para-border-div; padding: 16.0pt 16.0pt 16.0pt 16.0pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: 16.0pt; margin-left: 0in; margin-right: 0in; margin-top: 16.0pt; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;$ sudo -nv&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #FFFAEF; border: none; line-height: 18.75pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-border-alt: solid #DDDDDD .75pt; mso-border-left-alt: solid #EF4423 3.0pt; mso-padding-alt: 16.0pt 16.0pt 16.0pt 16.0pt; padding: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;Sorry, user &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;border: none 1.0pt; color: black; font-family: &amp;quot;inherit&amp;quot; , serif; font-size: 13.5pt; padding: 0in;&quot;&gt;senthil may not run sudo&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;courier new&amp;quot;; font-size: 13.5pt;&quot;&gt;
on ubuntuserver.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/5485405893448478092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/let-us-first-list-allusers-in-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/5485405893448478092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/5485405893448478092'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/let-us-first-list-allusers-in-system.html' title='List sudo or super users in Linux'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-4193312815305601445</id><published>2019-06-04T20:28:00.001-07:00</published><updated>2019-06-04T20:32:09.349-07:00</updated><title type='text'>Top 20 OpenSSH Server Best Security Practices</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
OpenSSH defaults&lt;/h2&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.75em 1.75em; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;TCP port – 22&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;OpenSSH server config file – sshd_config (located in /etc/ssh/)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
1. Use SSH public key based login&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
OpenSSH server supports various authentication. It is recommended that you use public key based authentication. First, create the key pair using following ssh-keygen command on your local desktop/laptop:&lt;/div&gt;
&lt;div class=&quot;note&quot; style=&quot;background: url(&amp;quot;assets/images/note.png&amp;quot;) 1.75em 50% no-repeat rgb(230, 243, 254); box-sizing: inherit; color: #216093; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em; padding: 0.7em 1.75em 0.7em 4em;&quot;&gt;
DSA and RSA 1024 bit or lower ssh keys are considered weak. Avoid them. RSA keys are chosen over ECDSA keys when backward compatibility is a concern with ssh clients. All ssh keys are either ED25519 or RSA. Do not use any other type.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ ssh-keygen -t key_type -b bits -C &quot;comment&quot;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ ssh-keygen -t ed25519 -C &quot;Login to production cluster at xyz corp&quot;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa_aws_$(date +%Y-%m-%d) -C &quot;AWS key for abc corp clients&quot;&lt;/code&gt;&lt;br /&gt;
Next, install the public key using ssh-copy-id command:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ ssh-copy-id -i /path/to/public-key-file user@host&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ ssh-copy-id user@remote-server-ip-or-dns-name&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ ssh-copy-id vivek@rhel7-aws-server&lt;/code&gt;&lt;br /&gt;
When promoted supply user password. Verify that ssh key based login working for you:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ ssh vivek@rhel7-aws-server&lt;/code&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.cyberciti.biz/tips/wp-content/uploads/2009/07/OpenSSH-server-security-best-practices.png&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;&lt;img alt=&quot;OpenSSH server security best practices&quot; class=&quot;aligncenter size-full wp-image-114333&quot; height=&quot;365&quot; sizes=&quot;(max-width: 590px) 85vw, 590px&quot; src=&quot;https://www.cyberciti.biz/tips/wp-content/uploads/2009/07/OpenSSH-server-security-best-practices.png&quot; srcset=&quot;https://www.cyberciti.biz/tips/wp-content/uploads/2009/07/OpenSSH-server-security-best-practices.png 590w, https://www.cyberciti.biz/tips/wp-content/uploads/2009/07/OpenSSH-server-security-best-practices-300x186.png 300w&quot; style=&quot;border: 0px; box-sizing: inherit; clear: both; display: block; height: auto; margin: 0px auto 1.75em; max-width: 100%; vertical-align: middle;&quot; width=&quot;590&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
For more info on ssh public key auth see:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.75em 1.75em; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.cyberciti.biz/faq/ssh-passwordless-login-with-keychain-for-scripts/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;keychain: Set Up Secure Passwordless SSH Access For Backup Scripts&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.cyberciti.biz/faq/noninteractive-shell-script-ssh-password-provider/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;sshpass: Login To SSH Server / Provide SSH Password Using A Shell Script&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.cyberciti.biz/faq/how-to-set-up-ssh-keys-on-linux-unix/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;How To Setup SSH Keys on a Linux / Unix System&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.cyberciti.biz/faq/how-to-upload-ssh-public-key-to-as-authorized_key-using-ansible/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;How to upload ssh public key to as authorized_key using Ansible DevOPS tool&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
2. Disable root user login&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Before we disable root user login, make sure regular user can log in as root. For example, allow vivek user to login as root using the sudo command.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.4375rem; line-height: 1.21739; margin: 2.43478em 0px 1.21739em; text-rendering: optimizelegibility;&quot;&gt;
How to add vivek user to sudo group on a Debian/Ubuntu&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Allow members of group sudo to execute any command.&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/how-to-create-a-sudo-user-on-ubuntu-linux-server/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;Add user vivek to sudo group&lt;/a&gt;:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo adduser vivek sudo&lt;/code&gt;&lt;br /&gt;
Verify group membership with&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/unix-linux-id-command-examples-usage-syntax/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; title=&quot;See Linux/Unix id command examples for more info&quot;&gt;id command&lt;/a&gt;&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ id vivek&lt;/code&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.4375rem; line-height: 1.21739; margin: 2.43478em 0px 1.21739em; text-rendering: optimizelegibility;&quot;&gt;
How to add vivek user to sudo group on a CentOS/RHEL server&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Allows people in group wheel to run all commands on a CentOS/RHEL and Fedora Linux server. Use the usermod command to add the user named vivek to the wheel group:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo usermod -aG wheel vivek&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ id vivek&lt;/code&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.4375rem; line-height: 1.21739; margin: 2.43478em 0px 1.21739em; text-rendering: optimizelegibility;&quot;&gt;
Test sudo access and disable root login for ssh&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Test it and make sure user vivek can log in as root or run the command as root:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo -i&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ sudo /etc/init.d/sshd status&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ sudo systemctl status httpd&lt;/code&gt;&lt;br /&gt;
Once confirmed disable root login by adding the following line to sshd_config:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;PermitRootLogin no&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;ChallengeResponseAuthentication no&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;PasswordAuthentication no&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;UsePAM no&lt;/code&gt;&lt;br /&gt;
See “&lt;a href=&quot;https://www.cyberciti.biz/faq/how-to-disable-ssh-password-login-on-linux/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;How to disable ssh password login on Linux to increase security&lt;/a&gt;” for more info.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
3. Disable password based login&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
All password-based logins must be disabled. Only public key based logins are allowed. Add the following in your sshd_config file:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;AuthenticationMethods publickey&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;PubkeyAuthentication yes&lt;/code&gt;&lt;br /&gt;
Older version of SSHD on CentOS 6.x/RHEL 6.x user should use the following setting:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;PubkeyAuthentication yes&lt;/code&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
4. Limit Users’ ssh access&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
By default, all systems user can login via SSH using their password or public key. Sometimes you create UNIX / Linux user account for FTP or email purpose. However, those users can log in to the system using ssh. They will have full access to system tools including compilers and scripting languages such as Perl, Python which can open network ports and do many other fancy things. Only allow root, vivek and jerry user to use the system via SSH, add the following to sshd_config:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;AllowUsers vivek jerry&lt;/code&gt;&lt;br /&gt;
Alternatively, you can allow all users to login via SSH but deny only a few users, with the following line in sshd_config:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;DenyUsers root saroj anjali foo&lt;/code&gt;&lt;br /&gt;
You can also&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/tips/linux-pam-configuration-that-allows-or-deny-login-via-the-sshd-server.html&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;configure Linux PAM&lt;/a&gt;&amp;nbsp;allows or deny login via the sshd server. You can allow&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/tips/openssh-deny-or-restrict-access-to-users-and-groups.html&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;list of group name&lt;/a&gt;&amp;nbsp;to access or deny access to the ssh.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
5. Disable Empty Passwords&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
You need to explicitly disallow remote login from accounts with empty passwords, update sshd_config with the following line:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;PermitEmptyPasswords no&lt;/code&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
6. Use strong passwords and passphrase for ssh users/keys&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
It cannot be stressed enough how important it is to use strong user passwords and passphrase for your keys. Brute force attack works because user goes to dictionary based passwords. You can force users to avoid&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/tips/linux-check-passwords-against-a-dictionary-attack.html&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;passwords against a dictionary&lt;/a&gt;&amp;nbsp;attack and use&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/unix-linux-password-cracking-john-the-ripper/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;john the ripper tool&lt;/a&gt;&amp;nbsp;to find out existing weak passwords. Here is a sample random password generator (put in your ~/.bashrc):&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: auto;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 607px;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit;&quot;&gt;
&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 607px;&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;&quot;&gt;genpasswd&lt;span style=&quot;box-sizing: inherit; color: #7a0874; font-weight: bold;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;box-sizing: inherit; color: #7a0874; font-weight: bold;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #7a0874; font-weight: bold;&quot;&gt;{&lt;/span&gt;
 &lt;span style=&quot;box-sizing: inherit; color: #7a0874; font-weight: bold;&quot;&gt;local&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;l&lt;/span&gt;=&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$1&lt;/span&gt;
        &lt;span style=&quot;box-sizing: inherit; color: #7a0874; font-weight: bold;&quot;&gt;[&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: red;&quot;&gt;&quot;&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$l&lt;/span&gt;&quot;&lt;/span&gt; == &lt;span style=&quot;box-sizing: inherit; color: red;&quot;&gt;&quot;&quot;&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #7a0874; font-weight: bold;&quot;&gt;]&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;l&lt;/span&gt;=&lt;span style=&quot;box-sizing: inherit;&quot;&gt;20&lt;/span&gt;
       &lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;tr&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-dc&lt;/span&gt; A-Za-z0-&lt;span style=&quot;box-sizing: inherit;&quot;&gt;9&lt;/span&gt;_ &lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;/&lt;/span&gt;urandom &lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;head&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-c&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${l}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;xargs&lt;/span&gt;
&lt;span style=&quot;box-sizing: inherit; color: #7a0874; font-weight: bold;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Run it:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;genpasswd 16&lt;/code&gt;&lt;br /&gt;
Output:&lt;/div&gt;
&lt;pre style=&quot;background-color: white; border: 1px solid rgb(209, 209, 209); box-sizing: inherit; color: #212529; font-family: Inconsolata, monospace; font-size: 1rem; line-height: 1.3125; margin-bottom: 1.75em; max-width: 100%; overflow-wrap: break-word; overflow: auto; padding: 1.75em;&quot;&gt;uw8CnDVMwC6vOKgW&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.75em 1.75em; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.cyberciti.biz/faq/generating-random-password/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;Generating Random Password With mkpasswd / makepasswd / pwgen&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.cyberciti.biz/faq/linux-unix-generating-passwords-command/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;Linux / UNIX: Generate Passwords&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.cyberciti.biz/faq/linux-random-password-generator/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;Linux Random Password Generator Command&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
7. Firewall SSH TCP port # 22&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
You need to firewall ssh TCP port # 22 by updating iptables/ufw/firewall-cmd or pf firewall configurations. Usually, OpenSSH server must only accept connections from your LAN or other remote WAN sites only.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.4375rem; line-height: 1.21739; margin: 2.43478em 0px 1.21739em; text-rendering: optimizelegibility;&quot;&gt;
Netfilter (Iptables) Configuration&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Update&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/rhel-fedorta-linux-iptables-firewall-configuration-tutorial/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;/etc/sysconfig/iptables (Redhat and friends specific file) to accept connection&lt;/a&gt;only from 192.168.1.0/24 and 202.54.1.5/29, enter:&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: auto;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 607px;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit;&quot;&gt;
&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 607px;&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; RH-Firewall-&lt;span style=&quot;box-sizing: inherit;&quot;&gt;1&lt;/span&gt;-INPUT &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-s&lt;/span&gt; 192.168.1.0&lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;box-sizing: inherit;&quot;&gt;24&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; state &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--state&lt;/span&gt; NEW &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;22&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; ACCEPT
&lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; RH-Firewall-&lt;span style=&quot;box-sizing: inherit;&quot;&gt;1&lt;/span&gt;-INPUT &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-s&lt;/span&gt; 202.54.1.5&lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;box-sizing: inherit;&quot;&gt;29&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; state &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--state&lt;/span&gt; NEW &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;22&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; ACCEPT&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
If you’ve dual stacked sshd with IPv6, edit /etc/sysconfig/ip6tables (Redhat and friends specific file), enter:&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: 602.906px;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 600px;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit;&quot;&gt;
&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 600px;&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;&quot;&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; RH-Firewall-&lt;span style=&quot;box-sizing: inherit;&quot;&gt;1&lt;/span&gt;-INPUT &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-s&lt;/span&gt; ipv6network::&lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;/&lt;/span&gt;ipv6mask &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;22&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; ACCEPT&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Replace ipv6network::/ipv6mask with actual IPv6 ranges.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.4375rem; line-height: 1.21739; margin: 2.43478em 0px 1.21739em; text-rendering: optimizelegibility;&quot;&gt;
UFW for Debian/Ubuntu Linux&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
&lt;a href=&quot;https://www.cyberciti.biz/faq/howto-configure-setup-firewall-with-ufw-on-ubuntu-linux/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;UFW is an acronym for uncomplicated firewall. It is used for managing a Linux firewall&lt;/a&gt;and aims to provide an easy to use interface for the user. Use the&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/ufw-allow-incoming-ssh-connections-from-a-specific-ip-address-subnet-on-ubuntu-debian/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;following command to accept port 22 from 202.54.1.5/29&lt;/a&gt;&amp;nbsp;only:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo ufw allow from 202.54.1.5/29 to any port 22&lt;/code&gt;&lt;br /&gt;
Read “&lt;a href=&quot;https://www.cyberciti.biz/tips/linux-iptables-examples.html&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;Linux: 25 Iptables Netfilter Firewall Examples For New SysAdmins&lt;/a&gt;” for more info.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.4375rem; line-height: 1.21739; margin: 2.43478em 0px 1.21739em; text-rendering: optimizelegibility;&quot;&gt;
*BSD PF Firewall Configuration&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
If you are using PF firewall update&amp;nbsp;&lt;a href=&quot;https://bash.cyberciti.biz/firewall/pf-firewall-script/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;/etc/pf.conf&lt;/a&gt;&amp;nbsp;as follows:&lt;/div&gt;
&lt;pre style=&quot;background-color: white; border: 1px solid rgb(209, 209, 209); box-sizing: inherit; color: #212529; font-family: Inconsolata, monospace; font-size: 1rem; line-height: 1.3125; margin-bottom: 1.75em; max-width: 100%; overflow-wrap: break-word; overflow: auto; padding: 1.75em;&quot;&gt;pass in on $ext_if inet proto tcp from {192.168.1.0/24, 202.54.1.5/29} to $ssh_server_ip port ssh flags S/SA synproxy state&lt;/pre&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
8. Change SSH Port and limit IP binding&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
By default, SSH listens to all available interfaces and IP address on the system. Limit ssh port binding and change ssh port (many brutes forcing scripts only try to connect to TCP port # 22). To bind to 192.168.1.5 and 202.54.1.5 IPs and port 300, add or correct the following line in sshd_config:&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: 602.906px;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 600px;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit;&quot;&gt;
&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 600px;&quot;&gt;&lt;pre class=&quot;ini&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;&quot;&gt;Port &lt;span style=&quot;box-sizing: inherit;&quot;&gt;300&lt;/span&gt;
ListenAddress 192.168.1.5
ListenAddress 202.54.1.5&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
A better approach to use proactive approaches scripts such as fail2ban or denyhosts when you want to accept connection from dynamic WAN IP address.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
9. Use TCP wrappers (optional)&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
TCP Wrapper is a host-based Networking ACL system, used to filter network access to the Internet. OpenSSH does support TCP wrappers. Just update your /etc/hosts.allow file as follows to allow SSH only from 192.168.1.2 and 172.16.23.12 IP address:&lt;/div&gt;
&lt;pre style=&quot;background-color: white; border: 1px solid rgb(209, 209, 209); box-sizing: inherit; color: #212529; font-family: Inconsolata, monospace; font-size: 1rem; line-height: 1.3125; margin-bottom: 1.75em; max-width: 100%; overflow-wrap: break-word; overflow: auto; padding: 1.75em;&quot;&gt;sshd : 192.168.1.2 172.16.23.12 &lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
See this&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/tcp-wrappers-hosts-allow-deny-tutorial/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;FAQ about setting and using TCP wrappers&lt;/a&gt;&amp;nbsp;under Linux / Mac OS X and UNIX like operating systems.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
10. Thwart SSH crackers/brute force attacks&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Brute force is a method of defeating a cryptographic scheme by trying a large number of possibilities (combination of users and passwords) using a single or distributed computer network. To prevents brute force attacks against SSH, use the following software:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.75em 1.75em; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.cyberciti.biz/faq/block-ssh-attacks-with-denyhosts/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;DenyHosts&lt;/a&gt;&amp;nbsp;is a Python based security tool for SSH servers. It is intended to prevent brute force attacks on SSH servers by monitoring invalid login attempts in the authentication log and blocking the originating IP addresses.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;Explains how to setup&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/rhel-linux-block-ssh-dictionary-brute-force-attacks/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;DenyHosts&lt;/a&gt;&amp;nbsp;under RHEL / Fedora and CentOS Linux.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.fail2ban.org/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; target=&quot;_blank&quot;&gt;Fail2ban&lt;/a&gt;&amp;nbsp;is a similar program that prevents brute force attacks against SSH.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.sshguard.net/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; target=&quot;_blank&quot;&gt;sshguard&lt;/a&gt;&amp;nbsp;protect hosts from brute force attacks against ssh and other services using pf.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a class=&quot;broken_link&quot; href=&quot;http://www.bsdconsulting.no/tools/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86; text-decoration-line: line-through;&quot; target=&quot;_blank&quot;&gt;security/sshblock&lt;/a&gt;&amp;nbsp;block abusive SSH login attempts.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://savannah.nongnu.org/projects/ipqbdb/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; target=&quot;_blank&quot;&gt;IPQ BDB filter&lt;/a&gt;&amp;nbsp;May be considered as a fail2ban lite.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
11. Rate-limit incoming traffic at TCP port # 22 (optional)&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Both netfilter and pf provides rate-limit option to perform simple throttling on incoming connections on port # 22.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.4375rem; line-height: 1.21739; margin: 2.43478em 0px 1.21739em; text-rendering: optimizelegibility;&quot;&gt;
Iptables Example&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
The following example will drop incoming connections which make more than 5 connection attempts upon port 22 within 60 seconds:&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: 602.906px;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 600px;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit;&quot;&gt;
&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 600px;&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; color: #666666; font-style: italic;&quot;&gt;#!/bin/bash&lt;/span&gt;
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;inet_if&lt;/span&gt;=eth1
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;ssh_port&lt;/span&gt;=&lt;span style=&quot;box-sizing: inherit;&quot;&gt;22&lt;/span&gt;
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-I&lt;/span&gt; INPUT &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${ssh_port}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-i&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${inet_if}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; state &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--state&lt;/span&gt; NEW &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; recent  &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--set&lt;/span&gt;
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-I&lt;/span&gt; INPUT &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${ssh_port}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-i&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${inet_if}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; state &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--state&lt;/span&gt; NEW &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; recent  &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--update&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--seconds&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;60&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--hitcount&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;5&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; DROP&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Call above script from your iptables scripts. Another config option:&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: 602.906px;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 600px;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit;&quot;&gt;
&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 600px;&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; INPUT  &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-i&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${inet_if}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${ssh_port}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; state &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--state&lt;/span&gt; NEW &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; limit &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--limit&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;/&lt;/span&gt;min &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--limit-burst&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;3&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; ACCEPT
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; INPUT  &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-i&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${inet_if}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${ssh_port}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; state &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--state&lt;/span&gt; ESTABLISHED &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; ACCEPT
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; OUTPUT &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-o&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${inet_if}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--sport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: maroon;&quot;&gt;${ssh_port}&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; state &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--state&lt;/span&gt; ESTABLISHED &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; ACCEPT
&lt;span style=&quot;box-sizing: inherit; color: #666666; font-style: italic;&quot;&gt;# another one line example&lt;/span&gt;
&lt;span style=&quot;box-sizing: inherit; color: #666666; font-style: italic;&quot;&gt;# $IPT -A INPUT -i ${inet_if} -m state --state NEW,ESTABLISHED,RELATED -p tcp --dport 22 -m limit --limit 5/minute --limit-burst 5-j ACCEPT&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
See iptables man page for more details.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.4375rem; line-height: 1.21739; margin: 2.43478em 0px 1.21739em; text-rendering: optimizelegibility;&quot;&gt;
*BSD PF Example&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
The following will limits the maximum number of connections per source to 20 and rate limit the number of connections to 15 in a 5 second span. If anyone breaks our rules add them to our abusive_ips table and block them for making any further connections. Finally, flush keyword kills all states created by the matching rule which originate from the host which exceeds these limits.&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: 602.906px;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 600px;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit;&quot;&gt;
&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 600px;&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;sshd_server_ip&lt;/span&gt;=&lt;span style=&quot;box-sizing: inherit; color: red;&quot;&gt;&quot;202.54.1.5&quot;&lt;/span&gt;
table &lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;abusive_ips&lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt; persist
block &lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;in&lt;/span&gt; quick from &lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;abusive_ips&lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;
pass &lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;in&lt;/span&gt; on &lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$ext_if&lt;/span&gt; proto tcp to &lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$sshd_server_ip&lt;/span&gt; port &lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;ssh&lt;/span&gt; flags S&lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;/&lt;/span&gt;SA keep state &lt;span style=&quot;box-sizing: inherit; color: #7a0874; font-weight: bold;&quot;&gt;(&lt;/span&gt;max-src-conn &lt;span style=&quot;box-sizing: inherit;&quot;&gt;20&lt;/span&gt;, max-src-conn-rate &lt;span style=&quot;box-sizing: inherit;&quot;&gt;15&lt;/span&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;box-sizing: inherit;&quot;&gt;5&lt;/span&gt;, overload &lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;abusive_ips&lt;span style=&quot;box-sizing: inherit; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt; flush&lt;span style=&quot;box-sizing: inherit; color: #7a0874; font-weight: bold;&quot;&gt;)&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
12. Use port knocking (optional)&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
&lt;a href=&quot;https://en.wikipedia.org/wiki/Port_knocking&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; target=&quot;_blank&quot;&gt;Port knocking&lt;/a&gt;&amp;nbsp;is a method of externally opening ports on a firewall by generating a connection attempt on a set of prespecified closed ports. Once a correct sequence of connection attempts is received, the firewall rules are dynamically modified to allow the host which sent the connection attempts to connect to the specific port(s). A sample port Knocking example for ssh using iptables:&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: 602.906px;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 600px;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit;&quot;&gt;
&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 600px;&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-N&lt;/span&gt; stage1
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; stage1 &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; recent &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--remove&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--name&lt;/span&gt; knock
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; stage1 &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;3456&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; recent &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--set&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--name&lt;/span&gt; knock2
&amp;nbsp;
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-N&lt;/span&gt; stage2
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; stage2 &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; recent &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--remove&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--name&lt;/span&gt; knock2
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; stage2 &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;2345&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; recent &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--set&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--name&lt;/span&gt; heaven
&amp;nbsp;
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-N&lt;/span&gt; door
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; door &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; recent &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--rcheck&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--seconds&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;5&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--name&lt;/span&gt; knock2 &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; stage2
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; door &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; recent &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--rcheck&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--seconds&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;5&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--name&lt;/span&gt; knock &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; stage1
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; door &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;1234&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; recent &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--set&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--name&lt;/span&gt; knock
&amp;nbsp;
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; INPUT &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--state&lt;/span&gt; ESTABLISHED,RELATED &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; ACCEPT
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; INPUT &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--dport&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;22&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-m&lt;/span&gt; recent &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--rcheck&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--seconds&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit;&quot;&gt;5&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--name&lt;/span&gt; heaven &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; ACCEPT
&lt;span style=&quot;box-sizing: inherit; color: #007800;&quot;&gt;$IPT&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-A&lt;/span&gt; INPUT &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-p&lt;/span&gt; tcp &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;--syn&lt;/span&gt; &lt;span style=&quot;box-sizing: inherit; color: #660033;&quot;&gt;-j&lt;/span&gt; door&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
For more info see:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.75em 1.75em; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;a href=&quot;https://www.cyberciti.biz/faq/debian-ubuntu-linux-iptables-knockd-port-knocking-tutorial/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;Debian / Ubuntu: Set Port Knocking With Knockd and Iptables&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
13. Configure idle log out timeout interval&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
A user can log in to the server via ssh, and you can set an idle timeout interval to avoid unattended ssh session. Open sshd_config and make sure following values are configured:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;ClientAliveInterval 300&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;ClientAliveCountMax 0&lt;/code&gt;&lt;br /&gt;
You are setting an idle timeout interval in seconds (300 secs == 5 minutes). After this interval has passed, the idle user will be automatically kicked out (read as logged out). See&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/linux-unix-login-bash-shell-force-time-outs/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;how to automatically log BASH / TCSH / SSH users&lt;/a&gt;&amp;nbsp;out after a period of inactivity for more details.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
14. Enable a warning banner for ssh users&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Set a warning banner by updating sshd_config with the following line:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;Banner /etc/issue&lt;/code&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 1.25rem;&quot;&gt;15. Disable .rhosts files (verification)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Don’t read the user’s ~/.rhosts and ~/.shosts files. Update sshd_config with the following settings:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;IgnoreRhosts yes&lt;/code&gt;&lt;br /&gt;
SSH can emulate the behavior of the obsolete rsh command, just disable insecure access via RSH.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
16. Disable host-based authentication (verification)&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
To disable host-based authentication, update sshd_config with the following option:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;HostbasedAuthentication no&lt;/code&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
17. Patch OpenSSH and operating systems&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
It is recommended that you use tools such as&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/rhel-centos-fedora-linux-yum-command-howto/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;yum&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/tips/linux-debian-package-management-cheat-sheet.html&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;apt-get&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/tips/howto-keep-freebsd-system-upto-date.html&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;freebsd-update&lt;/a&gt;&amp;nbsp;and others to keep systems up to date with the latest security patches:&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
18. Chroot OpenSSH (Lock down users to their home directories)&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
By default users are allowed to browse the server directories such as /etc/, /bin and so on. You can protect ssh, using os based chroot or use&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/tips/rhel-centos-linux-install-configure-rssh-shell.html&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;special tools such as rssh&lt;/a&gt;. With the release of OpenSSH 4.8p1 or 4.9p1, you no longer have to rely on third-party hacks such as rssh or complicated chroot(1) setups to lock users to their home directories. See&amp;nbsp;&lt;a href=&quot;https://www.debian-administration.org/articles/590&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; target=&quot;_blank&quot;&gt;this blog post&lt;/a&gt;&amp;nbsp;about new ChrootDirectory directive to lock down users to their home directories.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
19. Disable OpenSSH server on client computer&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Workstations and laptop can work without OpenSSH server. If you do not provide the remote login and file transfer capabilities of SSH, disable and remove the SSHD server. CentOS / RHEL users can disable and remove openssh-server with the&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/rhel-centos-fedora-linux-yum-command-howto/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; title=&quot;See Linux/Unix yum command examples for more info&quot;&gt;yum command&lt;/a&gt;:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo yum erase openssh-server&lt;/code&gt;&lt;br /&gt;
Debian / Ubuntu Linux user can disable and remove the same with the&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/ubuntu-lts-debian-linux-apt-command-examples/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; title=&quot;See Linux/Unix apt command examples for more info&quot;&gt;apt command&lt;/a&gt;/&lt;a href=&quot;https://www.cyberciti.biz/tips/linux-debian-package-management-cheat-sheet.html&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; title=&quot;See Linux/Unix apt-get command examples for more info&quot;&gt;apt-get command&lt;/a&gt;:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo apt-get remove openssh-server&lt;/code&gt;&lt;br /&gt;
You may need to update your iptables script to remove ssh exception rule. Under CentOS / RHEL / Fedora edit the files /etc/sysconfig/iptables and /etc/sysconfig/ip6tables. Once done&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/howto-rhel-linux-open-port-using-iptables/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;restart iptables&lt;/a&gt;&amp;nbsp;service:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;# service iptables restart&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;# service ip6tables restart&lt;/code&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
20. Bonus tips from Mozilla&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
You can grab list of cipher and alog supported by your OpenSSH server using the following commands:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ ssh -Q cipher&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ ssh -Q cipher-auth&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ ssh -Q mac&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ ssh -Q kex&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ ssh -Q key&lt;/code&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.cyberciti.biz/tips/wp-content/uploads/2009/07/OpenSSH-Security-Tutorial-Query-Ciphers-and-algorithms-choice.jpg&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;&lt;img alt=&quot;OpenSSH Security Tutorial Query Ciphers and algorithms choice&quot; class=&quot;aligncenter size-full wp-image-114337&quot; height=&quot;789&quot; sizes=&quot;(max-width: 599px) 85vw, 599px&quot; src=&quot;https://www.cyberciti.biz/tips/wp-content/uploads/2009/07/OpenSSH-Security-Tutorial-Query-Ciphers-and-algorithms-choice.jpg&quot; srcset=&quot;https://www.cyberciti.biz/tips/wp-content/uploads/2009/07/OpenSSH-Security-Tutorial-Query-Ciphers-and-algorithms-choice.jpg 599w, https://www.cyberciti.biz/tips/wp-content/uploads/2009/07/OpenSSH-Security-Tutorial-Query-Ciphers-and-algorithms-choice-228x300.jpg 228w&quot; style=&quot;border: 0px; box-sizing: inherit; clear: both; display: block; height: auto; margin: 0px auto 1.75em; max-width: 100%; vertical-align: middle;&quot; width=&quot;599&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
How do I test sshd_config file and restart/reload my SSH server?&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
To&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/tips/checking-openssh-sshd-configuration-syntax-errors.html&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;check the validity of the configuration file and sanity of the keys&lt;/a&gt;&amp;nbsp;for any errors before restarting sshd, run:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo sshd -t&lt;/code&gt;&lt;br /&gt;
Extended test mode:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo sshd -T&lt;/code&gt;&lt;br /&gt;
Finally&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/howto-restart-ssh/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;restart sshd on a Linux or Unix like systems&lt;/a&gt;&amp;nbsp;as per your distro version:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/howto-start-stop-ssh-server/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; title=&quot;Restart sshd on a Debian/Ubuntu Linux&quot;&gt;sudo systemctl start ssh&lt;/a&gt;&amp;nbsp;##&amp;nbsp;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;Debian/Ubunt Linux&lt;/kbd&gt;##&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/centos-stop-start-restart-sshd-command/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; title=&quot;Restart sshd on a CentOS/RHEL/Fedora Linux&quot;&gt;sudo systemctl restart sshd.service&lt;/a&gt;&amp;nbsp;##&amp;nbsp;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;CentOS/RHEL/Fedora Linux&lt;/kbd&gt;##&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ doas /etc/rc.d/sshd restart ##&amp;nbsp;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;OpenBSD&lt;/kbd&gt;##&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;$ sudo service sshd restart ##&amp;nbsp;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;FreeBSD&lt;/kbd&gt;##&lt;/code&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;Source:&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/tips/linux-unix-bsd-openssh-server-best-practices.html&quot; style=&quot;background-color: white; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif;&quot;&gt;https://www.cyberciti.biz/tips/linux-unix-bsd-openssh-server-best-practices.html&lt;/a&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/4193312815305601445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/openssh-defaults-tcp-port-22-openssh.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/4193312815305601445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/4193312815305601445'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/openssh-defaults-tcp-port-22-openssh.html' title='Top 20 OpenSSH Server Best Security Practices'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-2099973394362569983</id><published>2019-06-04T20:26:00.001-07:00</published><updated>2019-06-04T20:26:35.201-07:00</updated><title type='text'>Ubuntu Linux: Start / Stop / Restart / Reload OpenSSH Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
Start / Stop / Restart / Reload OpenSSH Server on Ubuntu&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
&lt;div style=&quot;box-sizing: inherit; font-size: 14px; font-weight: 400; margin-bottom: 1.75em;&quot;&gt;
Latest version of Ubuntu such as Ubuntu Linux 16.04 LTS or 18.04 LTS and others use the systemctl command to control ssh server on Ubuntu. Older version use the&amp;nbsp;&lt;a href=&quot;https://bash.cyberciti.biz/guide/Service_command&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; title=&quot;See Linux/Unix service command examples for more info&quot;&gt;service command&lt;/a&gt;.&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/find-linux-distribution-name-version-number/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;To find out your Ubuntu Linux version&lt;/a&gt;, type:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;lsb_release -a&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;cat /etc/*release*&lt;/code&gt;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;Sample outputs:&lt;/div&gt;
&lt;pre style=&quot;border: 1px solid rgb(209, 209, 209); box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1rem; font-weight: 400; line-height: 1.3125; margin-bottom: 1.75em; max-width: 100%; overflow-wrap: break-word; overflow: auto; padding: 1.75em;&quot;&gt;No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful&lt;/pre&gt;
&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
Ubuntu Linux: Start OpenSSH Server&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
&lt;div style=&quot;box-sizing: inherit; font-size: 14px; font-weight: 400; margin-bottom: 1.75em;&quot;&gt;
Type the following command:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo /etc/init.d/ssh start&lt;/code&gt;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;OR&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo service ssh start&lt;/code&gt;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;OR for systemd based Ubuntu Linux 16.04 LTS or above server:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo systemctl start ssh&lt;/code&gt;&lt;/div&gt;
&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
Ubuntu Linux: Stop OpenSSH server&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
&lt;div style=&quot;box-sizing: inherit; font-size: 14px; font-weight: 400; margin-bottom: 1.75em;&quot;&gt;
Type the following command:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo /etc/init.d/ssh stop&lt;/code&gt;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;OR&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo service ssh stop&lt;/code&gt;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;OR for systemd based Ubuntu Linux 16.04 LTS or above server:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo systemctl stop ssh&lt;/code&gt;&lt;/div&gt;
&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
Ubuntu Linux: Restart OpenSSH server&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
&lt;div style=&quot;box-sizing: inherit; font-size: 14px; font-weight: 400; margin-bottom: 1.75em;&quot;&gt;
Type the following command:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo /etc/init.d/ssh restart&lt;/code&gt;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;OR&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo service ssh restart&lt;/code&gt;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;OR for systemd based Ubuntu Linux 16.04 LTS or above server:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo systemctl restart ssh&lt;/code&gt;&lt;/div&gt;
&lt;figure aria-describedby=&quot;caption-attachment-146923&quot; class=&quot;wp-caption aligncenter&quot; id=&quot;attachment_146923&quot; style=&quot;box-sizing: inherit; clear: both; font-size: 14px; font-weight: 400; margin: 0px auto 1.75em; max-width: 100%; width: 599px;&quot;&gt;&lt;img alt=&quot;systemctl start stop restart openssh server on Ubuntu&quot; class=&quot;size-full wp-image-146923&quot; height=&quot;564&quot; sizes=&quot;(max-width: 599px) 85vw, 599px&quot; src=&quot;https://www.cyberciti.biz/media/new/faq/2007/10/systemctl-start-stop-restart-openssh-server-on-Ubuntu.png&quot; srcset=&quot;https://www.cyberciti.biz/media/new/faq/2007/10/systemctl-start-stop-restart-openssh-server-on-Ubuntu.png 599w, https://www.cyberciti.biz/media/new/faq/2007/10/systemctl-start-stop-restart-openssh-server-on-Ubuntu-300x282.png 300w&quot; style=&quot;border: 0px; box-sizing: inherit; display: block; height: auto; margin: 0px; max-width: 100%; vertical-align: middle;&quot; width=&quot;599&quot; /&gt;&lt;figcaption class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-146923&quot; style=&quot;box-sizing: inherit; color: #686868; font-size: 0.8125rem; font-style: italic; line-height: 1.61538; padding-top: 0.538462em;&quot;&gt;systemctl command in action on Ubuntu Linux desktop&lt;/figcaption&gt;&lt;/figure&gt;&lt;div style=&quot;box-sizing: inherit; font-size: 14px; font-weight: 400; margin-bottom: 1.75em;&quot;&gt;
&lt;/div&gt;
&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
Ubuntu Linux: See status of OpenSSH server&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
&lt;div style=&quot;box-sizing: inherit; font-size: 14px; font-weight: 400; margin-bottom: 1.75em;&quot;&gt;
Type the following command:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo /etc/init.d/ssh status&lt;/code&gt;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;OR&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo service ssh status&lt;/code&gt;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;OR for systemd based Ubuntu Linux 16.04 LTS or above server:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo systemctl status ssh&lt;/code&gt;&lt;span style=&quot;font-size: 1.25rem;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;box-sizing: inherit; font-size: 14px; font-weight: 400; margin-bottom: 1.75em;&quot;&gt;
&lt;span style=&quot;font-size: 1.25rem;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
Controlling sshd using upstart based commands (this syntax is no longer works with the latest version of Ubuntu)&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
&lt;div style=&quot;box-sizing: inherit; font-size: 14px; font-weight: 400; margin-bottom: 1.75em;&quot;&gt;
Since the script /etc/init.d/ssh has been converted to an Upstart based job, try the following commands to start / stop / restart the OpenSSH server:&lt;/div&gt;
&lt;/h2&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.4375rem; line-height: 1.21739; margin: 2.43478em 0px 1.21739em; text-rendering: optimizelegibility;&quot;&gt;
Stop/Start/Restart the OpenSSH using the following commands&lt;/h3&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
&lt;div style=&quot;box-sizing: inherit; font-size: 14px; font-weight: 400; margin-bottom: 1.75em;&quot;&gt;
The syntax is:&lt;/div&gt;
&lt;div class=&quot;wp_syntax&quot; style=&quot;background-color: #f9f9f9; border: 1px solid silver; box-sizing: inherit; color: #110000; font-size: 14px; font-weight: 400; margin: 0px 0px 1.5em; overflow: auto hidden; position: relative; width: auto;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse !important; border-spacing: 0px; border: none !important; box-sizing: inherit; margin: 0px !important; padding: 0px !important; table-layout: fixed; width: 607px;&quot;&gt;&lt;tbody style=&quot;box-sizing: inherit;&quot;&gt;
&lt;tr style=&quot;box-sizing: inherit;&quot;&gt;&lt;td class=&quot;code&quot; style=&quot;background-color: #eeeeee; background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.9) 50%); background-size: 1px 32px; border: none !important; box-sizing: inherit; line-height: normal !important; padding: 0px !important; vertical-align: top !important; width: 607px;&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;background: 0px 0px !important; border-radius: 0px !important; border: none !important; box-shadow: transparent 0px 0px 0px !important; box-sizing: inherit; clear: none !important; float: none !important; font-size: 14px !important; line-height: 16px !important; max-width: 100%; overflow-wrap: break-word; overflow: visible !important; padding: 0px 4px !important; width: auto !important;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;sudo&lt;/span&gt; stop &lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;ssh&lt;/span&gt;
&lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;sudo&lt;/span&gt; start &lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;ssh&lt;/span&gt; 
&lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;sudo&lt;/span&gt; restart &lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;ssh&lt;/span&gt;
&lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;sudo&lt;/span&gt; status &lt;span style=&quot;box-sizing: inherit; color: #c20cb9; font-weight: bold;&quot;&gt;ssh&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;box-sizing: inherit; font-size: 14px; font-weight: 400; margin-bottom: 1.75em;&quot;&gt;
Sample outputs:&lt;/div&gt;
&lt;figure class=&quot;wp-caption aligncenter&quot; style=&quot;box-sizing: inherit; clear: both; font-size: 14px; font-weight: 400; margin: 0px auto 1.75em; max-width: 100%; width: 570px;&quot;&gt;&lt;a href=&quot;https://www.cyberciti.biz/media/new/images/faq/2013/05/sshd-stop-restart-start-ubuntu-12.04-13.04.png&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #3b5bdb; outline: 0px;&quot;&gt;&lt;img alt=&quot;Fig.01: Ubuntu using initctl (upstart) to control sshd process&quot; class=&quot;&quot; height=&quot;262&quot; src=&quot;https://www.cyberciti.biz/media/new/images/faq/2013/05/sshd-stop-restart-start-ubuntu-12.04-13.04.png&quot; style=&quot;border: 0px; box-sizing: inherit; display: block; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;570&quot; /&gt;&lt;/a&gt;&lt;/figure&gt;&lt;div&gt;
source :&amp;nbsp;&lt;/div&gt;
&lt;a href=&quot;https://www.cyberciti.biz/faq/howto-start-stop-ssh-server/&quot;&gt;https://www.cyberciti.biz/faq/howto-start-stop-ssh-server/&lt;/a&gt;&lt;/h2&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/2099973394362569983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/ubuntu-linux-start-stop-restart-reload.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2099973394362569983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2099973394362569983'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/ubuntu-linux-start-stop-restart-reload.html' title='Ubuntu Linux: Start / Stop / Restart / Reload OpenSSH Server'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-3180419362441248053</id><published>2019-06-04T20:23:00.000-07:00</published><updated>2019-06-04T20:23:07.371-07:00</updated><title type='text'>OpenSSH security and hardening</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 2.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;openssh-security&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;OpenSSH security&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
OpenSSH is under development by the security fanatics from the&amp;nbsp;&lt;a href=&quot;https://www.openbsd.org/&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;OpenBSD project&lt;/a&gt;. Every new piece of functionality is created with care, especially when it comes to&amp;nbsp;&lt;a href=&quot;https://www.openssh.com/security.html&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;security&lt;/a&gt;. Although there were some vulnerabilities, OpenSSH is fairly secure by default. There are still some steps left that can be improved. During research for the security auditing tool Lynis, we looked also at the available OpenSSH settings. Besides the tests that are now in Lynis, this article is one of the other results of that research.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.5em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;what-will-be-covered&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;What will be covered?&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
We will be covering both the server and client configuration. The configuration syntax and settings are based on OpenSSH 7.x. The examples should be working for most Linux distributions like CentOS, Debian, Ubuntu, and RHEL. You can expect this to be also the case for FreeBSD, OpenBSD, and other systems that use OpenSSH. When in doubt, consult your man page. If you discovered an error or exception, let it know via the comments. Your feedback is welcome.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
After reading this article, you will know:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; list-style: square inside; margin: 0px 0px 1.5em 2em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Where the client settings and server settings are stored&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;How to see the active and default settings&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;How to test your configuration settings&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Make an informed decision on how to secure SSH&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Which tools can help audit SSH and apply best practices&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.5em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;ssh-basics&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SSH basics&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
SSH has two parts: the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;server daemon&lt;/strong&gt;&amp;nbsp;(sshd) that runs on a system and the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;client&lt;/strong&gt;&amp;nbsp;(ssh) used to connect to the server. Typically administration is done by using an SSH client from a workstation. If you are on Windows, then often you will be using something like&amp;nbsp;&lt;a href=&quot;https://www.chiark.greenend.org.uk/~sgtatham/putty/&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Putty&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
When it comes to the security of the SSH configuration, it is the server part that is the most interesting. For example, is that the server can decide if normal password based logins are allowed or denied. Even if the client has a preference, it is the server to make the final call.&amp;nbsp;The server configuration file is located at&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/etc/ssh/sshd_config&lt;/strong&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
The client configuration settings can be found in&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/etc/ssh/ssh_config&lt;/strong&gt;&amp;nbsp;(system wide) or&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;~/.ssh/config&lt;/strong&gt;&amp;nbsp;(per user). Settings can also be specified during the connection by providing a command-line option.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Before we start making changes, let’s start with some tips to do it right.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.5em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;deployment-tips&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Deployment tips&lt;/span&gt;&lt;/h3&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;do-not-use-best-practices&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Do (not) use best practices&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
The web is full of blogs and guides that state they are using so-called&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;best practices&lt;/em&gt;. A best practice is an effective and good approach and typically agreed on by the experts and by consensus. Unfortunately, many of the blogs and articles are simple copies from other blogs and without the extensive research. So I strongly suggest to&amp;nbsp;look up some background of the blog and author first.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
If you see just configuration settings without a good explanation, be careful with applying such changes. Some are outdated or simply not relevant. What is the purpose of setting some value when it is already the default or even removed? So whatever you do, apply critical thinking and don’t make assumptions. So use best practices, but always test your changes.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;check-the-status-of-ssh&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Check the status of SSH&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Is this the first time you will change your SSH configuration? Check the status of the SSH daemon and see if the related service is started on boot. When using a distribution with systemd, make sure the daemon is running and enabled.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;systemctl status ssh.service&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Note&lt;/strong&gt;: on some Linux distributions the service is named sshd.service.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
The output should contain the enabled value.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Loaded: loaded (/lib/systemd/system/ssh.service;&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;enabled&lt;/strong&gt;; vendor preset: enabled)&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
To see if SSH is running, look at the next line.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Active:&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;active (running)&lt;/strong&gt;&amp;nbsp;since Mon 2018-06-04 17:18:33 CEST; 1 months 2 days ago&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;use-the-ssh-configuration-test&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Use the SSH configuration test&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
If you make changes to your SSH configuration, it makes sense to restart the service. I strongly recommend to always check your configuration (sshd_config) first. This can be done by using the&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;test mode&lt;/em&gt;&amp;nbsp;flag. This additional step ensures the syntax and options are correct before you end up with a nonfunctioning service.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;sshd -t&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
This command should not return any text or errors. Here is an example when something does not look good:&lt;/div&gt;
&lt;div class=&quot;wp-caption alignnone&quot; id=&quot;attachment_2388&quot; style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; height: auto; line-height: inherit; margin: 1em 0px; max-width: 100%; padding: 0px; text-align: center; vertical-align: baseline; width: 508px;&quot;&gt;
&lt;img alt=&quot;Screenshot of sshd -t command to test SSH configuration&quot; aria-describedby=&quot;caption-attachment-2388&quot; class=&quot;size-full wp-image-2388&quot; height=&quot;88&quot; src=&quot;https://assets.linux-audit.com/wp-content/uploads/2014/06/ssh-hardening-sshd-test-configuration.png&quot; style=&quot;border: 0px; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;&quot; width=&quot;498&quot; /&gt;&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-2388&quot; style=&quot;border: 0px; font-family: inherit; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Make sure to test your settings first.&lt;/div&gt;
&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;making-changes-to-a-remote-system&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Making changes to a remote system&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Are you connected to the system with SSH and making changes to its configuration? Instead of restarting, consider sending a&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;reload&lt;/em&gt;&amp;nbsp;command to the running SSH daemon. This decreases the chance that you lose your connection and can’t reconnect.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
For systems using systemd, use systemctl to reload the SSH service.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;systemctl reload ssh.service&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
The alternative is to manually send a&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SIGHUP&lt;/em&gt;&amp;nbsp;to the SSH daemon. Do not to send this to any of the child processes, or you will be disconnected.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;kill -HUP 1234&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Another option is to temporarily run another SSH process on another port, without becoming a daemon process. Specify the full path and use&amp;nbsp;&lt;code style=&quot;background: rgb(221, 240, 255); border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;-D&lt;/code&gt;&amp;nbsp;together with the&amp;nbsp;&lt;code style=&quot;background: rgb(221, 240, 255); border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;-p&lt;/code&gt;&amp;nbsp;for the port number. Then ensure that you can access the temporary connection, especially if you are using a firewall with traffic filtering.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;/usr/sbin/sshd -D -p 2222&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Use CTRL + C to stop the process after you are done.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;deploy-in-small-steps&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Deploy in small steps&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
While it makes sense to do a full deployment of your new SSH configuration to all systems, you might want to be careful. One example is that some older SSH clients can’t use the newer key types. So have a look at the oldest Linux distributions that are used to get an idea on compatibility issues.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;show-active-ssh-connections&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Show active SSH connections&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Before applying changes or restarting the daemon, check for any active SSH connections. This can be done with the&amp;nbsp;&lt;a href=&quot;https://linux-audit.com/alternative-netstat-ss-tool/&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ss tool&lt;/a&gt;.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;ss -n -o state established &#39;( dport = :22 or sport = :22 )&#39;&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Any established TCP connection will be displayed. By using both&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;dport&lt;/em&gt;&amp;nbsp;and&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sport&lt;/em&gt;, we can confirm what connections are active in both directions.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 2.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;securing-the-ssh-server-configuration&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Securing the SSH server configuration&lt;/span&gt;&lt;/h2&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.5em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;preparations&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Preparations&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Before we start making changes to our configuration, let’s make a backup.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;cp /etc/ssh/sshd_config /root/sshd_config&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
After that is done, it is good to know that each OpenSSH version has its own defaults. New features may have been added, older settings may have disappeared. To know if a specific setting is set, don’t rely on the configuration file. Instead, call the SSH daemon with the&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;extended test mode&lt;/em&gt;&amp;nbsp;flag&amp;nbsp;&lt;code style=&quot;background: rgb(221, 240, 255); border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;-T&lt;/code&gt;&amp;nbsp;to show all details.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;sshd -T&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
The output may look something like this:&lt;/div&gt;
&lt;div class=&quot;wp-caption alignnone&quot; id=&quot;attachment_2385&quot; style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; height: auto; line-height: inherit; margin: 1em 0px; max-width: 100%; padding: 0px; text-align: center; vertical-align: baseline; width: 700px;&quot;&gt;
&lt;img alt=&quot;Screenshot of output from sshd -T command to show active SSH settings&quot; aria-describedby=&quot;caption-attachment-2385&quot; class=&quot;size-full wp-image-2385&quot; height=&quot;390&quot; src=&quot;https://assets.linux-audit.com/wp-content/uploads/2014/06/sshd-show-active-and-default-settings.png&quot; style=&quot;border: 0px; font: inherit; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;&quot; width=&quot;690&quot; /&gt;&lt;div class=&quot;wp-caption-text&quot; id=&quot;caption-attachment-2385&quot; style=&quot;border: 0px; font-family: inherit; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Show active and default settings of the OpenSSH daemon&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Note&lt;/strong&gt;: configuration settings and values are displayed with lowercase characters.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.5em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;ssh-security-settings&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SSH security settings&lt;/span&gt;&lt;/h3&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;use-of-x11forwarding&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Use of X11Forwarding&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
The display server on the client might have a higher exposure to be attacked with X11 traffic forwarded. If forwarding of X11 traffic is not needed, disable it:&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
X11Forwarding no&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Why disabling X11Forwarding matters&lt;/strong&gt;: the X11 protocol was never built with security in mind. As it opens up channel back to the client, the server could send malicious commands back to the client. To protect clients, disable X11Forwarding when it is not needed.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;disable-rhosts&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Disable rhosts&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
While not common anymore,&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rhosts&lt;/em&gt;&amp;nbsp;was a weak method to authenticate systems. It defines a way to trust another system simply by its IP address. By default, the use of&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rhosts&lt;/em&gt;&amp;nbsp;is already disabled. Make sure to check if it really is.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
IgnoreRhosts yes&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;dns-hostname-checking&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;DNS hostname checking&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
By default, the SSH server can check if the client connecting maps back to the same combination of hostname and IP address. Use the option UseDNS to perform this basic check as an additional safeguard.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
UseDNS yes&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Note: this option may not work properly in all situations. It could result in an additional delay, as the daemon is waiting for a timeout during the initial connection. Only use this when you are sure your internal DNS is properly configured.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;disable-empty-passwords&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Disable empty passwords&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Accounts should be protected and users should be accountable. For this reason, the usage of empty passwords should not be allowed. This can be disabled with the&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;PermitEmptyPasswords&lt;/em&gt;&amp;nbsp;option, which is the default.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
PermitEmptyPasswords no&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
If you see this option enabled, then check which user accounts have no password set.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;maximum-authentication-attempts&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Maximum authentication attempts&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
To protect against brute-force attacks on the password of a user, limit the number of attempts. This can be done with the&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;MaxAuthTries&lt;/em&gt;&amp;nbsp;setting.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
MaxAuthTries&amp;nbsp;3&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Also enable monitoring for authentication failures, which starts at the half the number of maximum attempts. Use these authentication failures together with your SIEM solution, or forward them to your security administrator.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
The SSH server can be configured to be used together with PAM or pluggable authentication modules. By using a set of rules, part of the authentication stack, the&amp;nbsp;&lt;a href=&quot;https://linux-audit.com/locking-users-after-failed-login-attempts-with-pam_tally2/&quot; rel=&quot;noopener&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;number of failed logins&lt;/a&gt;&amp;nbsp;can be used to block a particular user. Another option is to define a period to lock the account when this number of attempts has been reached. This way the server can defend better against brute-force attempts to crack a user account and its password.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
When limiting the maximum authentication attempts, be aware that public key authentication (see below) can also eat up your number of attempts. If you want to enforce the SSH client (or SCP) to use password-based authentication, use the related options on the command line.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no username@system&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;public-key-authentication&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Public key authentication&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Instead of using a normal password-based login, a better way is using public key authentication. Keys are considered much safer and less prone to&amp;nbsp;brute-force attacks. Disable&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;PasswordAuthentication&lt;/strong&gt;&amp;nbsp;to force users using keys.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
PubkeyAuthentication yes&lt;br /&gt;PasswordAuthentication no&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Refer to the article&amp;nbsp;&lt;a href=&quot;https://linux-audit.com/using-ssh-keys-instead-of-passwords/&quot; rel=&quot;noopener&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Using SSH keys instead of passwords&lt;/a&gt;, to set up key-based authentication.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;disable-root-login&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Disable root login&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
It is best practice not to log in as the root user. Use a normal user account to initiate your connection instead, together with sudo. Direct root logins may result in bad accountability of the actions performed by this user account.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
PermitRootLogin no&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Newer versions of OpenSSH also support the value&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;without-password&lt;/strong&gt;. This value refers to methods like public key authentication. If your&amp;nbsp;installation comes with this value, there is no reason to change it.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;set-ssh-protocol&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Set SSH protocol&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
If you are running an older system, version 1 of the SSH protocol might still be available. This version has weaknesses and should no longer be used.&amp;nbsp;Since version 7.0 of OpenSSH, protocol 1 is automatically disabled during compile time. If your version is older than that, enforce the protocol version:&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Protocol 2&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;usage-of-allowusers-and-denyusers&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Usage of AllowUsers and DenyUsers&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
When not all users should have access to the system, limit the number of people who can actually log in. One way is to create a group (e.g. sshusers) and add people to this group. Next set the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;AllowGroups&lt;/strong&gt;&amp;nbsp;option to define that only these users can log in.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Other possibilities include to only allow a few users with the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;AllowUsers&lt;/strong&gt;, or specifically deny users and groups with the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;DenyUsers&lt;/strong&gt;, or&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;DenyGroups&lt;/strong&gt;. Whitelisting access, using the ‘default deny’ principle, is usually better. So when possible, use the&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;AllowUsers&lt;/em&gt;&amp;nbsp;or&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;AllowGroups&lt;/em&gt;&amp;nbsp;option.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Good to know: SSH applies the following order to determine if one can log in: DenyUsers, AllowUsers, DenyGroups, finally AllowGroups.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;use-hashknownhosts&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Use HashKnownHosts&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Each time the SSH client connects to a server, it will store a related signature (a key) of the server. This information is stored in a file with the name&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;known_hosts&lt;/strong&gt;. The known_hosts file itself is available in the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.ssh&lt;/strong&gt;&amp;nbsp;subdirectory of the related user (on the client). In the case the signature of the server changes, SSH will protect the user by notifying about this chance. This option is useful&amp;nbsp;but also has a risk. Previously it was common to store the hostname related to the specific host key. This made it easy for worms and other malicious scripts to use this information and spread to other systems, once they had a single system compromised. To counter this, the HashKnownHosts will hash each host, so it’s not readable anymore. While being unreadable for the human eye, it still allows SSH to check for the next time you connect to the same system, as the results in the same hash.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Example output:&lt;/em&gt;&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
|1|XV5CFMH8LLIQPq7PxdBhGX7I9PA=|VKNLdODsQlJ/j4cvTZncqs9vgh0= ecdsa-sha2-nistp256 AAAAE2VjZHNhLX&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;….&lt;/em&gt;dJ/RzzZLH8Hs0UgroC0=&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;restrict-allowable-commands&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Restrict allowable commands&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
OpenSSH allows restricting the commands that a user can run via the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;command&lt;/strong&gt;&amp;nbsp;option. This is placed in the authorized_keys file, together with the allowable command and other options.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;command=&quot;ps&quot;,no-agent-forwarding,no-port-forwarding,no-x11-forwarding, TYPE_OF_KEY KEY COMMENT&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
In the example above, replace the TYPE_OF_KEY, KEY, and COMMENT fields. The values that are to be used are similar to when using public key authentication.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.5em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;additional-restrictions&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Additional restrictions&lt;/span&gt;&lt;/h3&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;configure-your-firewall&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Configure your firewall&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Besides adjusting the SSH configuration, consider also limiting access by using traffic filtering. A local firewall like iptables or nftables can be used to restrict access to only allowed systems. Restrict access by only allowing those IP addresses that are trusted.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;use-a-jump-server&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Use a jump server&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Bigger environments typically restrict access by using a jump server or jump host. You may be familiar with them with other names like&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;stepping stone server&lt;/em&gt;&amp;nbsp;or&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;bastion host&lt;/em&gt;. They are then the only systems within the network that are configured to allow access to other systems. That means if you want to do system administration, you always connect first to the jump server. From there you will be connecting with the target system. A great combination with the previous tip to limit access with firewalling.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 2.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;openssh-client-security-settings&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;OpenSSH client security settings&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
As there are many SSH clients available, it would be impossible to cover them all in this article. Instead, we will have a look at the OpenSSH client tool.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.5em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;client-configuration&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Client configuration&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
The OpenSSH client has three ways to be configured. They are processed in order and checked for every available configuration setting. The first match wins.&lt;/div&gt;
&lt;ol style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; list-style-image: initial; list-style-position: inside; margin: 0px 0px 1.5em 2em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Options provided via the command-line&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Configuration file in the home directory (~/.ssh/config)&lt;/li&gt;
&lt;li style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Configuration file for all users (/etc/ssh/ssh_config)&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Let’s say there is a setting named A. A is configured system-wide (option 3) with the value of ‘True’. User&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;michael&lt;/em&gt;&amp;nbsp;has it configured (option 2) being ‘False’. In that case, the latter would win. The reason is that it is considered before the system-wide configuration.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;see-the-default-and-active-client-settings&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;See the default and active client settings&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Remember the trick to see the settings for the server (sshd -T)? The client has a similar one, although with a different character.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;ssh -G abc&lt;/code&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
The ‘abc’ in this example is just a random hostname. Ok, it is not really&amp;nbsp;&lt;em style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;that&lt;/em&gt;&amp;nbsp;random. You can use anything you want, including a real hostname. The client can use Host and Match blocks to customize the configuration to a group of systems or an individual system. As the host ‘abc’ does not exist, that means the default settings will be parsed.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;ssh-settings-for-a-single-system&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SSH settings for a single system&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Let’s say we have a system with the name&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;secureserver&lt;/strong&gt;. Instead of running on port 22, it accepts SSH connections on port 2222. Instead of using&amp;nbsp;&lt;code style=&quot;background: rgb(221, 240, 255); border: 0px; color: #222222; font-family: monospace, &amp;quot;Courier New&amp;quot;, Courier; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;-p&lt;/code&gt;&amp;nbsp;on the command line each time, we can add a&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Host&lt;/strong&gt;&amp;nbsp;block to our configuration file. So if you want to do this for your user, create the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;config&lt;/strong&gt;&amp;nbsp;file in your home directory, below the&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.ssh&lt;/strong&gt;&amp;nbsp;directory (so /home/username/.ssh/config).&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Next step is creating a block and define the related settings that you want to use.&lt;/div&gt;
&lt;blockquote style=&quot;background: rgb(221, 240, 255); border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: rgb(0, 58, 160); border-left-style: solid; border-right-color: initial; border-right-style: initial; border-top-color: initial; border-top-style: initial; border-width: 0px 0px 0px 6px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 1.2em 0px; padding: 0.3em 1.2em; quotes: none; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #222222; font-family: &amp;quot;Courier 10 Pitch&amp;quot;, Courier, monospace; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin-left: 1px; margin-right: 1px; overflow: auto; padding: 3px 8px; vertical-align: baseline;&quot;&gt;Host secureserver
    Hostname hostname.example.org
    User mynickname
    Port 2222
    MACs hmac-sha2-512
    KexAlgorithms curve25519-sha256@libssh.org&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Indenting with spaces is not required. I would still advice to do it, so you see which settings belong to what host definition.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
One question remains: What settings should you use in your client configuration file?&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
I suggest applying changes that make your daily work easier. So if you prefer security, set strong defaults. If a particular host is using a different SSH port, creating a Host block and overrule it that way. Regarding&amp;nbsp;&lt;strong style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;KexAlgorithms&lt;/strong&gt;, use the newer algorithms that are available. This strongly depends on OpenSSH version on the other systems. If you have fairly new OpenSSH versions on the server, then the&amp;nbsp;&lt;a href=&quot;https://en.wikipedia.org/wiki/Curve25519&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;curve25519&lt;/a&gt;&amp;nbsp;is a good option. It is a high-speed elliptic-curve that is considered secure (at this moment).&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 2.25em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;tools-for-ssh-security&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Tools for SSH security&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
While it is good to manually harden a system, software and the related configurations can change over time. For that reason, it is helpful to perform a regular security scan.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.5em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;lynis&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Lynis&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
This&amp;nbsp;&lt;a href=&quot;https://cisofy.com/lynis/&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;open source security tool&lt;/a&gt;&amp;nbsp;is an allrounder when it comes to testing the security of your Linux system. From the bootloader to your web server, it will check as much as it can. It is free to use and written in shell script. Lynis runs on the system itself, so it can look both in the configuration files and the actually loaded configuration. It includes several tests focused on OpenSSH and its configuration, including security-related settings. Findings or possible improvements are displayed on the screen, so you can directly get into action and start hardening your system.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Download the tool via&amp;nbsp;&lt;a href=&quot;https://github.com/CISOfy/lynis&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;GitHub&lt;/a&gt;&amp;nbsp;or from the&amp;nbsp;&lt;a href=&quot;https://cisofy.com/downloads/lynis/&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;website&lt;/a&gt;. Never used the tool before, then use the&amp;nbsp;&lt;a href=&quot;https://cisofy.com/documentation/lynis/get-started/&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Get Started&lt;/a&gt;&amp;nbsp;guide.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border: 0px; color: #222222; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 1.5em; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1em; margin: 1.2em 0px 0.3em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;ez-toc-section&quot; id=&quot;ssh-audit&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ssh-audit&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Although slightly outdated, the&amp;nbsp;&lt;a href=&quot;https://github.com/arthepsy/ssh-audit&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ssh-audit&lt;/a&gt;&amp;nbsp;tool is a great one to have in your toolbox. Instead of testing on the host itself, it can connect to an SSH server via the network. It performs its testing on the selected target and looks at the responses it receives. Based on these responses it can learn about the system and the SSH server. It even knows about particular vulnerabilities and can warn you about them.&amp;nbsp;Download the tool via GitHub and give it a spin.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
See the Linux Security Expert category&amp;nbsp;&lt;a href=&quot;https://linuxsecurity.expert/security-tools/ssh-configuration-scanners&quot; style=&quot;border: 0px; color: #070859; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SSH configuration scanners&lt;/a&gt;&amp;nbsp;for other alternatives.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #111111; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 15.2015px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 0.75em; margin-top: 0.75em; padding: 0px; vertical-align: baseline;&quot;&gt;
Source:&amp;nbsp;&lt;a href=&quot;https://linux-audit.com/audit-and-harden-your-ssh-configuration/&quot; style=&quot;background-color: transparent;&quot;&gt;https://linux-audit.com/audit-and-harden-your-ssh-configuration/&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/3180419362441248053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/openssh-security-and-hardening.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/3180419362441248053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/3180419362441248053'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/openssh-security-and-hardening.html' title='OpenSSH security and hardening'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-2523495674499080822</id><published>2019-06-03T22:53:00.002-07:00</published><updated>2019-06-03T22:54:05.968-07:00</updated><title type='text'>How to change root password in Ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
The procedure to change the root user password on Ubuntu Linux:&lt;/div&gt;
&lt;ol style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.75em 1.75em; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;Type the following command to become root user and issue passwd:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;sudo -i&lt;/span&gt;&lt;/kbd&gt;&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;passwd&lt;/span&gt;&lt;/kbd&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;OR set a password for root user in a single go:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;sudo passwd root&lt;/span&gt;&lt;/kbd&gt;&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;Test it your root password by typing the following command:&lt;br style=&quot;box-sizing: inherit;&quot; /&gt;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;su -&lt;/span&gt;&lt;/kbd&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
How to disable your root account on Ubuntu&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
One can disable the root account by typing the following command:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo passwd -dl root&lt;/code&gt;&lt;br /&gt;
OR&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo passwd --delete --lock root&lt;/code&gt;&lt;br /&gt;
Sample session from the above commands:&lt;br /&gt;
&lt;img alt=&quot;How to change root password in ubuntu Linux&quot; class=&quot;aligncenter size-full wp-image-146621 lazyloaded&quot; data-sizes=&quot;(max-width: 599px) 85vw, 599px&quot; data-src=&quot;https://www.cyberciti.biz/media/new/faq/2017/07/How-to-change-root-password-in-ubuntu-Linux.jpg&quot; data-srcset=&quot;https://www.cyberciti.biz/media/new/faq/2017/07/How-to-change-root-password-in-ubuntu-Linux.jpg 599w, https://www.cyberciti.biz/media/new/faq/2017/07/How-to-change-root-password-in-ubuntu-Linux-293x300.jpg 293w&quot; height=&quot;614&quot; sizes=&quot;(max-width: 599px) 85vw, 599px&quot; src=&quot;https://www.cyberciti.biz/media/new/faq/2017/07/How-to-change-root-password-in-ubuntu-Linux.jpg&quot; srcset=&quot;https://www.cyberciti.biz/media/new/faq/2017/07/How-to-change-root-password-in-ubuntu-Linux.jpg 599w, https://www.cyberciti.biz/media/new/faq/2017/07/How-to-change-root-password-in-ubuntu-Linux-293x300.jpg 293w&quot; style=&quot;border: 0px; box-sizing: inherit; clear: both; display: block; height: auto; margin: 0px auto 1.75em; max-width: 100%; opacity: 1; transition: opacity 300ms ease 0s; vertical-align: middle;&quot; width=&quot;599&quot; /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.4375rem; line-height: 1.21739; margin: 2.43478em 0px 1.21739em; text-rendering: optimizelegibility;&quot;&gt;
Understanding passwd command option&lt;/h3&gt;
&lt;ul style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.75em 1.75em; padding: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;-d&lt;/kbd&gt;&lt;/span&gt;&amp;nbsp;OR&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;--delete&lt;/kbd&gt;&lt;/span&gt;&amp;nbsp;: Delete a user’s password (make it empty for root user). This is a quick way to disable a password for an account. It will set the named account passwordless.&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;-l&lt;/kbd&gt;&lt;/span&gt;&amp;nbsp;OR&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;--lock&lt;/kbd&gt;&lt;/span&gt;:&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/linux-locking-an-account/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;Lock the password of the named account&lt;/a&gt;&amp;nbsp;such as root. This option disables a password by changing it to a value which matches no possible encrypted value (it adds a ‘!’ at the beginning of the password)&lt;/li&gt;
&lt;li style=&quot;box-sizing: inherit;&quot;&gt;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;root&lt;kbd style=&quot;box-sizing: inherit; font-family: Inconsolata, monospace; font-size: 1em;&quot;&gt;&lt;/kbd&gt;&lt;/span&gt;&amp;nbsp;: Lock and disble root account i.e. re-disabling your root account&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: inherit; clear: both; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 1.25rem; line-height: 1.25; margin: 2em 0px 1em; text-rendering: optimizelegibility;&quot;&gt;
A note about root password on an Ubuntu server/desktop&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: inherit; color: #212529; font-family: montserrat, &amp;quot;helvetica neue&amp;quot;, sans-serif; font-size: 14px; margin-bottom: 1.75em;&quot;&gt;
Enabling the root account by setting the password is not needed. Almost everything you need to do as SuperUser (root) of an Ubuntu server can be done using sudo command. For example,&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/restart-apache-via-ssh/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;restart apache server&lt;/a&gt;:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo systemctl restart apache2&lt;/code&gt;&lt;br /&gt;
You can add additional user to sudo by typing the following command:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo adduser {userNameHere} sudo&lt;/code&gt;&lt;br /&gt;
For example, add a user named tom to sudo:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;$ sudo adduser tom sudo&lt;/code&gt;&lt;br /&gt;
You can in as another user say logging as tom from jerry account:&lt;br /&gt;
&lt;code style=&quot;background: rgb(245, 247, 248); box-sizing: inherit; display: block; font-family: Inconsolata, monospace; font-size: 1em; padding: 0.7em 1.25em;&quot;&gt;{&lt;span style=&quot;box-sizing: inherit; color: #009900;&quot;&gt;jerry@nixcraft&lt;/span&gt;}$&amp;nbsp;&lt;span style=&quot;box-sizing: inherit; font-weight: 700;&quot;&gt;sudo -i -u tom&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
When prompted enter jerry’s password i.e. the password being asked for is your own, not tom’s. For more info see “&lt;a href=&quot;https://www.cyberciti.biz/faq/how-to-create-a-sudo-user-on-ubuntu-linux-server/&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot;&gt;How to create a new sudo user on Ubuntu Linux server&lt;/a&gt;” and&amp;nbsp;&lt;a href=&quot;https://help.ubuntu.com/community/RootSudo&quot; rel=&quot;noopener&quot; style=&quot;background-color: transparent; box-shadow: none; box-sizing: inherit; color: #717b86;&quot; target=&quot;_blank&quot;&gt;RootSudo&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Source:&amp;nbsp;&lt;a href=&quot;https://www.cyberciti.biz/faq/change-root-password-ubuntu-linux/&quot;&gt;https://www.cyberciti.biz/faq/change-root-password-ubuntu-linux/&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/2523495674499080822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/how-to-change-root-password-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2523495674499080822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/2523495674499080822'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/how-to-change-root-password-in-ubuntu.html' title='How to change root password in Ubuntu'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-782415981345830877</id><published>2019-06-03T22:50:00.001-07:00</published><updated>2019-06-03T22:51:02.296-07:00</updated><title type='text'>Steps to Create a New Sudo User</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&lt;h2 style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; margin-top: 10.5pt;&quot;&gt;
&lt;br /&gt;&lt;/h2&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; mso-fareast-font-family: &amp;quot;Segoe UI&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;1.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;Log in to your server as the&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: rgba(0, 0, 0, 0.05); border-radius: 3px; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color: black; font-size: 11.5pt;&quot;&gt;root&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: 0in; mso-list: l0 level2 lfo2; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;ssh root@&lt;/span&gt;&lt;span class=&quot;highlight&quot;&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;background-position-x: 0px; background-position-y: 0px; box-sizing: border-box;&quot;&gt;server_ip_address&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: 0in; mso-list: l0 level2 lfo2; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; mso-fareast-font-family: &amp;quot;Segoe UI&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;2.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;Use the&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: rgba(0, 0, 0, 0.05); border-radius: 3px; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color: black; font-size: 11.5pt;&quot;&gt;adduser&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;command to add a
new user to your system.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;Be sure to replace&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-position-x: 0px; background-position-y: 0px; box-sizing: border-box;&quot;&gt;&lt;span class=&quot;highlight&quot;&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;username&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;with the user that you want to create.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: 0in; mso-list: l0 level2 lfo2; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;adduser &lt;/span&gt;&lt;span class=&quot;highlight&quot;&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;background-position-x: 0px; background-position-y: 0px; box-sizing: border-box;&quot;&gt;username&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: 0in; mso-list: l0 level2 lfo2; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level2 lfo2; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;Set and confirm the new user&#39;s password at the prompt. A strong
password is highly recommended!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.05); background: white; border-radius: 3px; box-sizing: border-box; line-height: 16.5pt; margin-left: .5in; margin: 1rem 0px; overflow-wrap: normal; overflow: auto; padding: 1rem;&quot;&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;Set password prompts:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;Enter new UNIX password:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;Retype new UNIX password:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;passwd: password updated successfully&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level2 lfo2; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;Follow the prompts to set the new user&#39;s information. It is fine
to accept the defaults to leave all of this information blank.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.05); background: white; border-radius: 3px; box-sizing: border-box; line-height: 16.5pt; margin-left: .5in; margin: 1rem 0px; overflow-wrap: normal; overflow: auto; padding: 1rem;&quot;&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;User information prompts:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;Changing the user information for username&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;Enter the new value, or press ENTER for the default&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Full Name []:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Room Number []:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Work Phone []:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Home Phone []:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Other []:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;Is the information correct? [Y/n]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; mso-fareast-font-family: &amp;quot;Segoe UI&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;3.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;Use the&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: rgba(0, 0, 0, 0.05); border-radius: 3px; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color: black; font-size: 11.5pt;&quot;&gt;usermod&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;command to add
the user to the&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: rgba(0, 0, 0, 0.05); border-radius: 3px; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color: black; font-size: 11.5pt;&quot;&gt;sudo&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;group.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: 0in; mso-list: l0 level2 lfo2; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;usermod -aG sudo &lt;/span&gt;&lt;span class=&quot;highlight&quot;&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;background-position-x: 0px; background-position-y: 0px; box-sizing: border-box;&quot;&gt;username&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: 0in; mso-list: l0 level2 lfo2; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;By default, on Ubuntu,
members of the&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: rgba(0, 0, 0, 0.05); border-radius: 3px; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color: black; font-size: 11.5pt;&quot;&gt;sudo&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;group have sudo privileges.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; mso-fareast-font-family: &amp;quot;Segoe UI&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;4.&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;Test sudo access on new user account&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level2 lfo2; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;Use the&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: rgba(0, 0, 0, 0.05); border-radius: 3px; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color: black; font-size: 11.5pt;&quot;&gt;su&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;command to switch to the new user
account.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: .5in; mso-list: l0 level3 lfo3; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;su - &lt;/span&gt;&lt;span class=&quot;highlight&quot;&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;background-position-x: 0px; background-position-y: 0px; box-sizing: border-box;&quot;&gt;username&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: .5in; mso-list: l0 level3 lfo3; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level2 lfo3; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;As the new user, verify that you can use sudo by prepending
&quot;sudo&quot; to the command that you want to run with superuser privileges.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: .5in; mso-list: l0 level3 lfo3; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;sudo &lt;/span&gt;&lt;span class=&quot;highlight&quot;&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;background-position-x: 0px; background-position-y: 0px; box-sizing: border-box;&quot;&gt;command_to_run&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: .5in; mso-list: l0 level3 lfo3; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level2 lfo3; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;For example, you can list the contents of the&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: rgba(0, 0, 0, 0.05); border-radius: 3px; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color: black; font-size: 11.5pt;&quot;&gt;/root&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;directory, which is normally only
accessible to the root user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: .5in; mso-list: l0 level3 lfo3; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;sudo ls -la /root&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; style=&quot;background: white; line-height: 16.5pt; margin-left: .5in; mso-list: l0 level3 lfo3; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level2 lfo3; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;The first time you use&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: rgba(0, 0, 0, 0.05); border-radius: 3px; box-sizing: border-box;&quot;&gt;&lt;span style=&quot;color: black; font-size: 11.5pt;&quot;&gt;sudo&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;in a session, you will be prompted
for the password of the user account. Enter the password to proceed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.05); background: white; border-radius: 3px; box-sizing: border-box; line-height: 16.5pt; margin-left: .5in; margin: 1rem 0px; overflow-wrap: normal; overflow: auto; padding: 1rem;&quot;&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;Output:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; line-height: 16.5pt; margin-left: .5in;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #323232; font-size: 10.5pt;&quot;&gt;[sudo] password for username:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: .5in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;If your user is in the
proper group and you entered the password correctly, the command that you
issued with sudo should run with root privileges.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: .5in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; box-sizing: border-box; line-height: 18.75pt; margin-bottom: 16.5pt; margin-left: .5in; margin-right: 0in; margin-top: 0in;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif;&quot;&gt;Source :&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.digitalocean.com/community/tutorials/how-to-create-a-sudo-user-on-ubuntu-quickstart&quot; style=&quot;background-color: transparent;&quot;&gt;https://www.digitalocean.com/community/tutorials/how-to-create-a-sudo-user-on-ubuntu-quickstart&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/782415981345830877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/steps-to-create-newsudo-user-1_3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/782415981345830877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/782415981345830877'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/steps-to-create-newsudo-user-1_3.html' title='Steps to Create a New Sudo User'/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7190497672060339317.post-8869228147198739935</id><published>2019-06-03T22:39:00.000-07:00</published><updated>2019-06-03T22:51:16.636-07:00</updated><title type='text'>How To Set Up SSH Keys on Ubuntu </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;container tutorial-header&quot; style=&quot;background-color: white; box-sizing: inherit; font-family: Sailec-Regular, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 20px; margin-bottom: 10px; margin-left: auto; margin-right: auto; width: 745px;&quot;&gt;
&lt;h1 class=&quot;content-title Tutorial-header&quot; style=&quot;box-sizing: inherit; color: #323232; font-family: Sailec-Regular, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 32px; font-weight: 400; line-height: 1.1; margin: 0px 0px 14px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/h1&gt;
&lt;h3 id=&quot;introduction&quot; style=&quot;box-sizing: border-box; color: #323232; font-family: Sailec-Medium, system-ui, -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 400; letter-spacing: 0.005em; margin: 14px auto 11px; padding: 0px; width: 745px;&quot;&gt;
&lt;/h3&gt;
&lt;div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 10.5pt 0in 8.25pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 15.0pt; letter-spacing: 0.05pt;&quot;&gt;Introduction&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;SSH, or secure shell,
is an encrypted protocol used to administer and communicate with servers. When
working with an Ubuntu server, chances are you will spend most of your time in
a terminal session connected to your server through SSH.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;In this guide, we&#39;ll
focus on setting up SSH keys for a vanilla Ubuntu 16.04 installation. SSH keys
provide an easy, secure way of logging into your server and are recommended for
all users.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 10.5pt 0in 7.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 19.5pt; letter-spacing: -0.4pt;&quot;&gt;Step 1 — Create the RSA
Key Pair&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;The first step is to
create a key pair on the client machine (usually your computer):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-left: 0in; mso-list: l4 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;ssh-keygen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-left: 0in; mso-list: l4 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;By default&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ssh-keygen&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;will create a
2048-bit RSA key pair, which is secure enough for most use cases (you may
optionally pass in the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;-b 4096&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;flag to create a larger 4096-bit key).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;After entering the
command, you should see the following output:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Generating
public/private rsa key pair.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Enter file in which to
save the key (/&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;your_home&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;/.ssh/id_rsa):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Press&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ENTER&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;to save the key
pair into the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;.ssh/&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;subdirectory in your home directory, or
specify an alternate path.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;If you had previously
generated an SSH key pair, you may see the following prompt:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;/home/&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;your_home&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;/.ssh/id_rsa already
exists.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Overwrite (y/n)?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;If you choose to
overwrite the key on disk, you will&amp;nbsp;not&amp;nbsp;be able to authenticate using
the previous key anymore. Be very careful when selecting yes, as this is a
destructive process that cannot be reversed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;You should then see
the following prompt:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Enter passphrase
(empty for no passphrase):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Here you optionally
may enter a secure passphrase, which is highly recommended. A passphrase adds
an additional layer of security to prevent unauthorized users from logging in.
To learn more about security, consult our tutorial on&amp;nbsp;&lt;a href=&quot;https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;How To Configure SSH Key-Based Authentication on a Linux
Server&lt;/span&gt;&lt;/a&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;You should then see
the following output:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Your identification
has been saved in /&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;your_home&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;/.ssh/id_rsa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Your public key has
been saved in /&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;your_home&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;/.ssh/id_rsa.pub.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;The key fingerprint
is:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;a9:49:2e:2a:5e:33:3e:a9:de:4e:77:11:58:b6:90:26
username@remote_host&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;The key&#39;s randomart
image is:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;+--[ RSA 2048]----+&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..o&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;|&amp;nbsp;&amp;nbsp; E o= .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp; o. o&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..S&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; o o.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;|&amp;nbsp;&amp;nbsp; =o.+.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
|&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;|. =++..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;|o=++.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;+-----------------+&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;You now have a public
and private key that you can use to authenticate. The next step is to place the
public key on your server so that you can use SSH-key-based authentication to
log in.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 10.5pt 0in 7.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 19.5pt; letter-spacing: -0.4pt;&quot;&gt;Step 2 — Copy the Public
Key to Ubuntu Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;The quickest way to copy
your public key to the Ubuntu host is to use a utility called&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ssh-copy-id&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;. Due to its
simplicity, this method is highly recommended if available. If you do not
have&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ssh-copy-id&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;available to you on your client machine,
you may use one of the two alternate methods provided in this section (copying
via password-based SSH, or manually copying the key).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 10.5pt 0in 8.25pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 15.0pt; letter-spacing: 0.05pt;&quot;&gt;Copying Public Key
Using&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt; letter-spacing: 0.05pt;&quot;&gt;ssh-copy-id&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 15.0pt; letter-spacing: 0.05pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ssh-copy-id&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;tool is included
by default in many operating systems, so you may have it available on your
local system. For this method to work, you must already have password-based SSH
access to your server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;To use the utility,
you simply need to specify the remote host that you would like to connect to
and the user account that you have password SSH access to. This is the account
to which your public SSH key will be copied.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;The syntax is:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l7 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;ssh-copy-id &lt;/span&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;username&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;remote_host&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l7 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;You may see the
following message:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;The authenticity of
host &#39;&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;203.0.113.1&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;203.0.113.1&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;)&#39; can&#39;t be established.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;ECDSA key fingerprint
is fd:fd:d4:f9:77:fe:73:84:e1:55:00:ad:d6:6d:22:fe.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Are you sure you want
to continue connecting (yes/no)? &lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;yes&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;This means that your
local computer does not recognize the remote host. This will happen the first
time you connect to a new host. Type &quot;yes&quot; and press&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ENTER&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;to continue.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Next, the utility will
scan your local account for the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;id_rsa.pub&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;key that we created earlier. When it
finds the key, it will prompt you for the password of the remote user&#39;s
account:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;/usr/bin/ssh-copy-id:
INFO: attempting to log in with the new key(s), to filter out any that are
already installed&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;/usr/bin/ssh-copy-id:
INFO: 1 key(s) remain to be installed -- if you are prompted now it is to
install the new keys&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;username&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;203.0.113.1&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&#39;s password:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Type in the password
(your typing will not be displayed for security purposes) and press&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ENTER&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;. The utility will
connect to the account on the remote host using the password you provided. It
will then copy the contents of your&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;~/.ssh/id_rsa.pub&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;key into a file in the remote account&#39;s
home&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;~/.ssh&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;directory called&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;authorized_keys&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;You should see the
following output:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Number of key(s) added:
1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Now try logging into
the machine, with:&amp;nbsp;&amp;nbsp; &quot;ssh &#39;&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;username&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;203.0.113.1&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&#39;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;and check to make sure
that only the key(s) you wanted were added.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;At this point,
your&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;id_rsa.pub&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;key has been uploaded to the remote
account. You can continue on to&amp;nbsp;&lt;a href=&quot;https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-1604#step-3-%E2%80%94-authenticate-to-ubuntu-server-using-ssh-keys&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Step 3&lt;/span&gt;&lt;/a&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 10.5pt 0in 8.25pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 15.0pt; letter-spacing: 0.05pt;&quot;&gt;Copying Public Key Using
SSH&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;If you do not
have&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ssh-copy-id&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;available, but you have password-based
SSH access to an account on your server, you can upload your keys using a
conventional SSH method.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;We can do this by
using the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;cat&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;command to read the contents of the
public SSH key on our local computer and piping that through an SSH connection
to the remote server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;On the other side, we
can make sure that the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;~/.ssh&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;directory exists and has the correct
permissions under the account we’re using.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;We can then output the
content we piped over into a file called&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;authorized_keys&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;within
this directory. We’ll use the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;redirect symbol to append the content
instead of overwriting it. This will let us add keys without destroying
previously added keys.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;The full command looks
like this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-left: 0in; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;cat ~/.ssh/id_rsa.pub
| ssh &lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;username&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;remote_host&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt; &quot;mkdir -p ~/.ssh &amp;amp;&amp;amp; touch ~/.ssh/authorized_keys
&amp;amp;&amp;amp; chmod -R go= ~/.ssh &amp;amp;&amp;amp; cat &amp;gt;&amp;gt;
~/.ssh/authorized_keys&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-left: 0in; mso-list: l1 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;You may see the
following message:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;The authenticity of
host &#39;&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;203.0.113.1&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;203.0.113.1&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;)&#39; can&#39;t be established.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;ECDSA key fingerprint
is fd:fd:d4:f9:77:fe:73:84:e1:55:00:ad:d6:6d:22:fe.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Are you sure you want
to continue connecting (yes/no)? &lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;yes&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;This means that your
local computer does not recognize the remote host. This will happen the first
time you connect to a new host. Type &quot;yes&quot; and press&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ENTER&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;to continue.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Afterwards, you should
be prompted to enter the remote user account password:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;username&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;203.0.113.1&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&#39;s password:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;After entering your
password, the content of your&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;id_rsa.pub&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;key will be copied to the end of
the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;authorized_keys&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;file of the remote user&#39;s account.
Continue on to&amp;nbsp;&lt;a href=&quot;https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-1604#step-3-%E2%80%94-authenticate-to-ubuntu-server-using-ssh-keys&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Step 3&lt;/span&gt;&lt;/a&gt;&amp;nbsp;if this was successful.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 10.5pt 0in 8.25pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 15.0pt; letter-spacing: 0.05pt;&quot;&gt;Copying Public Key
Manually&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;If you do not have
password-based SSH access to your server available, you will have to complete
the above process manually.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;We will manually
append the content of your&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;id_rsa.pub&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;file to the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;~/.ssh/authorized_keys&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;file on your remote machine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;To display the content
of your&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;id_rsa.pub&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;key, type this into your local computer:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-left: 0in; mso-list: l6 level1 lfo4; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;cat ~/.ssh/id_rsa.pub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-left: 0in; mso-list: l6 level1 lfo4; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;You will see the key&#39;s
content, which should look something like this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAACAQCqql6MzstZYh1TmWWv11q5O3pISj2ZFl9HgH1JLknLLx44+tXfJ7mIrKNxOOwxIxvcBF8PXSYvobFYEZjGIVCEAjrUzLiIxbyCoxVyle7Q+bqgZ8SeeM8wzytsY+dVGcBxF6N4JS+zVk5eMcV385gG3Y6ON3EG112n6d+SMXY0OEBIcO6x+PnUSGHrSgpBgX7Ks1r7xqFa7heJLLt2wWwkARptX7udSq05paBhcpB0pHtA1Rfz3K2B+ZVIpSDfki9UVKzT8JUmwW6NNzSgxUfQHGwnW7kj4jp4AT0VZk3ADw497M2G/12N0PPB5CnhHf7ovgy6nL1ikrygTKRFmNZISvAcywB9GVqNAVE+ZHDSCuURNsAInVzgYo9xgJDW8wUw2o8U77+xiFxgI5QSZX3Iq7YLMgeksaO4rBJEa54k8m5wEiEE1nUhLuJ0X/vh2xPff6SQ1BL/zkOhvJCACK6Vb15mDOeCSq54Cr7kvS46itMosi/uS66+PujOO+xt/2FWYepz6ZlN70bRly57Q06J+ZJoc9FfBCbCyYH7U/ASsmY095ywPsBo1XQ9PqhnN1/YOorJ068foQDNVpm146mUpILVxmq41Cj55YKHEazXGsdBIbXWhcrRf4G2fJLRcGUr9q8/lERo9oxRm5JFX6TCmj6kmiFqv+Ow9gI0x8GvaQ==
demo@test&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Access your remote
host using whichever method you have available.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Once you have access
to your account on the remote server, you should make sure the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;~/.ssh&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;directory exists. This
command will create the directory if necessary, or do nothing if it already
exists:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l9 level1 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;mkdir -p ~/.ssh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l9 level1 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Now, you can create or
modify the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;authorized_keys&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;file within this directory. You can add
the contents of your&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;id_rsa.pub&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;file to the end of the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;authorized_keys&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;file,
creating it if necessary, using this command:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l5 level1 lfo6; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;public_key_string&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;
&amp;gt;&amp;gt; ~/.ssh/authorized_keys&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l5 level1 lfo6; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;In the above command,
substitute the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;public_key_string&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;with the output from the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;cat ~/.ssh/id_rsa.pub&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;command that you executed on your local system. It should
start with&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ssh-rsa AAAA...&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Finally, we’ll ensure
that the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;~/.ssh&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;directory and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;authorized_keys&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;file
have the appropriate permissions set:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l2 level1 lfo7; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;chmod -R go= ~/.ssh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l2 level1 lfo7; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;This recursively
removes all “group” and “other” permissions for the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;~/.ssh/&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;If you’re using
the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;root&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;account to set up keys for a user
account, it’s also important that the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;~/.ssh&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;directory belongs to the user and not
to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;root&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l3 level1 lfo8; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;chown -R &lt;/span&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;sammy&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;sammy&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt; ~/.ssh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l3 level1 lfo8; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;In this tutorial our
user is named&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #e94849; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;sammy&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;but you should substitute the
appropriate username into the above command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;We can now attempt
passwordless authentication with our Ubuntu server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 10.5pt 0in 7.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 19.5pt; letter-spacing: -0.4pt;&quot;&gt;Step 3 — Authenticate to
Ubuntu Server Using SSH Keys&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;If you have
successfully completed one of the procedures above, you should be able to log
into the remote host&amp;nbsp;&lt;i&gt;without&lt;/i&gt;&amp;nbsp;the remote account&#39;s password.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;The basic process is
the same:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-left: 0in; mso-list: l10 level1 lfo9; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;ssh &lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;username&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;remote_host&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-left: 0in; mso-list: l10 level1 lfo9; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;If this is your first
time connecting to this host (if you used the last method above), you may see
something like this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: 3.0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Output&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;The authenticity of
host &#39;&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;203.0.113.1&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;203.0.113.1&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;)&#39; can&#39;t be established.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;ECDSA key fingerprint
is fd:fd:d4:f9:77:fe:73:84:e1:55:00:ad:d6:6d:22:fe.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;Are you sure you want
to continue connecting (yes/no)? &lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;yes&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;This means that your
local computer does not recognize the remote host. Type &quot;yes&quot; and
then press&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ENTER&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;to continue.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;If you did not supply
a passphrase for your private key, you will be logged in immediately. If you
supplied a passphrase for the private key when you created the key, you will be
prompted to enter it now (note that your keystrokes will not display in the
terminal session for security). After authenticating, a new shell session
should open for you with the configured account on the Ubuntu server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;If key-based
authentication was successful, continue on to learn how to further secure your
system by disabling password authentication.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: normal; margin: 10.5pt 0in 7.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 19.5pt; letter-spacing: -0.4pt;&quot;&gt;Step 4 — Disable Password
Authentication on your Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;If you were able to
log into your account using SSH without a password, you have successfully
configured SSH-key-based authentication to your account. However, your
password-based authentication mechanism is still active, meaning that your
server is still exposed to brute-force attacks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Before completing the
steps in this section, make sure that you either have SSH-key-based
authentication configured for the root account on this server, or preferably,
that you have SSH-key-based authentication configured for a non-root account on
this server with&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;privileges. This step will lock down
password-based logins, so ensuring that you will still be able to get
administrative access is crucial.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Once you&#39;ve confirmed
that your remote account has administrative privileges, log into your remote
server with SSH keys, either as root or with an account with&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;sudo&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;privileges.
Then, open up the SSH daemon&#39;s configuration file:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l0 level1 lfo10; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;sudo nano
/etc/ssh/sshd_config&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l0 level1 lfo10; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Inside the file,
search for a directive called&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;PasswordAuthentication&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;. This may be commented out. Uncomment the
line and set the value to &quot;no&quot;. This will disable your ability to log
in via SSH using account passwords:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background: #E5E5E5; line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 10.5pt;&quot;&gt;/etc/ssh/sshd_config&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;PasswordAuthentication no&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Save and close the
file when you are finished by pressing&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;CTRL&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;+&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;X&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;, then&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;Y&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;to confirm
saving the file, and finally&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;ENTER&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;to exit nano. To actually implement
these changes, we need to restart the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot;; font-size: 11.5pt;&quot;&gt;sshd&lt;/span&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&amp;nbsp;service:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l11 level1 lfo11; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;sudo systemctl restart
ssh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.5pt; margin-left: 0in; mso-list: l11 level1 lfo11; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #323232; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;As a precaution, open
up a new terminal window and test that the SSH service is functioning correctly
before closing this session:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-left: 0in; mso-list: l8 level1 lfo12; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;ssh &lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;username&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;color: #fff066; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;remote_host&lt;/span&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: black; line-height: 16.5pt; margin-left: 0in; mso-list: l8 level1 lfo12; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;symbol&amp;quot;; font-size: 10.0pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;times new roman&amp;quot;; font-size: 7pt; font-stretch: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;color: #e2e2e2; font-family: &amp;quot;courier new&amp;quot;; font-size: 10.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Once you have verified
your SSH service, you can safely close all current server sessions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 18.75pt; margin-bottom: 16.5pt;&quot;&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;The SSH daemon on your
Ubuntu server now only responds to SSH keys. Password-based authentication has
successfully been disabled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #323232; font-family: &amp;quot;segoe ui&amp;quot; , sans-serif; font-size: 12.0pt;&quot;&gt;Source:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-1604#step-1-%E2%80%94-create-the-rsa-key-pair&quot;&gt;https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-1604#step-1-—-create-the-rsa-key-pair&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h1 class=&quot;content-title Tutorial-header&quot; style=&quot;box-sizing: inherit; color: #323232; font-size: 32px; font-weight: 400; letter-spacing: 0px; line-height: 1.1; margin: 0px 0px 14px; padding: 0px;&quot;&gt;
&lt;/h1&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://rahulkrishnanr.blogspot.com/feeds/8869228147198739935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/how-to-set-up-ssh-keys-on-ubuntu-16.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/8869228147198739935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7190497672060339317/posts/default/8869228147198739935'/><link rel='alternate' type='text/html' href='http://rahulkrishnanr.blogspot.com/2019/06/how-to-set-up-ssh-keys-on-ubuntu-16.html' title='How To Set Up SSH Keys on Ubuntu '/><author><name>Rahul Krishnan R</name><uri>http://www.blogger.com/profile/08705122701638240273</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>