<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on ngmarley.com</title><link>https://ngmarley.com/blog/tag/linux/</link><description>Recent content in Linux on ngmarley.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 02 Jan 2013 00:00:00 +0000</lastBuildDate><atom:link href="https://ngmarley.com/blog/tag/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Remove Ubuntu/Debian version from sshd server string</title><link>https://ngmarley.com/blog/remove-ubuntudebian-version-from-sshd-server-string/</link><pubDate>Wed, 02 Jan 2013 00:00:00 +0000</pubDate><guid>https://ngmarley.com/blog/remove-ubuntudebian-version-from-sshd-server-string/</guid><description>&lt;p&gt;For security reasons, I don&amp;rsquo;t like that &amp;ldquo;Debian/Ubuntu&amp;rdquo; shows up on my sshd server string.&lt;/p&gt;&#10;&lt;p&gt;You can see the sshd server identification string by telnetting to port 22.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;$ telnet ngmarley.com 22 Trying 106.187.97.211... Connected to ngmarley.com. Escape character is '^]'. SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu1 ^] telnet&amp;gt; quit Connection closed.&lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;It&amp;rsquo;s very simple to just remove the &amp;ldquo;Debian&amp;hellip;&amp;rdquo; part off the end.&lt;/p&gt;&#10;&lt;p&gt;Just edit /etc/ssh/sshd_config and append&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;DebianBanner no&lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;to it.&lt;/p&gt;&#10;&lt;p&gt;Then re-start your sshd:&lt;/p&gt;</description></item><item><title>basic Perl log function</title><link>https://ngmarley.com/blog/basic-perl-log-function/</link><pubDate>Wed, 30 Jun 2010 00:00:00 +0000</pubDate><guid>https://ngmarley.com/blog/basic-perl-log-function/</guid><description>&lt;p&gt;I believe any good Perl utility should have a log to which pertinent information should be written. I&amp;rsquo;m not even going to go over the merits of having a log file, but all good scripts should have one.&lt;/p&gt;&#10;&lt;h3 id="setup---define-the-function-and-log-filename"&gt;Setup - Define the Function and Log Filename&lt;/h3&gt;&#10;&lt;p&gt;Here&amp;rsquo;s the log function which I use in my Perl scripts. This could easily be exported to a log module. Yes, I realize there are probably a lot of good logging modules out there already, I&amp;rsquo;m just offering this for the lazy sods who don&amp;rsquo;t currently log anything in their Perl scripts, but realize that it&amp;rsquo;s a good idea to start.&lt;/p&gt;</description></item><item><title>Linux shared library error</title><link>https://ngmarley.com/blog/linux-shared-library-error/</link><pubDate>Mon, 03 May 2010 00:00:00 +0000</pubDate><guid>https://ngmarley.com/blog/linux-shared-library-error/</guid><description>&lt;p&gt;&lt;em&gt;Note: this was originally written on Apr 23, 2010, so that&amp;rsquo;s why the dates are from about a week and a half ago. Because I&amp;rsquo;m a lazy sod, I didn&amp;rsquo;t get around to publishing this until now.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;After installing ntp on my Arch Linux server via pacman, I received this error message while trying to update my system time with &lt;strong&gt;ntpdate&lt;/strong&gt;:&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;# ntpdate ntpdate: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>