论坛风格切换切换到宽版
  • 727阅读
  • 5回复

[问题求助]问个很弱的问题,配置sshd的问题 [复制链接]

上一主题 下一主题
 
发帖
2033
C币
-280850
威望
375
贡献值
1
银元
-4
铜钱
4608
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
我最近装了Turbo Linux .ES8,通过ssh,root用户可以正常登录,但是其它的用户都被拒绝登录。手册文档里说默认情况下,是允许任务用户登录的,而我用的就是默认.的。以下是et.c/ssh/sshd_config文件的内容,请大家帮我解决这个问.题。谢谢!!!外贸

#        $OpenBSD: sshd._config,v 1.56 2002/06/20 23:37.:12 markus Exp $          婚庆

# This is the sshd server sy.stem-wi.de configuration file.  See           建材
#. sshd_confi.g(5) for more information..

#. This sshd was compiled with PATH=/usr/bin:/bin:/u.sr/sbin:/sbin<性病>

# The strategy used for options in the. default sshd_config shipped wi.th           建材
# OpenSSH is to. specify .options with their default value where    美容
# possible, but leave them commented.  U.ncom.mented options change a投资
# defa.ult value.健康

#Port 22
#Protocol 2,1
#Lis.tenAddress 0.0.0.0.
#ListenAd.dress ::(广告)

# HostK.ey for pr.otocol version 1             电子
#H.ostKey /etc/.ssh/ssh_host_key域名
# .HostKeys for. protocol version 2           鲜花
#HostKey /etc/ssh/s.sh._host_rsa_key.
#HostKey /et.c/ssh/ssh_h.ost_dsa_key.

# Lifetime and size of ephem.eral version 1 .server key电影
#KeyRege.neratio.nInterval 3600.
#ServerKey.Bits 768    外汇

# Logging
#obsoletes QuietMode .and Fascis.tLogging    外汇
#Sys.logFacility AUTH              乙肝
#LogLevel INFO

# Authentic.ation:.

#Log.inGraceTime 600.
#.PermitRootLogin yes.
#Strict.Modes yes.

#RSAAuthen.tication yes虚拟主机
#PubkeyAuthentication y.es          婚庆
#AuthorizedKeysF.ile  .      .ssh/authorized_keys.

# .rhosts authentication shou.ld not be used    美容
#.RhostsAuthentication no教育
#. Don't read the user's ~/.rhosts and ~/.shos.ts files--------------彩票
#IgnoreRh.osts yes           鲜花
# For this to work you will also need host keys in /etc/ssh/ssh_known_host..s    健康
#RhostsRSAAuthe.ntica.tion no教育
# similar .for protocol version .2              乙肝
#H.ostbased.Authentication no[成人用品]
# Change to yes if .you don't trust ~/.ssh/known_.hosts for.
#. RhostsRSAAuthentication and HostbasedAuthenticat.ion--------------彩票
#IgnoreUser.KnownHosts no          婚庆

# T.o disable tun.neled clear text passwords, change to no here!健康
#PasswordA.uthentica.tion yes--------------彩票
#PermitEmptyPassw.ords no(广告)

# Change .to no to .disable s/key passwords电影
ChallengeResponseAuth.enticat.ion no    健康

# Kerberos opt.ions          婚庆
#Kerber.osAuthen.tication no教育
#KerberosOrLoc..alPasswd yes(        游戏          )
#KerberosTicke.tClea.nup yes             汽车

#AFSToken.Passing no             电子

# Kerberos TGT Passing only works with t.he AFS kaser.ver           鲜花
#KerberosTgtPassing n.o(广告)

# GSSAPI op.tions--------------彩票
#GSSAPIAuthe.ntication no[成人用品]
#G.SSAPIKeyExchange no    美容
#GSSAPIUseSessionCred.Ca.che yes.
#GSSAPICleanupCreds. yes    外汇


# Set this. to 'yes' to enable PAM keyboard-int.eractive authentication .
# Warning: enabling this may bypass t.he .setting of 'PasswordAuthentication'.
#PAMAuthentic.ationViaKbdInt .yes[成人用品]

X11Forwardi.ng yes            杀毒
#X11Disp.layOffset 10              乙肝
#X11UseLocalhos.t yes域名
#PrintMotd yes
#PrintL.astLog yes(广告)
#KeepAlive yes
#UseLogin no
#Use.Privi.legeSeparation yes[成人用品]
#C.ompression yes           鲜花

#Ma.xStartups 10.
# no default. banner path.
#Banner /some/pat.h虚拟主机
#VerifyReverse.Mapping no--- 印刷

# overr.id.e default of no subsystems(        游戏          )
Subsystem        sftp.        /usr/lib/s.sh/sftp-server.

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

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线mirxx.
发帖
2121
C币
-152545
威望
392
贡献值
1
银元
-2
铜钱
4818
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
谢谢sway2004009的回复,我试过不用配置,但是这样的话,sftp用不了。而且不用配置文件会不会安全呢?

离线besthome.
发帖
2167
C币
-60450
威望
400
贡献值
1
银元
0
铜钱
4842
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
在/etc/xinetd.d 下配置gssftp文件,把disable=yes注销

离线xunleifilm.
发帖
2062
C币
-152450
威望
382
贡献值
1
银元
-1
铜钱
4740
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
[quote]原帖由 "xcwbest"]谢谢sway2004009的回复,我试过不用配置,但是这样的话,sftp用不了。而且不用配置文件会不会安全呢?[/quote 发表:
http://bbs.chinaunix.net/forum/viewtopic.php?t=612429&show_type=new

离线fuqi.
发帖
2052
C币
-60763
威望
381
贡献值
1
银元
-1
铜钱
4632
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
谢谢大家的回复,我试试看,一会儿回来告诉结果如何

离线tonyfuming.
发帖
2210
C币
-234851
威望
424
贡献值
1
银元
-2
铜钱
4990
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-13
[quote]原帖由 "编号1124"]在/etc/xinetd.d 下配置gssftp文件,把disable=yes注销[/quote 发表:


Turbo Linux ES8上没有/etc/xinetd.d这个目录。
我觉得不要配置文件还是不太好,请问还有没有其它方法?
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个