Re: SSH: trying the simplest configuration with no success
From: Chris Skelsey (chris.skelsey_at_esands.com)
Date: 02/20/04
- Next message: Laurent_wiz: "Re: Problems w/ SSH2 on Debian + W2K Putty client"
- Previous message: Chris Skelsey: "Re: SSH: trying the simplest configuration with no success"
- In reply to: Richard E. Silverman: "Re: SSH: trying the simplest configuration with no success"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 20 Feb 2004 10:07:58 +1100
I should also add that PAM appears to be enabled:
strings /usr/sbin/sshd | fgrep auth-pam.c
@(#)$Id: auth-pam.c,v 1.46 2002/05/08 02:27:56 djm Exp $
and the file /etc/pam.d/sshd exists, as instructed in
http://www.snailbook.com/faq/password-pam.auto.html
Chris.
Richard E. Silverman wrote:
>>Here's the situation. I'm starting off with SSH, and am trying to get a
>>very basic configuration working: RhostsRSAAuthentication.
>
>
> 1) This is not "very basic;" trusted-host authentication is the trickiest
> standard SSH authentication method to set up.
>
> 2) SSH protocol version 1 is deprecated; you would be better off using the
> analogous "hostbased" authentication method with protocol 2.
>
> 3) If all you want is automatic interactive authentication, why not just
> use publickey with ssh-agent? There are legitimate reasons to use
> trusted-host authentication, but usually it involves the administration
> of larger collections of hosts and non-technical users. There are
> security tradeoffs involved here; have you thought them through?
>
>
>>I can't set it up to avoid password-less logins.
>
>
> Presumably this is a typo.
>
>
>>To get to a clean slate/known state, I setup /etc/hosts.equiv and .rhosts
>>and make sure I can rsh from one host to the other. Works.
>
>
> This is irrelevant; rsh has nothing to do with ssh. The trusted-host
> method is analogous to that used by rsh; that's all.
>
>
>>Then, I get rid of ~/.ssh on both hosts.
>
>
> Why?
>
>
>>debug1: Rhosts with RSA host authentication denied: unknown or invalid host key
>>Failed rhosts-rsa for ess from 172.16.2.30 port 32866 ruser ess
>
>
> This is quite explicit: the server cannot find the client's host key,
> which must be present in either ~/.ssh/known_hosts or /etc/ssh_known_hosts
> on the server under the client's canonical name as found by the server
> (which here is the client's IP address since the serverfailed to find a
> name for the address via DNS).
>
> http://www.snailbook.com/faq/trusted-host-howto.auto.html
>
-- - Chris Skelsey ------------------------------------ | Environmental Systems & Services, Australia | chris.skelsey@esands.com +61 3 8420 8926 | www.esands.com
- Next message: Laurent_wiz: "Re: Problems w/ SSH2 on Debian + W2K Putty client"
- Previous message: Chris Skelsey: "Re: SSH: trying the simplest configuration with no success"
- In reply to: Richard E. Silverman: "Re: SSH: trying the simplest configuration with no success"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|