I’m using Ubuntu 11.10. I’m using ssh for connecting to many servers daily, so I put their parameters in the .ssh/config file like this:
Is there a way to put passwords for each connection in this file, so that, when the server asks for the password, the terminal enters its password and sends it to the server?
I need this because sometimes I stand away from the PC and when I go back, type a password and press Enter the terminal says CONNECTION CLOSED.
P.S. I don’t want to use a public/private key pair.