Re: How do I configure user/host authentication...?

From: Torsten Reuss (t.reuss@gmx.net)
Date: 01/22/02

  • Next message: Bill Unruh: "Re: Wrong password!"

    From: "Torsten Reuss" <t.reuss@gmx.net>
    Date: Tue, 22 Jan 2002 17:56:09 +0200
    
    

    keith edward <keith_teri@yahoo.com> wrote in message
    news:d29f4fb7.0201151241.bff4064@posting.google.com...
    > Hello,
    >
    > I want to be able to set it up so that a specific user from a specific
    > machine will be able to ssh over to a server without having to enter a
    > password... how do I configure this? Any doc's for this?

    Well, that's what public key authentication is for.

    Login as the user, generate a public/private key pair (e.g. ssh-keygen -d
    will generate ~/.ssh/id_dsa and id_dsa.pub
    If you don't want the user to type in any password, don't protect the
    keypair with a passphrase.

    Copy id_dsa.pub over to the server and put it into the
    ~/.ssh/authorized_keys2 of the user that he is supposed to be logging in as.

    Et voila.

    Documentation for that: "man ssh"