ssh使用总结

时间:2020-06-25 19:51:09   收藏:0   阅读:45
yum -y install openssh openssh-server openssh-clients

sshd服务

ssh user@ip
ssh -p port user@ip

服务器ssh-keygen生成id_rsa和id_rsa.pub

client的.ssh/authorized_key中保存id_rsa.pub内容即可免密登录

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!