Chinaunix首页 | 论坛 | 博客
  • 博客访问: 100735
  • 博文数量: 6
  • 博客积分: 2030
  • 博客等级: 大尉
  • 技术积分: 290
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-12 11:49
文章分类

全部博文(6)

文章存档

2009年(1)

2008年(5)

我的朋友

分类: LINUX

2008-04-29 15:43:31

Debian
SecurCRT 6.0
Putty 6.0
 
secureCRT  通过ssh 登陆linux 主机,通过tools-》 Creat pubkey 按照默认方式产生私钥(DSA) 并存储为 open SSH格式。
 
Putty keygen 将SecurCRT 生成的私钥进行格式转换,并保存转换后私钥和公钥。
 
上传secrcrt 和putty 的公钥到用户#.ssh/ 中
cat securCRT 公钥 > authorzied.keys
cat putty 公钥 >> authorized.keys
vim /etc/ssh/sshd-config
修改
PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM no
 
重启SSH
#/etc/init.d/ssh retart
 
OK 
先在就可以使PUTTY 和SECUCRT 同时使用私钥登陆。
 
阅读(1450) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~