Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jun 2001 10:20:00 -0700
From:      "Crist Clark" <crist.clark@globalstar.com>
To:        Misha Kamushkin <mishson@hotmail.com>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: openssh auth. problem
Message-ID:  <3B210940.A6DFBAB2@globalstar.com>
References:  <F4adTMVwVn20lbhsKd600005da3@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Misha Kamushkin wrote:
> 
> hello,
> 
> i think i tried everything under the sun to get this to work but
> with no results. i need to get ssh to work without prompting me for a
> password. i created id_dsa and id_dsa.pub with ssh-keygen. then i export
> the key with ssh-keygen -x. after that i copied the exported key to my
> server and renamed it known_hosts2 and i also tried athorized_keys2. i
> have enable hostbasedauthentication on both client and sever config
> files.

[snip]

> what am i doing wrong. can somebody bring some light on this. what's the
> correct step by step configuration.
> thanks in advance.

You seem to be using OpenSSH at both ends (server and client), correct?
Why are you using the SSH2-compatible public key generated with '-x?' You 
should be using the OpenSSH-compatible public key, id_dsa.pub, and putting
it in the remote authorized_keys2 file (not known_hosts2 or athorized_keys2).
-- 
Crist J. Clark                                Network Security Engineer
crist.clark@globalstar.com                    Globalstar, L.P.
(408) 933-4387                                FAX: (408) 933-4926

The information contained in this e-mail message is confidential,
intended only for the use of the individual or entity named above.  If
the reader of this e-mail is not the intended recipient, or the employee
or agent responsible to deliver it to the intended recipient, you are
hereby notified that any review, dissemination, distribution or copying
of this communication is strictly prohibited.  If you have received this
e-mail in error, please contact postmaster@globalstar.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B210940.A6DFBAB2>