Results 1 to 6 of 6
-
29th May 2011, 12:41 AM #1OPMemberWebsite's:
ihide.info experthide.com hideonthe.net[TUT] Get emails when someone logins into SSH
Hey,
This is quick tut that basically show you how to make it so that when someone logs in ssh you get a detailed email with their ip, host, ect.
Lets get started
Step 1 :
Code:cd /root
Code:pico .bashrc
Scroll to the end of the file and add this.
Code:echo 'ALERT - Root Shell Access (YourserverName) on:' `date` `who` | mail -s "Alert: Root Access from `who | cut -d"(" -f2 | cut -d")" -f1`" you@yourdomain.com
Replace you@yourdomain.com with your actual email address.
Step 4 :
Code:Crtl + X then Y
And their you go. All done . To test log out of ssh and re-log back in. You should receive an email..:Raymond:. Reviewed by .:Raymond:. on . [TUT] Get emails when someone logins into SSH Hey, This is quick tut that basically show you how to make it so that when someone logs in ssh you get a detailed email with their ip, host, ect. Lets get started :) Step 1 : cd /root Step 2 : Rating: 5
-
29th May 2011, 12:47 AM #2
-
29th May 2011, 01:26 AM #3MemberWebsite's:
EastsideHosting.com MediaONAIR.com ImgWiz.com cPadmin.net EastsidePCWorks.com HostedTalk.compico isn't used anymore.
pico .bashrc
nano .bashrcEastsideHosting - (Web Hosting, Proxy Hosting, Reseller Program)
MediaONAIR - (SHOUTcast Servers, ICEcast Servers, Reseller Program)
Server Administrator - (Dedicated Servers, VPS Management, One Time Services)
ImgWiz - (Free Image Hosting)
-
29th May 2011, 01:39 AM #4OPMemberWebsite's:
ihide.info experthide.com hideonthe.net@Cory
Hm didnt even notice i put pico. Also this tut is for general linux. Not all people have csf installed
-
29th May 2011, 09:03 PM #5Member
Very useful, thanks!
-
7th Jun 2011, 09:55 AM #6MemberWebsite's:
host4offshore.comyou can do it using csf alert option
|| Host4Offshore :: Reliable, Quality, Fast Offshore Hosting Solution (USA/Netherlands/Sweden/Russia/Romania)
|| Shared , Reseller Hosting Sales Thread
|| Rapidleech Hosting Sales Thread
|| Current Promotion
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to get free porn site logins
By Speakup in forum Tutorials and GuidesReplies: 24Last Post: 15th Nov 2011, 09:51 AM -
[Buying] templates + logins for MP5
By antpeks in forum Completed TransactionsReplies: 5Last Post: 2nd May 2011, 10:08 PM -
How to log commands/logins in linux?
By tdsii in forum Hosting DiscussionReplies: 1Last Post: 3rd Mar 2011, 04:43 PM -
How many registered user logins do you get per day?
By woja in forum Webmaster DiscussionReplies: 8Last Post: 13th Feb 2011, 04:10 PM -
[WTB] Porn Logins
By Speakup in forum Completed TransactionsReplies: 1Last Post: 1st Dec 2009, 02:01 AM
themaPoster - post to forums and...
Version 5.23 released. Open older version (or...