从openssh7.0开始,ssh-dss密钥被默认禁用。
# vim /etc/sshd/sshd_config添加以下选项PubkeyAcceptedKeyTypes=+ssh-dss
# systemctl restart sshd # service sshd restart