Find Jobs
Hire Freelancers

Debian send email at each ssh login

$10-30 USD

Completed
Posted over 10 years ago

$10-30 USD

Paid on delivery
What it the best way to send email to 1 destination each time there is a ssh/sftp login? Additional to do the same each time the Linux box is rebooted.
Project ID: 5222562

About the project

23 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I have long time experience on Linux Administration. I may not only make what you need work, but also teach you how to do it. And document the solution.
$10 USD in 1 day
5.0 (28 reviews)
5.4
5.4
23 freelancers are bidding on average $24 USD for this job
User Avatar
Hi there, I have over 7 years experience working on HTML, Wordpress, Magento, Database administration, OpenCart, Website Design, Logo / Banner Design Joomla, CSS and Linux Administration. I have read the project description very well, and i would like to complete this project. lets complete this project
$33 USD in 3 days
4.8 (1175 reviews)
8.6
8.6
User Avatar
Hello, I have over 9 years experience as an Linux admin and can setup the email notfication when somebody login to the server using ssh. I have done this before.
$34 USD in 0 day
4.9 (618 reviews)
7.8
7.8
User Avatar
A proposal has not yet been provided
$20 USD in 1 day
4.8 (280 reviews)
6.9
6.9
User Avatar
Hi, We are fast growing hosting company in India. We have expertise in Linux and Windows server setup with management. We work in different technologies like VMware, Hyper V, Microsoft exchange etc. And work with different hosting panels like cpanel, plesk , Dot net panel, webmin etc.. Thanks
$25 USD in 1 day
4.9 (255 reviews)
6.6
6.6
User Avatar
hello, I can put together a script that will notify you each time a user logs in via ssh (or ftp over ssh) and the server boots. This should be able to be completed within the next 2-3 days for you If you'll look at my profile (https://www.freelancer.com/u/twhiting9275.html), you'll see 100% positive (5 star) feedback, high completion (I don't abandon projects, but there are times employers take work and cancel to avoid paying) and a link to my own site where I've done the same for better than 10 years now. Your project will be completed with the same diligence and persistence. Your task will be completed within the advertised period of time, and be given everything needed to be done right. I look forward to hearing from you and working with you on this project. Tom Whiting
$39 USD in 1 day
5.0 (32 reviews)
5.3
5.3
User Avatar
. i can this. via bashrc and init script.
$20 USD in 1 day
4.9 (71 reviews)
5.5
5.5
User Avatar
You need and easy script which which be called each time the ssh session is opened. I can prepare and implement it. Best Regards Marek
$30 USD in 1 day
5.0 (16 reviews)
4.7
4.7
User Avatar
I am a professional Linux and Windows Systems Administrator with more than 14 years of expertise in this field. Completing your project would not be a problem, you can be sure a true professional is working on your project and that it will be completed as indicated. Let me know if you have any queries or need more information. Looking forward to work with you. Regards Chris
$25 USD in 1 day
5.0 (13 reviews)
4.6
4.6
User Avatar
Hi, If you're looking for an experienced tech to work on your server, I'm definitely the person you want to hire. I can get this done for you in few hours. I've worked with several web hosting companies as an Remote Technical Support Person and have 7+ years experience in working to setup complete servers and their optimization. I can easily setup your server to send email on ssh login and a notification on reboot. The benefit of working with me is, I'm available on Skype and Telephone, and you will get a fast response from me on all your queries. Thank you! I look forward to hearing from you. Shahbaz :)
$25 USD in 0 day
4.9 (32 reviews)
4.9
4.9
User Avatar
I only need SSH and few minutes. I already wrote the script and is running on one of my Linux servers.
$15 USD in 1 day
5.0 (10 reviews)
4.3
4.3
User Avatar
I can do right now. I have 5 yrs experience, as web developer and linux administration. If you award this.. i can solved now.
$20 USD in 3 days
4.9 (13 reviews)
3.9
3.9
User Avatar
Hello, I am a Linux system administrator working for a leading web hosting company and have done this as a security measure in different dedicated server. Please award me the project and I can do this for you. Regards
$15 USD in 1 day
4.3 (37 reviews)
4.6
4.6
User Avatar
My approach would be a script that works like this: - open /var/log/messages (ssh/sftp standard log file) - seek to end of file and record offset - read lines since offset - extract successful logins: - shell out to mail utility and mail user The reboot could be handled with a very similar script: -You could fetch the most recent line of the output of $ last reboot. - see if's already has been reported in a state file /var/run/reboot_check perhaps - if it has changed mail the user and update the state file. Offcourse one has to take logrotation in account for the first script. PS: My stats look bad but it's mainly because an employer is snubbing payment. Please check my reviews, they are more fair.
$30 USD in 3 days
5.0 (11 reviews)
3.5
3.5
User Avatar
Bonjour, je suis developpeur Debian depuis 2008 et dispose d'une expérience majeure dans l'administration & la configuration de systèmes GNU/Linux de manière générale. Je suis a votre disposition pour mettre en place cette solution (également possible de mettre en place des notifications push si besoin).------ Hi, beeing Debian developer since 2008, I got an extensive experience in managing GNU/Linux systems. Should you want to work with me, I can setup what you request even putting in place push notifications if needed.
$30 USD in 3 days
4.8 (4 reviews)
2.8
2.8
User Avatar
Most of bidders will probably tell you that the good idea is to create /etc/profile script or similar solution which is not good because user can use other shells like /bin/sh to login. Basically, there are two good ways to achieve login monitoring: 1. Parse logs 2. Make use of pam-exec scripts to email you in case of login About reboot notification, it should be done through crontab @reboot trigger. If you have four or more servers, it is recommended to deploy RADIUS service for central authentication. Then you can easily do email notification by scripting RADIUS service. I know how to do that. Thank you for considering my offer.
$30 USD in 1 day
5.0 (2 reviews)
2.3
2.3
User Avatar
i have already done this for my other clients for security on server. i can do this for you less then 12 hours. i am new on this site so do not understamate me and my skills. give me chance then you get the best value of money.
$20 USD in 1 day
5.0 (1 review)
1.2
1.2
User Avatar
A proposal has not yet been provided
$30 USD in 2 days
4.6 (1 review)
1.0
1.0
User Avatar
hi, If I give you the solution will you pay me here :) I can give some when ever the user logs in the .profile is triggered you can add this there echo "xxx user has logged in" | mailx -s "Login alert" [email address where u want to send] pay me if it works :) regards SouvikB
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have more than 9 years of experience of linux admin with lots of flavours of posix operating system like Redhat linux, centos, debian ubuntu, suse etc.
$25 USD in 3 days
0.0 (2 reviews)
1.8
1.8
User Avatar
hi! i'm quite experienced on Linux programming and i think i can do the job. i request the smallest amount of money because i'm a newbie and i want to higher my level. thanks, luca
$10 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of FRANCE
Fuveau, France
5.0
59
Payment method verified
Member since Mar 25, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.