Automating ossec installation in linux

One of the challenges that I have faced in linux environment were to automate installation.

Of course it is simple to script using bash in linux to run rpm or deb binary installation.

What if the installation comes with an interactive installation or installer which is coded as a bash script. Yes, I am looking at you OSSEC .

Continue reading

Generating RSA key using Linux or Ubuntu

For linux or ubuntu user who is lazy to login to remote by typing password or plainly to improve security measure. You may generate a RSA key type to authenticate the login process. Generating the RSA key is the very first step.

Continue reading

Connect to SSH using customed port from UBuntu Terminal

Scope and conditions :

  1. SSH service is running on remote server.
  2. SSH is binded to IP address 10.10.10.10.
  3. SSH service is running on Port 9394 or customed port (SSH default port 22).
  4. There is no firewall on your computer or your network. Continue reading