Today I wanted to connect to my server via ssh, I made a typo and the result was amazing Instead of writing: $ ssh root@10.0.0.1 I typed: $ ssh root@10.0.01 And it worked! It connected successfully to the server. I thought this makes sense because even though the point is missing, the ip is still …
Read more »Starting the end of last week I started noticing several attacks on my servers. I asked around and it turns out I was not the only one… Several small businesses in Switzerland had to suffer attacks on their infrastructures, causing a lot of troubles (server down, ISP down, headaches, …) Anyhow since our servers are …
Read more »Imagine you just where able to gain a shell login, you certainly don’t want the usual user that you managed to log in his account. The first thing you want to do is to stop writing the .bash_history: [codesyntax lang="bash"] $ export HISTFILE=/dev/null [/codesyntax] Now open your .bash_history with your favorite editor and delete the …
Read more »More than a recover this is a root password reset. To be able to execute all these commands you need a shell root access on the box you are trying to reset. First stop the mysql deamon: [codesyntax lang="bash"] $ /etc/init.d/mysql stop # the gentle way $ killall -9 mysqld_safe && killall -9 mysqld # …
Read more »Gentoo is one of the best distribution what concerns costumization and configurability (if not the best…). I’m a huge fan of gentoo. Last week set up a new server based on gentoo. The hardware used is a “HP ProLiant ML110 G6″ usually I’m not a big fan of prebuilt hardware but because of a time …
Read more »
