D
D
dariay2017-12-12 00:27:21
JavaScript
dariay, 2017-12-12 00:27:21

How to protect VPS from brute force?

Hello. There is a VPS, under ubuntu, it runs some programs by connecting to two addresses in the internet. How to close the login to the server so that it was not possible to log into the server, even for me?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
A
Anatoly, 2019-10-08
@Tolly

Something seems to have worked out:
https://codepen.io/workcode/pen/zYYxWGe
works without any double-click checks

A
Antonio Solo, 2019-09-30
@solotony

there are 2
debounce mechanisms: the first click performs an action and sets a timer and cuts off repeated clicks
throttle : a timer is set on a click, each subsequent timer resets the timer, the action is performed by a timer.

H
Host-Eiweb, 2017-12-12
@dariay

How to close the login to the server so that it was not possible to log into the server, even for me?

find string and match:
Or create a new user as root
# useradd -ou 0 -g 0 john
# passwd john

Next change root shell
change
to
And of course install fail2ban

E
entermix, 2017-12-12
@entermix

Fail2ban?

D
Dimonchik, 2017-12-12
@dimonchik2013

uwf

P
Psq, 2017-12-12
@Psq

fail2ban - get rid of brute force (password brute force).
Disabling services, iptables - if you need to completely isolate all connections.
To reduce the possible impact - stop using root and forbid it to connect via SSH (at least).

V
Victor Nasonov, 2019-05-17
@kvonosan

You can just change the port. That's how it is on my servers. There are no brute force attempts 100%. I will do it on your server https://kwork.ru/server-administration/192357/zash...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question