ssh Kerberos “Permissão negada (gssapi-com-mic)” mas somente às vezes

0

Estou tentando ssh em um servidor remoto que usa o Kerberos para autenticação (embora não tenha certeza de que seja relevante). A execução de ssh -vvv hostname gera o seguinte:

debug1: Host 'hostname' is known and matches the RSA host key.
debug1: Found key in /home/foouser/.ssh/known_hosts:28
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/foouser/.ssh/id_rsa (0x7f598474f270),
debug2: key: /home/foouser/.ssh/id_dsa (0x7f598474f310),
debug2: key: /home/foouser/.ssh/id_ecdsa ((nil)),
debug2: key: /home/foouser/.ssh/id_ed25519 ((nil)),
debug1: Authentications that can continue: gssapi-with-mic
debug3: start over, passed a different list gssapi-with-mic
debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup gssapi-with-mic
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_is_enabled gssapi-with-mic
debug1: Next authentication method: gssapi-with-mic
debug2: we sent a gssapi-with-mic packet, wait for reply
debug1: Delegating credentials
debug1: Authentications that can continue: gssapi-with-mic
debug2: we sent a gssapi-with-mic packet, wait for reply
debug1: Authentications that can continue: gssapi-with-mic
debug2: we sent a gssapi-with-mic packet, wait for reply
debug1: Authentications that can continue: gssapi-with-mic
debug2: we sent a gssapi-with-mic packet, wait for reply
debug1: Authentications that can continue: gssapi-with-mic
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (gssapi-with-mic).

Surpreendentemente, esse erro ocorre cerca de 9/10 vezes, com cada tentativa de 1/10 de se conectar ao sucesso.

As permissões no meu diretório .ssh/ foram definidas para 700.

Alguma ideia de como resolver esse erro ou por que isso acontece apenas às vezes?

    
por tanderson 30.06.2016 / 21:30

0 respostas

Tags