- Generate a public and private key with PuTTYgen (click on Generate):
- Save the public and private key.
- The next step is to add the public key on the server:
chmod 700 ~/.ssh
- Paste the public key to the following file:
chmod 600 ~/.ssh/authorized_keys
- Configure the putty session:
- Create a new session and save it:
- Select data and configure 'Auto-login' (usersame used by the created key):
- Configure the path to the private key:
After this, if you open the session, you will be directly prompted to the linux host.
No comments:
Post a Comment