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

Unix/Linux
在Linux操作系统上运行Windows应用程序
RedHat AS 3.0下高可用性集群配置
一个NAT+SQUID+DNAT+FORWARD+反弹式FIREWALL的例子
安装显卡好简单
硬盘安装 RedHat9 心得
linux忘记了密码怎么办(lilo/grub)
vmware 配置实例-linux host + windows guest + fire
Linux下Makefile的automake生成全攻略
Linux中流媒体Helix Server的安装和配置
利用shell编程实现DOS风格的Linux命令行
设置一个高容量的Linux POP3服务器
如何在Linux环境模拟DOS命令
Linux系统文件命令精通指南(下)
如何提高Linux操作系统速度
Linux系统文件命令精通指南(上)
GCC精彩之旅
分布式拒绝服务攻击(tfn2k)攻击及iptables过滤测试
Iptables来限制上QQ
Linux下IpTables的配置
无法进入图形界面的解决过程

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


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