SSH CONFIG - Security

This is a discussion on SSH CONFIG - Security ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: SSH CONFIG

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



  2. Re: SSH CONFIG

    * LinuxNewbie :
    > 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 to Thread