View previous topic :: View next topic |
Author |
Message |
goofus Apprentice
Joined: 19 Nov 2004 Posts: 180
|
Posted: Fri Jan 21, 2005 10:34 am Post subject: putty wont work |
|
|
i have set up sshd to only accept keys. when i login to the school unix server via telnet and from the server to my comp via ssh it works. when i try to log in via putty from windows it doesnt work. i put in authorized keys the ssh key and the special putty key. when i use putty and i use the putty key he says its not a privat key. when i use the ssh key he says
Unable to use key file "Y:\id_rsa" (OpenSSH SSH2 private key)
No supported authentication methods left to try!
whats wrong? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Jan 21, 2005 10:40 am Post subject: |
|
|
Quote: | i put in authorized keys the ssh key and the special putty key |
It doesn't work like that.
The SSH host key is for identifying a host to a client or vice versa - you don't want to mess with that.
What needs to go into authorized_keys is the exact private key string you get from puttygen.
Nothing else will work.
Read the Putty and Puttygen manuals - they're quite clear on how to do this. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
|