1. ssh 启动失败
# /etc/init.d/ssh restart
sshd: ../sysdeps/posix/getaddrinfo.c:2603: getaddrinfo: Assertion `IN6_IS_ADDR_V4MAPPED (sin6->sin6_addr.s6_addr32)' failed.
Aborted (core dumped)
2. 解决ssh启动失败
网络连接关闭IPV6
# vim sshd_config
## ListenAddress 0.0.0.0
ListenAddress 0.0.0.0
## PasswordAuthentication no
PasswordAuthentication yes
# /etc/init.d/ssh restart