更改主机名后卫星无法连接到主机

问题描述 投票:0回答:1

我正在运行 RedHat Satellite 6.12 服务器。我有一个在 VMware 中托管的虚拟机。配置后,我使用

hostnamectl set-hostname
更改计算机的主机名,并在 Satellite 中将
name
更改为更新后的主机名。卫星无法再与主机建立连接。错误是:
Error initializing command: RuntimeError - Failed to establish connection to remote host, exit code: 255
。这很可能与工头有关。

我已经更新了

/etc/hosts
,我可以从卫星服务器的 CLI 中 ping 和 dns 解析虚拟机。我需要重新启动哪些服务或刷新才能在 UI 中看到此更改?

redhat connectivity foreman
1个回答
0
投票

此后不久我在 RedHat 网站上找到了答案。我的

foreman-proxy
公钥在终端主机上以某种方式损坏了。我必须根据以下方式为工头代理执行
ssh-copy-id

[root@sat]# ssh-copy-id -i ~foreman-proxy/.ssh/id_rsa_foreman_proxy.pub [email protected]
答案来自:https://access.redhat.com/solutions/7012983

© www.soinside.com 2019 - 2024. All rights reserved.