1. Install Cygwin
2. Install separately the ssh-keygen ( or sshd ) on cygwin
3. Download the puttycfg , unzip to a dir in your Windows path
4. Find out where cygwin1.dll is installed cygcheck -sd >list.txt
5. Open the list.txt ( it is quite big ) : notepad list.txt
6. Copy all the files from C:\temp\something to the dir where the cygwin1.dll is located
7. Start the putty.exe : Start - Run : cmd /c START /max putty
8. In the GUI , check that Session on the Left is selected , click on Cygterm option , for hostName type - , leave port number 22
9. Open the puttycfg :
10. Generate the public and private key's :
11. ssh-keygen -t rsa
12. Type Enter,Enter
13. Now here is the tricky part you have to tell also putty that the public and private key files are the one you want to use with you : Copy the /home/<<username>>/id_rsa and ..id_rsa.pub to the dir where your save your putty conf in my case: C:\Temp\ysg\conf\<<computername>>\putty\ssh
14. Start - Run - type puttygen
15. Load the copied private key file and save it as <<file.pkk>> , save also the public key file
16. Copy the id_rsa.pub file to the server's ~ dir
17. cp -vr /home/username/.ssh/ .
18. On the server cat id_rsa.pub >> ~/.ssh/authorized_keys
19. Now when started from the windows client :
cmd /c START /max putty username@servername.domain.com no password should be asked
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!