Let’s imagine you are in a far away place, you don’t have your laptop with you and you have to access your server urgently. The easiest solution is to go to an iCaffe.

You use Putty, enter your host-name, port, user name. And then, just before you would enter the password you ask yourself: wait, what if there is a key-logger installed? Do I really want some script kiddie to get my password and mess around with my server? No!

In order to solve this problem, I created the following solution, based entirely on bash script. It goes like this:

Below is a screen shot (and explanations) regarding how this goes.