Be notified (e.g. mail) of unsuccessful FTP login attempts to my server
I have a server I log in to with FTP. I'd like to know of a way to be notified of fraudulent login attempts.
email ftp
New contributor
add a comment |
I have a server I log in to with FTP. I'd like to know of a way to be notified of fraudulent login attempts.
email ftp
New contributor
3
Confusing - "login fails .... if anyone logs in". If the login failed, nobody got logged in.
– waltinator
yesterday
actually if we have correct credentials then there is no problem. If login to FTP server fails i need an email alert or echo statement i.e "login failed"
– venkat sai
yesterday
its FTP not ssh
– venkat sai
yesterday
you guys are really not nice, this is a new user, quit downvoting
– tatsu
16 hours ago
@tatsu Downvote means a “question does not show any research effort; it is unclear or not useful”. Thank you for improving the question, I bet it gets no more downvotes now.
– Melebius
15 hours ago
add a comment |
I have a server I log in to with FTP. I'd like to know of a way to be notified of fraudulent login attempts.
email ftp
New contributor
I have a server I log in to with FTP. I'd like to know of a way to be notified of fraudulent login attempts.
email ftp
email ftp
New contributor
New contributor
edited 15 hours ago
Melebius
4,79051939
4,79051939
New contributor
asked yesterday
venkat saivenkat sai
62
62
New contributor
New contributor
3
Confusing - "login fails .... if anyone logs in". If the login failed, nobody got logged in.
– waltinator
yesterday
actually if we have correct credentials then there is no problem. If login to FTP server fails i need an email alert or echo statement i.e "login failed"
– venkat sai
yesterday
its FTP not ssh
– venkat sai
yesterday
you guys are really not nice, this is a new user, quit downvoting
– tatsu
16 hours ago
@tatsu Downvote means a “question does not show any research effort; it is unclear or not useful”. Thank you for improving the question, I bet it gets no more downvotes now.
– Melebius
15 hours ago
add a comment |
3
Confusing - "login fails .... if anyone logs in". If the login failed, nobody got logged in.
– waltinator
yesterday
actually if we have correct credentials then there is no problem. If login to FTP server fails i need an email alert or echo statement i.e "login failed"
– venkat sai
yesterday
its FTP not ssh
– venkat sai
yesterday
you guys are really not nice, this is a new user, quit downvoting
– tatsu
16 hours ago
@tatsu Downvote means a “question does not show any research effort; it is unclear or not useful”. Thank you for improving the question, I bet it gets no more downvotes now.
– Melebius
15 hours ago
3
3
Confusing - "login fails .... if anyone logs in". If the login failed, nobody got logged in.
– waltinator
yesterday
Confusing - "login fails .... if anyone logs in". If the login failed, nobody got logged in.
– waltinator
yesterday
actually if we have correct credentials then there is no problem. If login to FTP server fails i need an email alert or echo statement i.e "login failed"
– venkat sai
yesterday
actually if we have correct credentials then there is no problem. If login to FTP server fails i need an email alert or echo statement i.e "login failed"
– venkat sai
yesterday
its FTP not ssh
– venkat sai
yesterday
its FTP not ssh
– venkat sai
yesterday
you guys are really not nice, this is a new user, quit downvoting
– tatsu
16 hours ago
you guys are really not nice, this is a new user, quit downvoting
– tatsu
16 hours ago
@tatsu Downvote means a “question does not show any research effort; it is unclear or not useful”. Thank you for improving the question, I bet it gets no more downvotes now.
– Melebius
15 hours ago
@tatsu Downvote means a “question does not show any research effort; it is unclear or not useful”. Thank you for improving the question, I bet it gets no more downvotes now.
– Melebius
15 hours ago
add a comment |
1 Answer
1
active
oldest
votes
Install fail2ban in order to ban and send emails
here is how you can install this software :
- Open up a terminal (CtrlAltT)
- type :
sudo apt install fail2ban sendmail
(being on an updated system is of importance)
then allow SSH access through UFW and then enable the firewall:
ufw allow ssh
ufw enable
the default configuration should be adequate all that is left to do is configure your mail
source : https://www.linode.com/docs/security/using-fail2ban-for-security/#ubuntu
New contributor
3
Welcome to AskUbuntu! This answer would be useful if you were to go into more detail on how to configurefail2ban
after installation in order to accomplish the desired goal. Hint: You can find this information here. I highkly recommend that you review askubuntu.com/help/how-to-answer Cheers!
– Elder Geek
yesterday
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
venkat sai is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121414%2fbe-notified-e-g-mail-of-unsuccessful-ftp-login-attempts-to-my-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Install fail2ban in order to ban and send emails
here is how you can install this software :
- Open up a terminal (CtrlAltT)
- type :
sudo apt install fail2ban sendmail
(being on an updated system is of importance)
then allow SSH access through UFW and then enable the firewall:
ufw allow ssh
ufw enable
the default configuration should be adequate all that is left to do is configure your mail
source : https://www.linode.com/docs/security/using-fail2ban-for-security/#ubuntu
New contributor
3
Welcome to AskUbuntu! This answer would be useful if you were to go into more detail on how to configurefail2ban
after installation in order to accomplish the desired goal. Hint: You can find this information here. I highkly recommend that you review askubuntu.com/help/how-to-answer Cheers!
– Elder Geek
yesterday
add a comment |
Install fail2ban in order to ban and send emails
here is how you can install this software :
- Open up a terminal (CtrlAltT)
- type :
sudo apt install fail2ban sendmail
(being on an updated system is of importance)
then allow SSH access through UFW and then enable the firewall:
ufw allow ssh
ufw enable
the default configuration should be adequate all that is left to do is configure your mail
source : https://www.linode.com/docs/security/using-fail2ban-for-security/#ubuntu
New contributor
3
Welcome to AskUbuntu! This answer would be useful if you were to go into more detail on how to configurefail2ban
after installation in order to accomplish the desired goal. Hint: You can find this information here. I highkly recommend that you review askubuntu.com/help/how-to-answer Cheers!
– Elder Geek
yesterday
add a comment |
Install fail2ban in order to ban and send emails
here is how you can install this software :
- Open up a terminal (CtrlAltT)
- type :
sudo apt install fail2ban sendmail
(being on an updated system is of importance)
then allow SSH access through UFW and then enable the firewall:
ufw allow ssh
ufw enable
the default configuration should be adequate all that is left to do is configure your mail
source : https://www.linode.com/docs/security/using-fail2ban-for-security/#ubuntu
New contributor
Install fail2ban in order to ban and send emails
here is how you can install this software :
- Open up a terminal (CtrlAltT)
- type :
sudo apt install fail2ban sendmail
(being on an updated system is of importance)
then allow SSH access through UFW and then enable the firewall:
ufw allow ssh
ufw enable
the default configuration should be adequate all that is left to do is configure your mail
source : https://www.linode.com/docs/security/using-fail2ban-for-security/#ubuntu
New contributor
edited 16 hours ago
tatsu
244332
244332
New contributor
answered yesterday
AlpyAlpy
1995
1995
New contributor
New contributor
3
Welcome to AskUbuntu! This answer would be useful if you were to go into more detail on how to configurefail2ban
after installation in order to accomplish the desired goal. Hint: You can find this information here. I highkly recommend that you review askubuntu.com/help/how-to-answer Cheers!
– Elder Geek
yesterday
add a comment |
3
Welcome to AskUbuntu! This answer would be useful if you were to go into more detail on how to configurefail2ban
after installation in order to accomplish the desired goal. Hint: You can find this information here. I highkly recommend that you review askubuntu.com/help/how-to-answer Cheers!
– Elder Geek
yesterday
3
3
Welcome to AskUbuntu! This answer would be useful if you were to go into more detail on how to configure
fail2ban
after installation in order to accomplish the desired goal. Hint: You can find this information here. I highkly recommend that you review askubuntu.com/help/how-to-answer Cheers!– Elder Geek
yesterday
Welcome to AskUbuntu! This answer would be useful if you were to go into more detail on how to configure
fail2ban
after installation in order to accomplish the desired goal. Hint: You can find this information here. I highkly recommend that you review askubuntu.com/help/how-to-answer Cheers!– Elder Geek
yesterday
add a comment |
venkat sai is a new contributor. Be nice, and check out our Code of Conduct.
venkat sai is a new contributor. Be nice, and check out our Code of Conduct.
venkat sai is a new contributor. Be nice, and check out our Code of Conduct.
venkat sai is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121414%2fbe-notified-e-g-mail-of-unsuccessful-ftp-login-attempts-to-my-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
Confusing - "login fails .... if anyone logs in". If the login failed, nobody got logged in.
– waltinator
yesterday
actually if we have correct credentials then there is no problem. If login to FTP server fails i need an email alert or echo statement i.e "login failed"
– venkat sai
yesterday
its FTP not ssh
– venkat sai
yesterday
you guys are really not nice, this is a new user, quit downvoting
– tatsu
16 hours ago
@tatsu Downvote means a “question does not show any research effort; it is unclear or not useful”. Thank you for improving the question, I bet it gets no more downvotes now.
– Melebius
15 hours ago