[CLUE-Tech] Passwordless scp?
Randy Arabie
randy at arabie.org
Wed Apr 16 09:02:28 MDT 2003
On Wednesday, 16 April 2003 at 8:16:49 -0600, Dan Harris
<coronadh at coronasolutions.com> wrote:
> I'm trying to set up a way to have a client scp a file to one of my
> servers and having it automated so a password is not necessary.
>
> Based on my google search results, I've done the following:
>
> created a username for this customer on my server ran 'ssh-keygen -t
> rsa' as this user. This created an id_rsa and id_rsa.pub in their
> ~/.ssh directory had them create the same username on their server
> with the same password copied both of these files to their server in
> the ~/.ssh directory (tried copying id_rsa.pub to authorized_keys on
> this client for testing purposes)
>
> From what I've read, that seems to be all I have to do to make this
> work. But unfortunately, both ssh and scp are still prompting for a
> password.
>
> Can someone steer me in the right direction?
Have you modified your sshd_config and ssh_config files? You may need
to do that, and if your sshd_config required modification you will need
to restart the sshd daemon.
In sshd_config on the server, you need to have PubkeyAuthentication set
to "yes".
--
Allons Rouler!
Randy
http://www.arabie.org/
More information about the clue-tech
mailing list