<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Get Root and User SSH Login Email Alerts	</title>
	<atom:link href="https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Tue, 11 Jun 2024 10:36:10 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: ginés		</title>
		<link>https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/comment-page-1/#comment-2179434</link>

		<dc:creator><![CDATA[ginés]]></dc:creator>
		<pubDate>Tue, 11 Jun 2024 10:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=4884#comment-2179434</guid>

					<description><![CDATA[It would be better to put this line in the &lt;code&gt;.profile&lt;/code&gt; or &lt;code&gt;.bash_login&lt;/code&gt; files since they are only executed at login (i.e., only one time), while &lt;code&gt;.bashrc&lt;/code&gt; is executed every time a subshell is launched (likely, many times).]]></description>
			<content:encoded><![CDATA[<p>It would be better to put this line in the <code>.profile</code> or <code>.bash_login</code> files since they are only executed at login (i.e., only one time), while <code>.bashrc</code> is executed every time a subshell is launched (likely, many times).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/comment-page-1/#comment-1178887</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 24 Jun 2019 05:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=4884#comment-1178887</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/comment-page-1/#comment-1176499&quot;&gt;Pandurang Khot&lt;/a&gt;.

@Pandurang,

Check this article..

&lt;a href=&quot;https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot;&gt;How to Get Root and User SSH Login Email Alerts&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/comment-page-1/#comment-1176499">Pandurang Khot</a>.</p>
<p>@Pandurang,</p>
<p>Check this article..</p>
<p><a target="_blank" href="https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/" rel="noopener noreferrer" target="_blank">How to Get Root and User SSH Login Email Alerts</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pandurang Khot		</title>
		<link>https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/comment-page-1/#comment-1176499</link>

		<dc:creator><![CDATA[Pandurang Khot]]></dc:creator>
		<pubDate>Thu, 20 Jun 2019 12:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=4884#comment-1176499</guid>

					<description><![CDATA[Create a alert on my server such that if anyone other than my and my manager IP&#039;s  login to the server we should get an mail based alert with the user ID &#038; ip address.

Please help.]]></description>
			<content:encoded><![CDATA[<p>Create a alert on my server such that if anyone other than my and my manager IP&#8217;s  login to the server we should get an mail based alert with the user ID &amp; ip address.</p>
<p>Please help.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: vikash khanna		</title>
		<link>https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/comment-page-1/#comment-1045845</link>

		<dc:creator><![CDATA[vikash khanna]]></dc:creator>
		<pubDate>Tue, 09 Oct 2018 11:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=4884#comment-1045845</guid>

					<description><![CDATA[Thanks a ton, after implementing I am able to get root SSH login email alerts..
]]></description>
			<content:encoded><![CDATA[<p>Thanks a ton, after implementing I am able to get root SSH login email alerts..</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Tony		</title>
		<link>https://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/comment-page-1/#comment-967707</link>

		<dc:creator><![CDATA[Tony]]></dc:creator>
		<pubDate>Thu, 08 Feb 2018 14:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=4884#comment-967707</guid>

					<description><![CDATA[Hi, I just tested this on my Linux box and it works well. However, if i need to reverse the script, how do i achieve that?

echo &#039;ALERT - Root Shell Access (ServerName) on:&#039; `date` `who` &#124; mail -s &quot;Alert: Root Access from `who &#124; cut -d&#039;(&#039; -f2 &#124; cut -d&#039;)&#039; -f1`&quot; xxxx@xxxx.com]]></description>
			<content:encoded><![CDATA[<p>Hi, I just tested this on my Linux box and it works well. However, if i need to reverse the script, how do i achieve that?</p>
<p>echo &#8216;ALERT &#8211; Root Shell Access (ServerName) on:&#8217; `date` `who` | mail -s &#8220;Alert: Root Access from `who | cut -d'(&#8216; -f2 | cut -d&#8217;)&#8217; -f1`&#8221; <a target="_blank" href="mailto:xxxx@xxxx.com">xxxx@xxxx.com</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
