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

From: Torsten Reuss (
Date: 01/22/02

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

    From: "Torsten Reuss" <>
    Date: Tue, 22 Jan 2002 17:56:09 +0200

    keith edward <> wrote in message
    > 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
    If you don't want the user to type in any password, don't protect the
    keypair with a passphrase.

    Copy 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"