This is a discussion on SSH CONFIG within the Linux Security forums, part of the System Security and Security Related category; Hi, I have a problem with ssh v2.5. It is working well when i try to connect with putty. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I have a problem with ssh v2.5. It is working well when i try to connect with putty. But, i have created a identity key with ssh-keygen and copied this files to my Win XP station. When i try to logon with putty at my linux box i get the same logon screen with the logon and password to fill in!? What should i alter so that i am forced to use my key? THANX the linuxnewbie |
|
|||
|
* LinuxNewbie <linuxNewbie@pandora.be>:
> i have created a identity key with ssh-keygen and copied this files to > my Win XP station. When i try to logon with putty at my linux box i > get the same logon screen with the logon and password to fill in!? Two things. First you need to enable public key authentication on the ssh server. It's in the manual for sshd_config, and it is likely the option is already present in your sshd_config but commented-out. Sort that out and restart the server. By the way, don't *read* the manual. Open the manual, and use your pager to *search* down to the part you want. Then you're reading only relevant information. Apologies if this is obvious, but newcomers often complain that the manuals are "too long and too hard". They ain't! Second, last I used it PuTTY was not able to use an ssh key 'out of the box'. Unless that's changed, don't forget you need to run the key through PuTTY's converter first. -- Andrew Preater |