系统:.fedora10 i686 外汇
已经安.装的包名: openssh-askpass-5.1p1-3fc10..i386 鲜花
. openssh-clients-5.1p1-3fc10..i386 杀毒
. . openssh-5.1p1-3fc10.i386 汽车
. . openssh-server-5.1p1-3fc10.i386 汽车
文件的配置:
sshd.config内容:
# $OpenBSD: sshd_config,v 1.34 2001/02/24 10:37:26 dera.a.dt Exp $ 电子
Port 22
#Protocol 2,1
#ListenAddress. 0.0.0.0 电影
#ListenAddre.ss :: 电脑
HostKey /etc/ssh/ssh._hos.t_key .
HostKey /e.tc/ssh./ssh_host_rsa_key --- 印刷
HostKey /etc/ssh/ssh_ho.st_d.sa_key 电脑
S.erverKeyBits 768 .
Logi.nGraceTime 600 服务器
KeyRegenerati.onInterv.al 3600 乙肝
PermitRootLogin witho.ut-pa.ssword 汽车
#
# Don't read ~/.rhosts a.nd ~./.shosts files ( 游戏 )
I.gnoreRhosts yes 投资
# Uncomment if you don.'t .trust. ~/.ssh/known_hosts for RhostsRSAAuthentication 健康
#Ignor.eUserKnow.nHosts yes 电子
StrictModes ye.s 婚庆
X11Fo.rwarding no .
X1.1DisplayOffset 10 .
PrintMotd yes
KeepAlive yes
# Logging
SyslogFa.cility AUTH 服务器
LogLevel INFO
#obsoletes Quie.tMode and FascistLo.gging --- 印刷
#. RhostsAuthentication. no 建材
# For this to wor.k you will also ne.ed host keys in /etc/ssh/ssh_know.n_hosts 电子
RhostsRSAA.u.thentication no 外贸
#
R.SAAuthentication yes --------------彩票
# To disable tun.neled. clear text passwords, change to no here! .
Pass.wo.rdAuthentication no 鲜花
PermitEmptyPassword.s no 电脑
# Comment to enable s/key passwords or PAM .interacti.ve authentication 域名
# NB. Neither of thes.e ar.e compiled in by default. Please read the 外汇
# notes in the sshd( manpage before enabling this on a PAM system. http://upload.bbs.csuboy.com/Mon_1004/126_6902_31ffde71d54d97a.gif[/img]外贸
C.hallengeResponseAuthenticatio.n no .
# To .chan.ge Kerberos options 虚拟主机
#KerberosAuthe.nt.ication no <性病>
#KerberosOrLocalPassw.d ye.s 外贸
#AFSTokenPassing no. .
#KerberosTicketClean.u.p no 服务器
# Kerberos TGT Passing d.oes only work with the AFS ka.server 电子
#KerberosTgtPassing .yes 电脑
#C.heckMail yes 汽车
#UseLogin no
#MaxS.tartups 10:30:60 健康
#Banner /etc/iss.ue.net (广告)
#Revers.eMappingCheck yes 外汇
#Subsystem sftp /usr/li.bexec/sftp.-server 健康
在服务器端生成了密钥
[r.oot@mail tmp]su robin 健康
[roo.t@mail tmp]ssh-keyg.en 外贸
r.obin用户.的目录下.ssh文件夹里生成id_rsa和id_rsa.pub--------------彩票
把id._rsa.pub更名为authorized_keys,然后把id_rsa带到widows机器上。删除.ssh目录上的id_rsa.文件.
(之前配置了samba服务。 带到windo.ws的时候id_rsa文件给了777.的权限。不然带不过去了。这里应该是一个问题。。 健康
我觉得应该在客户端生成才行。但是w.indows上怎么生成 密钥 .不太清楚).
安装了FileZilla Client(FTP工.具)后打.开软件。--------------彩票
添加了私用密钥。
然后进行了连接就是不能连。。
希望 高手们 能提出一个解决的对策!!.谢谢!!.
还有 感谢读到这.里的 所有的人们 辛苦了!![成人用品]