码迷,mamicode.com
首页 > 其他好文 > 详细

SSH私钥取消密码(passphrase )

时间:2015-08-12 12:57:25      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:

取消私钥中的密码:
1. 使用openssl命令去掉私钥的密码openssl rsa -in ~/.ssh/id_rsa -out ~/.ssh/id_rsa_new
2. 备份旧私钥mv ~/.ssh/id_rsa ~/.ssh/id_rsa.backup
3. 使用新私钥mv ~/.ssh/id_rsa_new ~/.ssh/id_rsa
4. 设置权限chmod 600 ~/.ssh/id_rsa

 

转自: http://ju.outofmemory.cn/entry/621

SSH私钥取消密码(passphrase )

标签:

原文地址:http://www.cnblogs.com/pinganzi/p/4723820.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!