[22472] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Problem with ssh and kerberos

daemon@ATHENA.MIT.EDU (Marcio d'Avila Scheibler)
Fri Sep 17 07:42:55 2004

Message-ID: <414ACD03.4060606@smail.ufsm.br>
Date: Fri, 17 Sep 2004 08:39:47 -0300
From: "Marcio d'Avila Scheibler" <mds@smail.ufsm.br>
MIME-Version: 1.0
To: Ghe Rivero <ghe@upsa.es>
In-Reply-To: <1095230563.22118.8.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu


Try to start another sshd instance "by hand" in server using another 
port and enabling debuging options just to see error messages regarding
GSSAPI auth... Sometimes it shows the "little" errors that prevent auth 
from proceeding successfully.

In your server, for instance, type

serverhost:/# /usr/sbin/sshd -p 8000 -ddd

(( server process does not detach from terminal and
    display debug/error information, so that you can
    see what's happening ))


In client host:

client:~$ ssh -p 8000 serverhost



Ghe Rivero wrote:
> Hi people!
> 	I've some debian machines with kerberos properly working to
> authenticate users. The problem is that i have installed ssh-krb5 and it
> doesn't works.
>     In the kdc server i have created and ktadd a principal for
> host/ssh.server.com, and export it to the krb5.keytab file on the
> ssh.server.com. With klist -k in the ssh.server and kvno in the kdc and
> clients machines they return me the same number. When i connect with
> ssh, it ask me for a password and i don't get a ticket for it (i already
> kave a krbtgt ticket).
> 	The configuration of ssh_config and sshd_config files are the defaults
> from debian sarge.
> 
> 	Any idea about what can be happeninig? Thx in advanced
> 
> 	Ghe Rivero
> 
> 
> ------------------------------------------------------------------------
> 
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos


-- 
--------------------------------------------------------------------------
Marcio d'Avila Scheibler - Divisao de Suporte (marcio@cpd.ufsm.br)
Centro de Processamento de Dados - Campus Universitario - CEP 97105-900
Universidade Federal de Santa Maria - RS - Brasil
==========================================================================
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post