论坛风格切换切换到宽版
  • 926阅读
  • 2回复

[问题求助]求救!!SFTP架设问题! [复制链接]

上一主题 下一主题
离线aqxsj.
 
发帖
2138
C币
-152161
威望
419
贡献值
1
银元
0
铜钱
4863
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
系统:.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工.具)后打.开软件。--------------彩票
添加了私用密钥。
然后进行了连接就是不能连。。

希望 高手们 能提出一个解决的对策!!.谢谢!!.
还有 感谢读到这.里的 所有的人们 辛苦了!![成人用品]

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
发帖
2047
C币
-235380
威望
387
贡献值
1
银元
-2
铜钱
4713
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13

是不是用错了?
ssh密钥管理.rar (943.49 KB) 下载次数:157
2009-04-29 16:37

离线fuqi.
发帖
2052
C币
-60763
威望
381
贡献值
1
银元
-1
铜钱
4632
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
竟然有人回帖, 而且给我做了详细的教程。太感动了!!
太谢谢了。

可是最后一步, 还是出来了 Server refused our key和
Disconnected: No supported authentication methods available。
这个问题我得多多琢磨。
真的太谢谢了!! O(∩_∩)O
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个