<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Ssh on Nico Maas</title>
        <link>https://www.nico-maas.de/tags/ssh/</link>
        <description>Recent content in Ssh on Nico Maas</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Wed, 17 Feb 2021 10:22:00 +0000</lastBuildDate><atom:link href="https://www.nico-maas.de/tags/ssh/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>fail2ban Cheat Sheet</title>
            <link>https://www.nico-maas.de/posts/2021-02-17-fail2ban-cheat-sheet/</link>
            <pubDate>Wed, 17 Feb 2021 10:22:00 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2021-02-17-fail2ban-cheat-sheet/</guid>
            <description>&lt;p&gt;Just the commands I always need to look up, because I forgot again&amp;hellip;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Overview over fail2ban status and jails&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;fail2ban-client status&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;See which e.g. IPs are banned for sshd jail&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;fail2ban-client status sshd&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;Unban an IP from sshd jail&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;fail2ban-client set sshd unbanip IPADDRESSHERE&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;See which systems are actually banned&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;zgrep &amp;#39;Ban&amp;#39; /var/log/fail2ban.log*&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
        </item><item>
            <title>[Win10] Offline installation of FoD like OpenSSH Server without VLSC ISO</title>
            <link>https://www.nico-maas.de/posts/2021-02-11-win10-offline-installation-of-fod-like-openssh-server-without-vlsc-iso/</link>
            <pubDate>Thu, 11 Feb 2021 17:00:00 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2021-02-11-win10-offline-installation-of-fod-like-openssh-server-without-vlsc-iso/</guid>
            <description>&lt;p&gt;Windows 10 comes with a lot of additional options to install, which are not part of the &amp;ldquo;local&amp;rdquo; installation media.That means things like e.g. the OpenSSH Server component. These options are called &amp;ldquo;Features on Demand&amp;rdquo; (FoD) and do need either an active internet connection to download and install, or a specialized FoD ISO which you only can download from the Microsoft Volume Licensing Service Center (VLSC). If you need to install these options for your Windows 10 Professional or similar offline - without having a valid subscription, you cannot get the needed offline files that way.&lt;/p&gt;</description>
        </item><item>
            <title>SSH config for beginners</title>
            <link>https://www.nico-maas.de/posts/2017-04-18-ssh-config-for-beginners/</link>
            <pubDate>Tue, 18 Apr 2017 12:00:06 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2017-04-18-ssh-config-for-beginners/</guid>
            <description>&lt;p&gt;The SSH config is a powerful tool to get &amp;ldquo;more&amp;rdquo; out of your normal SSH connection.&lt;/p&gt;&#xA;&lt;p&gt;Just create an file called &amp;ldquo;config&amp;rdquo; in your .ssh folder and it will be used on a new SSH session.&lt;/p&gt;&#xA;&lt;p&gt;Lets start with a simple example of how a connection configuration could look like:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Host myHost&#xD;&#xA;  Hostname 1.2.3.4 &#xD;&#xA;  IdentityFile ~/.ssh/myHostKey&#xD;&#xA;  User myUser&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;With this code, an &amp;ldquo;ssh myHost&amp;rdquo; will try to connect to the host 1.2.3.4 - using the user myUser and the keyfile myHostKey. And with this - you can use multiple keys and users on the same host without too much trouble 🙂&lt;/p&gt;</description>
        </item><item>
            <title>[Ubuntu] Use Molly-Guard to stop shooting your own leg</title>
            <link>https://www.nico-maas.de/posts/2016-09-23-ubuntu-use-molly-guard-to-stop-shooting-your-own-leg/</link>
            <pubDate>Fri, 23 Sep 2016 08:00:06 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2016-09-23-ubuntu-use-molly-guard-to-stop-shooting-your-own-leg/</guid>
            <description>&lt;p&gt;If you&amp;rsquo;re working on some dozens of linux servers (or even more than 100,.. as in my case), you end up doing administration via SSH - which is the way to go. And chances are, that you&amp;rsquo;ll get dozens of SSH connections open in dozens of tabs and you did some updates on some of those servers and want to restart this thing with a quick sudo reboot now&amp;hellip;&lt;br&gt;&#xA;I won&amp;rsquo;t lie if I say, it happend more than once that I accidentally rebooted the wrong server - at least that was the case more than a year ago.&lt;br&gt;&#xA;For the last year, since I have been using Molly-Guard - that did not happen once. Why? Because Molly-Guard does stop the reboot command if it detects that you&amp;rsquo;re issuing it from an SSH console - and asks for the server name. If you&amp;rsquo;re entering it correctly - it will reboot. If you&amp;rsquo;re in a frenzy, doing your &amp;ldquo;sudo reboot now&amp;rdquo; and enter name serverB while you&amp;rsquo;re on serverA - yep, Molly-Guard will stop you from shooting yourself in the leg. Neat, ain&amp;rsquo;t it?&lt;/p&gt;</description>
        </item><item>
            <title>SSH Socks Proxy</title>
            <link>https://www.nico-maas.de/posts/2015-03-23-ssh-socks-proxy/</link>
            <pubDate>Mon, 23 Mar 2015 15:01:08 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2015-03-23-ssh-socks-proxy/</guid>
            <description>&lt;p&gt;Very easy and handy is to use an SSH Server as Socks Proxy:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ssh -D 8080 username@my_ssh_server&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Or use Putty:&lt;br&gt;&#xA;Enter the IP Address of your SSH Server, Port and go to Connection -&amp;gt; SSH -&amp;gt; Tunnels.&lt;br&gt;&#xA;In Source Port enter the Port where the Proxy should be available. I.e. 8080&lt;br&gt;&#xA;Then choose &amp;ldquo;Dynamic&amp;rdquo;.&lt;br&gt;&#xA;Leave Destination Port Empty and the IP Configuration on &amp;ldquo;Auto&amp;rdquo;.&lt;/p&gt;&#xA;&lt;p&gt;After connecting to your SSH Server, you can configure i.e. Firefox to use your Socks 5 Server on IP 127.0.0.1 and Port 8080.&lt;/p&gt;</description>
        </item><item>
            <title>[Linux] Delete old SSH Keys and recreate them</title>
            <link>https://www.nico-maas.de/posts/2015-03-14-linux-delete-old-ssh-keys-and-recreate-them/</link>
            <pubDate>Sat, 14 Mar 2015 13:07:08 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2015-03-14-linux-delete-old-ssh-keys-and-recreate-them/</guid>
            <description>&lt;p&gt;If you are downloading an Linux Image for i.e. Embedded Systems like Raspberry Pi, sometimes, the SSH Keys are still on the system and are not recreated.&lt;br&gt;&#xA;To do that manually, just enter:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo rm /etc/ssh/ssh_host_*&#xD;&#xA;sudo dpkg-reconfigure openssh-server&#xD;&#xA;sudo service ssh restart&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
        </item><item>
            <title>[Putty] Multiple Tabs with Putty</title>
            <link>https://www.nico-maas.de/posts/2011-07-06-putty-multiple-tabs-with-putty/</link>
            <pubDate>Wed, 06 Jul 2011 09:59:00 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2011-07-06-putty-multiple-tabs-with-putty/</guid>
            <description>&lt;p&gt;An &amp;ldquo;Multi-Tab&amp;rdquo; Putty Version?&lt;br&gt;&#xA;Does that exist?&lt;br&gt;&#xA;No - putty does not do tabs, neither any custom version.&lt;br&gt;&#xA;But theres an so called &amp;ldquo;Putty Connection Manager&amp;rdquo; which does mange your Sessions 256 bit AES encrypted as well as do Multiple Tabs via wrapping Putty multiple times within itself!&#xA;&lt;a class=&#34;link&#34; href=&#34;http://puttycm.free.fr/cms/index.php&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;http://puttycm.free.fr/cms/index.php&lt;/a&gt;&lt;/p&gt;</description>
        </item><item>
            <title>[pfSense] Access with SCP</title>
            <link>https://www.nico-maas.de/posts/2011-04-16-pfsense-access-with-scp/</link>
            <pubDate>Sat, 16 Apr 2011 09:00:46 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2011-04-16-pfsense-access-with-scp/</guid>
            <description>&lt;p&gt;If you need to access your pfSense with WinSCP (i.e.), activate SSH in pfSense first.&lt;br&gt;&#xA;After that, you can log in with the Account root (!!!) and your Webconfiguration password.&lt;br&gt;&#xA;Yeah, that saved my day after hours of trying to&amp;hellip; &amp;ldquo;work-around&amp;rdquo;.&lt;/p&gt;</description>
        </item><item>
            <title>[ESXi 3.5] ESXi 3.5 Update 5 Install CD with oem.tgz &#43; ssh,ftp,rsync and wget (made easy)!</title>
            <link>https://www.nico-maas.de/posts/2010-03-30-esxi-3-5-esxi-3-5-update-5-install-cd-with-oem-tgz-sshftprsync-and-wget-made-easy/</link>
            <pubDate>Tue, 30 Mar 2010 14:41:53 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2010-03-30-esxi-3-5-esxi-3-5-update-5-install-cd-with-oem-tgz-sshftprsync-and-wget-made-easy/</guid>
            <description>&lt;p&gt;Hello,&lt;/p&gt;&#xA;&lt;p&gt;It has been a while since I was really doing something new with VMWare, but as I had the need to install some new Servers, I also was looking for better ways on integrating oem.tgz and other features. For that, I stumbled upon an very cool and useful Linux Build Script for ESXi, made by the User Varazir. After this How To you&amp;rsquo;re going to hold an ISO Installer with SSH, FTP, RSYNC, WGET and the Community Unified Driver Pack 1.1.0 oem.tgz in your Hands. Or an USB Stick with the same features - as Live Boot or Installer. Your choice.&lt;/p&gt;</description>
        </item><item>
            <title>SSH Tunneling</title>
            <link>https://www.nico-maas.de/posts/2010-01-06-ssh-tunneling/</link>
            <pubDate>Wed, 06 Jan 2010 12:30:44 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2010-01-06-ssh-tunneling/</guid>
            <description>&lt;p&gt;One of the most important things by working in &amp;ldquo;dangerous&amp;rdquo; Networking Enviroments is protection.&lt;/p&gt;&#xA;&lt;p&gt;And by that I don&amp;rsquo;t mean the usual (and important!) Anti Virus, Anti Malware and Firewall Software, but Traffic Tunneling, meaning VPN or SSH.&lt;/p&gt;&#xA;&lt;p&gt;SSH is the secure equivalent to the good old (and Plaintext transmitted) Telnet. And its also more powerful: Its use is not limited to remote Control, but can also provide an secured Datatunnel through which all your Traffic to your Remote Location (i.e. an Mysql Database, Web- or Mailserver or the Web itself) is tunneld - and encrypted. Giving therefore little to no chance to &amp;ldquo;Wiresharkes&amp;rdquo; and other Cable Tappers or Span Users.&lt;/p&gt;</description>
        </item></channel>
</rss>
