1、
错误:构建依赖失败:
openssl-devel < 1.1 被 openssh-7.8p1-1.el7.centos.x86_64 需要
解决方法:
注释掉BuildRequires: openssl-devel < 1.1 这一行,大多数都是第113行
2、
/root/rpmbuild/BUILDROOT/openssh-7.7p1-1.el7.centos.x86_64/usr/sbin/sshd -t -f /root/rpmbuild/BUILDROOT/openssh-7.7p1-1.el7.centos.x86_64/etc/ssh/sshd_config
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0640 for '/etc/ssh/ssh_host_rsa_key' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
key_load_private: bad permissions
Could not load host key: /etc/ssh/ssh_host_rsa_key