POV-Ray : Newsgroups : povray.off-topic : Data transfer : Re: Data transfer Server Time
30 Jul 2024 08:20:04 EDT (-0400)
  Re: Data transfer  
From: Jim Henderson
Date: 13 Sep 2011 15:01:11
Message: <4e6fa877$1@news.povray.org>
On Tue, 13 Sep 2011 19:40:57 +0100, Orchid XP v8 wrote:

>>> Damn. Setting up SSH has got a whole lot easier than when I tried to
>>> do it with Debian a few years ago.
>>>
>>> I'm presuming it defaults to password authentication though? As I
>>> recall, half the trouble was figuring out how to permanently and
>>> irrevocably disable password authentication and *only* allow public
>>> key authentication. (For one thing, you have to work out how to create
>>> a keypair...)
>>
>> Yes, it defaults to password authentication.
>>
>> To disable password authentication, modify /etc/ssh/sshd_config to
>> include:
>>
>> PasswordAuthentication no
>>
>> Done.
> 
> The solution may not be complex. Trying to find it in the documentation
> often is.

man sshd_config

Search manpage.

Problem solved.

> Now explain how to generate a keypair and put the public half on the
> list of acceptable clients.

ssh-keygen

Then copy the id_rsa.pub (or id_dsa.pub) file to the ~/.ssh directory on 
the target system.

Problem solved.

Jim


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.