From: Stuart Gall on
On 2010-06-19 05:50:26 +0300, Todd <todd(a)invalid.com> said:

>
>> Also you should never use passwords on ssh, you should require RSA
>> authentication. In /etc/sshd_config
>>
>> RSAAuthentication yes
>> PubkeyAuthentication yes
>> PasswordAuthentication no
>>
>> To allow access to an account you put the user's public key in
>> ~/.ssh/authorized_keys
>
>
> Now is makes sense. Thank you.
>
> -T


For a new system usually PasswordAuthentication is on by default.
You can push your key from the remote system with

ssh machine.foo.com <~/.ssh/id_rsa.pub 'mkdir .ssh; cat
>>.ssh/authorized_keys;chmod 700 .ssh;chmod 600 .ssh/authorized_keys'

It will ask for yor password.
Then do ssh machine.foo.com
Should not ask for the password.
Disable passwordAuthentication in sshd_config



--
TIA
Stuart
--
There are three kinds of mathematician
Those that can count and those that cant.

From: Todd on

> The easiest way to manage ssh is to use webmin,
>
> http://www.webmin.com

https://127.0.0.1:10000

I use webmin to administer HylaFAX. I did not
know it also did ssh. Thank you!

-T