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

Unix/Linux
终端下vim汉字显示不正常的解决办法
解决Linux系统下终端setup显示乱码
Linux系统下以模块方式安装卸载文件系统
Linux系统下Tar文件安装方法
Windows下远程图形化控制Linux
如何在linux下使用u盘
Linux系统中自带Mysql、Apache、Php卸载
LINUX 常见问题1000个详细解答
linux软件安装
linux忘记密码的常用几种解决方法
LIUNX文本模式乱码
LINUX修改计算机名
用Windows管理Linux
LINUX做禁ping
vi编辑器使用图解 很详细
Linux操作系统桌面环境GNOME和KDE的切换
LINUX开机如何进入文本模式
Linux操作系统下6个应急处理小常识
解决Linux操作系统下 SSH终端乱码
linux平台开启ftp/telnet服务

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


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