Portál AbcLinuxu, 1. května 2025 03:26
[root@XXX ~]# ssh -l frantisek_hnipirdo XXX frantisek_hnipirdo@XXX's password: Creating directory '/home/frantisek_hnipirdo'. Last login: Thu May 29 16:10:57 2008 from XXX.XX.XX /usr/bin/xauth: creating new authority file /home/frantisek_hnipirdo/.Xauthority [frantisek_hnipirdo@XXX ~]$ klist -f Ticket cache: FILE:/tmp/krb5cc_10001_VDrwmE Default principal: frantisek_hnipirdo@XX.XX Valid starting Expires Service principal 05/29/08 16:24:50 05/30/08 02:24:50 krbtgt/XX.XX@XX.XX renew until 05/30/08 02:24:50, Flags: FRI Kerberos 4 ticket cache: /tmp/tkt10001 klist: You have no tickets cached [frantisek_hnipirdo@XXX ~]$ ssh -v XXX OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to labcentos [10.1.1.10] port 22. debug1: Connection established. debug1: identity file /home/frantisek_hnipirdo/.ssh/identity type -1 debug1: identity file /home/frantisek_hnipirdo/.ssh/id_rsa type -1 debug1: identity file /home/frantisek_hnipirdo/.ssh/id_dsa type -1 debug1: loaded 3 keys debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3 debug1: match: OpenSSH_4.3 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.3 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY Warning: Permanently added 'XXX,10.1.1.10' (RSA) to the list of known hosts. debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,gssapi-with-mic,password debug1: Next authentication method: gssapi-with-mic debug1: Unspecified GSS failure. Minor code may provide more information Server not found in Kerberos database debug1: Unspecified GSS failure. Minor code may provide more information Server not found in Kerberos database debug1: Unspecified GSS failure. Minor code may provide more information Server not found in Kerberos database debug1: Next authentication method: publickey debug1: Trying private key: /home/frantisek_hnipirdo/.ssh/identity debug1: Trying private key: /home/frantisek_hnipirdo/.ssh/id_rsa debug1: Trying private key: /home/frantisek_hnipirdo/.ssh/id_dsa debug1: Next authentication method: password frantisek_hnipirdo@XXX's password:
debug1: Unspecified GSS failure. Minor code may provide more information
Server not found in Kerberos database
máte pro server založený pricipal?
Máte na serveru keytab?
Připojujete se k serveru se jménem stejným jako zní principal?
příklad:
matlas@stanice $ ssh mujserver.domena.cz
v tomto případě je principal serveru host/mujserver.domena.cz@NEJAKY.REALM
pokud se chcete připojit k serveru
pouze ssh mujserver musíte mít zajištěno, že mujserver se převede na FQDN.
jinak se snažíte získat service ticket pro principal host/mujserver@NEJAKY.REALM
a to je špatně.
Podívejte se do logu KDC. tam uvidíte jaký principal se snažíte kontaktovat.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.