Centos7配置:
vi /etc/ssh/sshd_config
windows生成密钥对后,配置公钥至Centos7
vi ~/.ssh/authorized_keys #添加公钥
systemctl restart sshd
Centos7配置:
vi /etc/ssh/sshd_config
windows生成密钥对后,配置公钥至Centos7
vi ~/.ssh/authorized_keys #添加公钥
systemctl restart sshd