AppSync:重新启动 AppSync 服务器服务时,主机重新发现失败
Summary: 自 2001 年以来,Authorized_keys2 已被弃用,并且不支持与 AppSync 配合使用。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
重新启动 AppSync 服务器服务或重新启动 AppSync 服务器后,AppSync 中的 Unix 主机重新发现可能会失败。
服务重新启动/重新启动后,服务器日志中显示以下错误:
01-16-2018 04:24:18.365 INFO [default task-23] [com.emc.archway.service.unixservice.UnixServiceBean] [<APPSYNC_SERVER] [] Beginning task for getSettings operation <on UNIX_HOST> task=bfb1beb4-74ec-4ecb-8557-4010ace7c33c
01-16-2018 04:24:18.397 INFO [default task-23] [com.emc.archway.service.sshservice.SecureShellSessionManager] [<APPSYNC_SERVER>] [] Loaded SSH certificate from secure store: ssh-dss<
SSH certificate string>
>01-16-2018 04:24:18.865 ERROR [default task-23] [com.emc.archway.service.sshservice.SecureShellSession] [<APPSYNC_SERVER>] [] Error while Connecting to host:<UNIX_HOST>:身份验证失败
Cause
用户已指定“authorized_keys2”作为存储密钥文件的位置。
这可以通过检查主机上的 sshd 配置文件来验证。
密钥文件用于 AppSync 服务器和代理程序之间的身份验证。但是,AppSync 在设计时会使用 authorized_keys 文件。
自 2001 年以来,Authorized_keys2 已被弃用。
https://www.openssh.com/txt/release-3.0 代理软件的初始推送成功,后续重新发现也会成功。
在重新启动后发现失败,因为服务器与代理之间的会话被丢弃。当 AppSync 服务器随后尝试在新会话上向代理主机进行身份验证时,它无法在默认位置找到authorized_keys文件,因此发现失败。
这可以通过检查主机上的 sshd 配置文件来验证。
密钥文件用于 AppSync 服务器和代理程序之间的身份验证。但是,AppSync 在设计时会使用 authorized_keys 文件。
自 2001 年以来,Authorized_keys2 已被弃用。
https://www.openssh.com/txt/release-3.0 代理软件的初始推送成功,后续重新发现也会成功。
在重新启动后发现失败,因为服务器与代理之间的会话被丢弃。当 AppSync 服务器随后尝试在新会话上向代理主机进行身份验证时,它无法在默认位置找到authorized_keys文件,因此发现失败。
Resolution
此问题有三种可能的解决方案。
这是建议的解决方案,因为authorized_keys2已弃用。
- 使用 authorized_keys 而不是 authorized_keys2。
这是建议的解决方案,因为authorized_keys2已弃用。
- 将authorized_keys的内容复制到authorized_keys2文件。
- 将插件程序软件重新推送到主机。
Affected Products
AppSyncProducts
AppSyncArticle Properties
Article Number: 000064576
Article Type: Solution
Last Modified: 18 Sept 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.