linux 设置远程免密登陆

生成公钥

ssh-keygen -t rsa -P ''

拷贝公钥到目标主机

ssh-copy-id username@remote_host
posted @ 2023-11-22 15:33  巴蜀秀才  阅读(6)  评论(0编辑  收藏  举报