当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > windows box和openssh连接的问题

Unix/Linux
LINUX下简单命令
初装ubuntu
Redhat AS 3的LANG的设置
Debian版本小知识
2003服务器,安装了IIS6架设网站问题
前几天最严重的一次错误,导致重装
[vsftpd] 只能上传不能下载
修改了usb_linux的do_mount.c的代码
Fedora Core3上ClamAntiVirus的安装
关于我们的BEIYU
html跳转语句
adobe reader for linux 7
中国黑客精英浮出江湖
Linux必学的系统安全命令
发现很多论坛存在注册ID的BUG
了解Linux的时钟
text
Linux下挂载windows硬盘
致像我一样的Linux初学者
现在开始学习openBSD了

Unix/Linux 中的 windows box和openssh连接的问题


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 70 ::
收藏到网摘: n/a


需要注意不同软件产生的密钥对格式可能不一致,需要转换!
here is everything as I did it againas root cd into /home/userthen try this to create the key and add itssh-keygen -t rsa -b 2048 -f /home/user/Keyif [ ! -d .ssh ]; then mkdir .ssh ; chmod 700 .ssh ; fimv Key.pub .ssh/cd .ssh/if [ ! -f authorized_keys ]; then touch authorized_keys ; chmod 600 authorized_keys ; ficat Key.pub >> authorized_keysrm –rf Key.pubcd ../now copy your Key file to the windows box.import it into puttygen and save as a private key (I am in using putty to connect, in puttygen under conversions it says that you can convert it into an ssh.com key but I can't confirm it works).then try to auth with the private key.