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

Unix/Linux
Linux 指令篇:文档编辑--jed
Linux 指令篇:文档编辑--joe
Linux 指令篇:文档编辑--join
Linux 指令篇:文档编辑--look
Linux 指令篇:文档编辑--mtype
Linux 指令篇:文档编辑--pico
Linux 指令篇:文档编辑--rgrep
Linux 指令篇:文档编辑--sed
Linux 指令篇:文档编辑--sort
Linux 指令篇:文档编辑--spell
Linux 指令篇:文档编辑--uniq
Linux 指令篇:文档编辑--wc
Linux 指令篇:磁盘管理--du
Linux 指令篇:磁盘管理--dirs
Linux 指令篇:磁盘管理--edquota
Linux 指令篇:磁盘管理--eject
Linux 指令篇:磁盘管理--lndir
Linux 指令篇:磁盘管理--mdu
Linux 指令篇:磁盘管理--mmount
Linux 指令篇:磁盘管理--mrd

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


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