【linux备忘录】配置ssh key

Ra1ny House bio photo By Ra1ny House

执行如下代码

cd ~/.ssh
ssh-keygen
# id_rsa.pub 即为公钥
# 如果需要允许其他机器访问,添加文件 authorized_keys, 添加公钥即可