Tired of logging in each time w/ complicated password on your server?
Download PuTTY, Pageant and PuTTYgen from PuTTY Download Page and put in your $WIN_HOME
Run PuTTYgen to create your public and private keys and save. Login with putty to your server and
create a ".ssh" directory’ with an "authorized_keys" file in your home directory.
Chmod .ssh to 700 and authorized_keys to 600. Make sure you own both .ssh and authorized_keys file.
Copy public key to your "authorized_keys" file. Add private key to Pageant.
With pageant running, you can now login w/o entering your password when you connect to server via putty.
If you have passphrase, pageant will ask you once per session upon login.
If you have multiple servers, you can just use one passphrase and one private key to access them all.
No comments:
Post a Comment