1/ Putty (See http://www.howtoforge.com/ssh_key_based_logins_putty)
Use PuTTYgen to generate a new private/ public keypair
- Create a new putty connection
- Enter a hostname and a "Saved Sessions" name
- Under Connection->Data->Username enter 'username'
- Under Connection->Data->SSH->Auth->Private File key for Authentication enter the path of the Private Key
- Save the connection
- Click Open - You should be logged in without being prompted for user/pass combo.
2/SSH Key Setup for internode SSH
This allows you to ssh between machines without re-logging in
- Start a Putty session to each node you wish to reach
- Run "ssh-keygen -t rsa" on each one
- Append the contents of ~/.ssh/id_rsa.pub to the ~/.ssh/authorized_keys on each of the other machines
No comments:
Post a Comment