报错信息为 Network error. Host x.x.x.x key can’t be retrieved
最后解决的方式是:
- VMware ESXi设置SSH出站端口,
- 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