SSH CONFIG

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. ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-27-2005
LinuxNewbie
 
Posts: n/a
Default SSH CONFIG

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


Reply With Quote
  #2 (permalink)  
Old 12-27-2005
Andrew Preater
 
Posts: n/a
Default Re: SSH CONFIG

* 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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0