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

Unix/Linux
组网不求人!搭建简易Linux局网服务器
漂亮的国产Linux操作系统Open Desktop赏析
Linux操作系统中安装和试用IE、Office等软件
Linux中巧妙安装红旗紫光输入法
在linux7.1上安装jdk+tomcat+oracle9i笔记
稳定安全高效的新一代Linux服务器产品问世
SWsoft公司推出Windows版Linux服务器软件
方便快捷—活用Linux操作系统的后台任务
Linux用户要注意修复漏洞
Linux中防御垃圾邮件的方法
解除使用Linux分区工具时给大家带来的困扰
Linux指令篇日期时间排程--date
在Fedora_Core_3上安装zhcon0.2.3
Linux指令篇档案目录管理--cat
备份mbrzt
SLES FAQ 系列 -- 配置网卡绑定
编译内核2.4.20-8custom
Linux指令篇档案目录管理--cut
Vmware gsx 2.5+linux+oracle817ops 双机安装手册
XteamLinux安装小技巧

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 48 ::
收藏到网摘: 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.