It is not totally correct saying:SSH login with certificate as actually a public/private keypair is used for this type of authentication.
Let’s see how it works.
This explains how to login to your remote linux machine ssh instance with a public keys pair authentication and (more) optionally, how to not use any password, just the private and public keys pair. Continue reading “SSH login with certificate”
Incoming search terms:
blog giuseppeurso net (1287)
ssh_exchange_identification: read: connection reset by peer (120)
I’m stil lreceiving huge spam/unwanted traffic from russia.
I want to ban with iptables
I already tried to stop it using fail2ban but they continuosly change their IP Address so there is no repetitive behavior wich fail2ban can trace.
This means that even if i setup rules for fail2ban they can do the first connection anyway wasting a little of my server resources.
I want to stop it now, so i decided to do it the bad way:using iptables. Continue reading “How to Ban a country with iptables”
As I wrote in a previous article, someone is buzzing my server with continuous requests for inexistent resources, just like /browserToolbarGetData?v=2. This could be related with a new ip address i just boght, i don’t know yet but there is no trace of this io address history, so i think i’m the first using it, so io’m prone to belive it is just a remote possibility… anyway let’s tale some countermeasures. Continue reading “[Solved] Apache2 access log browserToolbarGetData?v=2”
This is a fast but durable and stable solution The problem:
Client wesites on one of my ISPConfing Web Servers (actually I have to check the others yet) started or, better, stopped logging websites accesses into the expected access log file (the one into /var/log/ispconfig/httpd/blog.giuseppeurso.net/access.log), and start logging into the generic “other_vhosts_access.log” used for the “generic website” the one wich responds to all unmanaged virtualhost requests, the ones that comes by IP address instead of hostnames.
Questo è il log AGGIORNATO della mia prossima avventura nel paese delle meraviglie (che poi sarebbe Debian) in cui utilizzerò 2 Virtual Machines, una delle quali sarà ottenuta partendo da un clone della macchina originale da tenere sotto mirroring, ed agirà da mirror venendo aggiornata 4 volte al giorno.
Suppose i just mirrored my vps machine (starting from a clone and then rsync-ing all needed files) with rsync. Obviously i need to change the IP Address value contained into all the config files, but I’m lazy.
So, let’s use “SED” to do it at once, with a single line command.
I need to replace the IP Address “192.168.100.5” with “192.168.100.4” in all files contained in /etc/apache2/* Continue reading “Replacing IP Address in Apache2 config files with SED”
Incoming search terms:
sed replace ip and port (1)
Using sed to replace an ip address in a config file line (1)