VMware:发生转换器返回一般系统错误:网络错误。密钥无法检索。

时间:2020-02-23 14:45:12  来源:igfitidea点击:

尝试使用VMware Converter转换实时CentOS/RHEL Linux系统时遇到以下错误?

FAILED: A general system error occurred:
Network error. Host x.x.x.x key can't be retrieved. (return code 2)

就我而言,这是在使用VMware Converter 6.1.1转换RHEL 5.11服务器时发生的。

如果您经历以下情况:

SSH configuration is allowing root to access the system remotely from port 22
 IPtables allow connection on port 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)

这可能是由" hosts.allow"参数引起的。
编辑以下文件:

/etc/hosts.allow

并确保您输入以下内容(通常在香草系统上此文件为空白):

ALL:ALL

或者,您可以通过输入以下命令限制连接的子网(此示例将允许子网" 10.10.5.0/24"):

ALL:LOCAL,10.10.5.

重新启动网络服务:

service network restart