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

Unix/Linux
简析Linux中如何改变文件或目录的访问权限
初次安装Linux系统手记
Linux上搭建C/C++IDE开发环境
独辟蹊径:实现Linux下的局域网远程接入
不同发行版Linux操作系统如何实现共存
将Linux代码移植到Windows的简单方法
Linux系统中如何实现远程控制
linux系统如何访问NTFS磁盘
简单高效:用Swatch做Linux日志分析
全球顶尖超级计算机60%用Linux系统
Linux操作系统12则经典应用技巧
RedHat Linux操作系统配置技巧
Linux的防火墙配置—基础篇
浅谈Linux文件系统反删除方法
浅谈Linux优化及安全配置
解读Linux文件权限的设置方法
保护Linux下的Apache网站
如何在Linux下压缩文件
Linux爱好者入门教程
RedHat源码升级-(OpenSSL + OpenSSH)

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


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