一、生成公钥
ssh-keygen -t ed25519 -C "[email protected]"
#输入相关信息一直回车
二、用ssh-copy-id将公钥复制到远程机器中
ssh-copy-id -i id_rsa.pub [email protected]
一、生成公钥
ssh-keygen -t ed25519 -C "[email protected]"
#输入相关信息一直回车
二、用ssh-copy-id将公钥复制到远程机器中
ssh-copy-id -i id_rsa.pub [email protected]