Kerberos5 + SSH Questions
openlinuxsource at gmail.com
Tue Jan 4 07:34:05 EST 2011
Thanks, Brian. It looks like it was a host name problem. And I have
correct that. It works well.
On Tue, Jan 4, 2011 at 8:17 PM, Brian Candler <B.Candler at pobox.com> wrote:
> On Tue, Jan 04, 2011 at 07:31:37PM +0800, Lee Eric wrote:
>> So how do I know what client/server gets the idea of the server host
>> name? It looks like reverse map works well and they can get the same
> On the server, type "hostname". If it returns anything other than
> ns.herdingcat.internal, correct it. Depending on your O/S this may be
> something like
> # echo "ns.herdingcat.internal" >/etc/hostname
> # hostname ns.herdingcat.internal
> On both the client and server, check that
> $ dig ns.herdingcat.internal
> $ dig -x 172.16.14.1
> give the right results (names maps to IP, and IP maps to name).
> Check /etc/hosts on both machines. Either there should be no entry for this
> box, or if there is one, the FQDN should be the first listed name.
> 172.16.14.1 ns.herdingcat.internal # OK
> 172.16.14.1 ns.herdingcat.internal ns # OK
> 172.16.14.1 ns ns.herdingcat.internal # WRONG
More information about the Kerberos