免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3379 | 回复: 5
打印 上一主题 下一主题

rsa认证生成密钥无效 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-17 17:14 |只看该作者 |正序浏览
用如下命令,结果 却没有 /home/oracle/.ssh/id_rsa这个文件, 但是用dsa可以
[oracle@~/kamus/rsa-dsa]$ ssh-kengen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/oracle/.ssh/id_rsa): liuqf_rsa
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in liuqf_rsa.
Your public key has been saved in liuqf_rsa.pub.
The key fingerprint is:
da:9b:cc:68:8c:ff:75:cb:20:f1:11:18:2d:3d:22:ef oracle@ora10g
[oracle@~/kamus/rsa-dsa]$ ls -l /home/oracle/.ssh/id_rsa
ls: /home/oracle/.ssh/id_rsa: No such file or directory

论坛徽章:
34
亥猪
日期:2015-03-20 13:55:11戌狗
日期:2015-03-20 13:57:01酉鸡
日期:2015-03-20 14:03:56未羊
日期:2015-03-20 14:18:30子鼠
日期:2015-03-20 14:20:14丑牛
日期:2015-03-20 14:20:31辰龙
日期:2015-03-20 14:35:34巳蛇
日期:2015-03-20 14:35:56操作系统版块每日发帖之星
日期:2015-11-06 06:20:00操作系统版块每日发帖之星
日期:2015-11-08 06:20:00操作系统版块每日发帖之星
日期:2015-11-19 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13
6 [报告]
发表于 2009-04-18 17:37 |只看该作者
pwd;ls -R

论坛徽章:
0
5 [报告]
发表于 2009-04-18 14:00 |只看该作者
你直接enter就可以了

论坛徽章:
0
4 [报告]
发表于 2009-04-18 08:34 |只看该作者

回复 #3 lottery009 的帖子

Enter file in which to save the key (/home/oracle/.ssh/id_rsa): liuqf_rsa


你修改了默认名

论坛徽章:
0
3 [报告]
发表于 2009-04-17 17:56 |只看该作者
不是很明白,能否详细点?
但是如果我用 ssh-kengen -t dsa
是会生成 /home/oracle/.ssh/id_dsa 文件的

论坛徽章:
0
2 [报告]
发表于 2009-04-17 17:26 |只看该作者
Enter file in which to save the key (/home/oracle/.ssh/id_rsa): liuqf_rsa

你都已经把它改成这个名了 id_rsa当然没了
  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP