<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>SSH — LowEndSpirit DEV</title>
        <link>https://dev.lowendspirit.com/index.php?p=/</link>
        <pubDate>Thu, 04 Jun 2026 20:57:12 +0000</pubDate>
        <language>en</language>
            <description>SSH — LowEndSpirit DEV</description>
    <atom:link href="https://dev.lowendspirit.com/index.php?p=/discussions/tagged/ssh/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Email notification when someone logs in via SSH</title>
        <link>https://dev.lowendspirit.com/index.php?p=/discussion/3927/email-notification-when-someone-logs-in-via-ssh</link>
        <pubDate>Mon, 03 May 2021 12:00:00 +0000</pubDate>
        <category>LES Talk</category>
        <dc:creator>mikho</dc:creator>
        <guid isPermaLink="false">3927@/index.php?p=/discussions</guid>
        <description><![CDATA[<p><em>Written by <a href="https://dev.lowendspirit.com/index.php?p=/profile/mikho" rel="nofollow">@mikho</a>, 3 May 2021</em><br /><small>Article was migrated from WordPress to Vanilla in March 2022</small></p>

<p>
  <img src="https://talk.lowendspirit.com/uploads/editor/kl/ovtru2uav7gg.png" alt="image" /></p>

<p>Even if it is too late when someone else logs in as root on your server, it is good to know that <strong>NOW</strong> is the time to get working on your security.</p>

<p>To setup email notification, login to your server as root.<br />
Edit .bashrc</p>

<pre spellcheck="false" tabindex="0">editor .bashrc
</pre>

<p>add the following line at the end, changing “ServerName” to the hostname of your server and “email@thisaddress.com” to your own email address.</p>

<pre spellcheck="false" tabindex="0">echo 'ALERT - Root Shell Access (ServerName) on:' `date` `who` | mail -s "Alert: Root Access from `who | cut -d"(" -f2 | cut -d")" -f1`" email@thisaddress.com 
</pre>

<hr /><p><strong>!NOTE!</strong> - Take notice of the ` in the code block. Sometimes when copying code from a webpage, these small characters will mess up when pasted.</p>

<hr /><p>Save and exit your .bashrc.</p>

<p>Next time someone, hopefully you, logs on as root, you will get an email about this.</p>

<p>This can be done for any user, you only have to make sure that the user can email out from your server.</p>

<p>Quick Tip: Use the guide <a rel="nofollow" href="https://lowendspirit.com/low-memory-usage-smtp-send-only/">here</a> to install and configure a Low Resource SMTP Server.</p>
]]>
        </description>
    </item>
    <item>
        <title>Favourite ssh app for Mac?</title>
        <link>https://dev.lowendspirit.com/index.php?p=/discussion/878/favourite-ssh-app-for-mac</link>
        <pubDate>Thu, 09 Apr 2020 13:06:09 +0000</pubDate>
        <category>General</category>
        <dc:creator>Chalipa</dc:creator>
        <guid isPermaLink="false">878@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Which one is your favourite? something similar to putty?</p>

<p>I am using Cyberduck, was wondering if there is any better alternatives?</p>
]]>
        </description>
    </item>
    <item>
        <title>[Guide] Linking VS Code to a VPS file system</title>
        <link>https://dev.lowendspirit.com/index.php?p=/discussion/490/guide-linking-vs-code-to-a-vps-file-system</link>
        <pubDate>Tue, 14 Jan 2020 08:45:02 +0000</pubDate>
        <category>Technical</category>
        <dc:creator>havoc</dc:creator>
        <guid isPermaLink="false">490@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Started a new blog with technical articles about linux, servers etc &amp; I reckon the initial post might be of interest to you guys: You can hook a fullblown IDE - Visual Studio Code - into a VPS remotely via SSH.</p>

<p>Why do you need this in your life? Because it's a text editor on steroids with endless extensions available for docker, yaml, python etc plus all the creature comforts of a IDE.</p>

<p><img src="http://www.lowendspirit.com/uploads/editor/qv/dbe6si8qfikf.png" alt="" title="" /></p>

<p>e.g. Docker extension</p>

<p><img src="http://www.lowendspirit.com/uploads/editor/2e/a3ht6ftaj0v5.png" alt="" title="" /></p>

<p>Step by step on how to achieve this magic:</p>

<p><a href="https://kaizen.today/remote-vscode-over-ssh/" rel="nofollow">https://kaizen.today/remote-vscode-over-ssh/</a></p>
]]>
        </description>
    </item>
    <item>
        <title>SSH Tunneling on MrVM NAT VPS Continuation from old forum</title>
        <link>https://dev.lowendspirit.com/index.php?p=/discussion/100/ssh-tunneling-on-mrvm-nat-vps-continuation-from-old-forum</link>
        <pubDate>Tue, 19 Nov 2019 08:29:15 +0000</pubDate>
        <category>Technical</category>
        <dc:creator>milkboy</dc:creator>
        <guid isPermaLink="false">100@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>Continuation of <a rel="nofollow" href="https://forum.lowendspirit.com/viewtopic.php?pid=22860" title="https://forum.lowendspirit.com/viewtopic.php?pid=22860">this forum post</a></p>

<p>TL;DR I want to reverse ssh tunnel port on an IPv4 assigned port.<br />
But all local internal IP port is closed ( except SSH port).<br />
i forwarded PC FTP port to any port. <br />
On localhost (127.0.0.1:any-port) can connect, port scanning shows opened.<br />
On Internal IP (172.1ww.xx.yy:any-port). connection refused, port scanning shows closed.</p>

<p><img src="http://talk.lowendspirit.com/uploads/editor/kp/piwoww3f8jjx.png" alt="" title="" /></p>

<p>I port forward to my assign ports. still no dice.</p>

<p>any ideas what i need to do?</p>
]]>
        </description>
    </item>
   </channel>
</rss>
