Linux 配置证书登录

cd ~./ssh
ssh-keygen -t rsa -C "youremail"
//权限设置成600
chmod -R 600 id_rsa
chmod -R 600 id_rsa.unsecure
openssl rsa -in id_rsa -out id_rsa.unsecure
mv id_rsa id_rsa.key
mv id_rsa.unsecure id_rsa

未经允许不得转载:SuperMan's blog » Linux 配置证书登录

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址