生成密钥:
ssh-keygen
分发密钥:
cd .ssh/
ssh-copy-id -i id_rsa.pub [email protected]
测试:
ssh [email protected]
更多用法:
man ssh-copy-id
man ssh-keygen
时间: 2024-10-10 09:34:24
生成密钥:
ssh-keygen
分发密钥:
cd .ssh/
ssh-copy-id -i id_rsa.pub [email protected]
测试:
ssh [email protected]
更多用法:
man ssh-copy-id
man ssh-keygen