ESXi Vcenter Converter复刻失败问题 报错信息为Network error. Host x.x.x.x key can‘t be retrieved

报错信息为 Network error. Host x.x.x.x key can’t be retrieved

最后解决的方式是:

  1. VMware ESXi设置SSH出站端口,
  2. Vcenter Converter复刻时手动设置HelperVM的静态IP.

以下是当时百度的部分解决办法:
方法一:
In my case, this happened while converting a RHEL 5.11 server with VMware Converter 6.1.1.

If you went through the following :

– SSH configuration is allowing root to access the system remotely from port 22
(允许用户以root账号通过22端口远程登录)
– IPtables allow connection on port 22
(防火墙放行22端口)
– You are running Converter version 5.5.1 or greater (there is a known issue with older version that aren’t supporting DSA keys)
(运行的Converter版本高于5.5.1)

Then it might be caused by the “hosts.allow” parameter. Edit the following file (可能是因为"hosts.allow"的参数,编辑此文件):

ConfigurationShell
/etc/hosts.allow

And make sure you have the following entered (usually this file is blank on vanilla systems) (然后添加放行配置):

Configuration (/etc/hosts.allow)Shell
ALL:ALL //放行全部

Alternatively, you can restrict the subnet from where the connection come from by entering the following (this example will allow subnet “10.10.5.0/24)
(或者添加部分放行)

Configuration (/etc/hosts.allow)Shell
ALL:LOCAL,10.10.5.

Restart the network service (从起network服务):

CommandShell
service network restart

引用自:
https://www.itechlounge.net/2016/11/vmware-converter-return-general-system-error-occurred-network-error-key-cant-be-retrieved/

方法二:
那你的 Linux 可以支援 SSH v2 嗎?
如果只開了 SSH v1 也是不會過…

此外, 不只你的 vConverter 要能夠 ssh 進去, 也要能夠從你的 Destination VM ssh 進去才可以.

例如:
Source Linux: IP-A
vConverter: IP-B
Destination VM: IP-C

你的 IP-A 必須能夠讓 IP-B 和 IP-C 都可以用 root 身分 SSH 進去才行.

還有, 全部選項都填 IP, 不要填 DNS/FQDN 名稱, 以免有解析錯誤的問題.

引用自:
https://ithelp.ithome.com.tw/questions/10189954

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值