How to setup putty to auto connect to your computer
How to make putty(in Win7) auto connect to your computer(Linux)?
Let say, we have a windows computer A, and a linux computer B.
And We want use putty to auto connect B, from A.
There’s steps:
- Use puttygen.exe to generate a public key and private key.
- Save the public key inside linux(~/.ssh/authorized_keys)
- Inside Putty
- In Connection->Auth->Private key file for authentication, select the private key you saved.
- In Connection Data, set the Auto-login username as the linux’s username.
- In Session, set the Host Name
- In Save Sessions, save the session as YourSession
- Create a shortcut to putty, and in its property, change the target as : “C:\Program Files\Putty\putty.exe” -load YourSession
- Click the shortcut, and let it go!
Leave a Comment
Your email address will not be published. Required fields are marked *