AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 830851
Accepted
Chris Watts
Chris Watts
Asked: 2017-02-07 05:26:47 +0800 CST2017-02-07 05:26:47 +0800 CST 2017-02-07 05:26:47 +0800 CST

间歇性 Kerberos 失败:GSSAPI 身份验证初始化失败

  • 772

当使用MIT Kerberos Ticket Manager和PuTTY 0.65 和WinSCP 5.9.3 时,我有时无法连接到我正在登录的服务器。PuTTY 将使用No supported authentication methods available (server sent: )或No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)

如果我在记住首先获得票之前尝试连接到服务器,这似乎最常发生。拿到票后,我每次尝试都会遇到同样的错误。它有时会在大约一个小时后自行解决。

与身份验证服务器和我尝试连接的服务器的连接通过 VPN 运行。

使用Cygwin +时我没有遇到任何问题kinit。

这是我的日志:

. 2017-01-28 14:04:38.979 Server offered these authentication methods: publickey,gssapi-keyex,gssapi-with-mic
. 2017-01-28 14:04:38.980 Using SSPI from SECUR32.DLL
. 2017-01-28 14:04:38.980 Attempting GSSAPI authentication
. 2017-01-28 14:04:39.008 GSSAPI authentication initialisation failed
. 2017-01-28 14:04:39.008 No authority could be contacted for authentication.The domain name of the authenticating party could be wrong, the domain could be unreachable, or there might have been a trust relationship failure.
. 2017-01-28 14:04:39.008 Disconnected: No supported authentication methods available (server sent: )
* 2017-01-28 14:04:39.060 (EFatal) Disconnected: No supported authentication methods available (server sent: )
domain-name-system ssh kerberos gssapi
  • 1 1 个回答
  • 1415 Views

1 个回答

  • Voted
  1. Best Answer
    Slipeer
    2017-02-07T06:19:13+08:002017-02-07T06:19:13+08:00

    当问题重现运行时检查您的 DNS 设置 ipconfig /all。在 DNS 服务器中不应该有任何人不知道您的服务器所在的域。

    您可以通过为每个 DNS 服务器 ip 运行来检查这一点:

    nslookup -type=srv _kerberos._tcp.<your server REALM> <DNS server ip>
    

    如果查询未返回某些服务器的任何条目 - 尝试从您的设置中删除此服务器,清理 DNS 缓存 ( ipconfig /flushdns) 并重试连接。

    使用 Cygwin + kinit 时我没有遇到任何问题。

    我相信Cygwin使用自己的 DNS 配置,/etc/resole.conf所以对他来说问题没有发挥。

    • 2

相关问题

  • Solaris DNS

  • resolv.conf 在经过一段时间后被更改

  • 为什么有些网站的网址中没有“www”就无法显示?[关闭]

  • 为本地网络中的名称解析添加自定义 dns 条目

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve