Saturday, August 02, 2008

Automate Remote Login

Most Linux users are familiar with ssh. They used it frequently to do remote login to other machines in which they have access. The problem with the default ssh configuration is that you must type your password everytime you wanted to login. It can be counted as a good security measures, but in the other hand, sometimes it's annoying to write the same password everytime. Would it be a good idea if we can automate remote login?

The answer lies in the hand of ssh-agent. How do you do that? Read the detailed HOWTO on this article by WebMonkey


  1. An easier (but arguably "less secure") way is to use key based logins (just like ssh-agent), but make the private key passphrase empty. That way, ssh-agent is not needed.

    The strength of the security now lies in the secrecy of the private key. Without a passphrase, it's lacking another layer of protection.

  2. yep, it was meant to be used in an isolated environment, for example IP-based terminal