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

Unix/Linux
Fedora Core 3 使用 YUM 安裝 Mono
Linux网络安全之经验谈2
解决在编译过程中需要链接静态库的问题
LINUX网络安全文献
RHEL AS3U3 "vsftpd dead but subsys locked" problem
系统入侵
Linux上如何阻止系统攻击者
中软Linux邮件系统解决方案
Linux安装要点
XteamLinux系统简介
Linux操作系统分析
红旗RS-Linux安全系统简介
linux系统上的网络应用
Linux下的3个windows仿真器评测(下)
Linux的7件武器(下)
在KDE的菜单&桌面上为某应用程序创建自定义图标的快捷方式?
最基本RedHat7.3汉化步骤
RedHatLinux网络服务器构架实务(三)
RedHatLinux网络服务器构架实务(二)
RedHatLinux网络服务器构架实务(一)

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


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