免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1185 | 回复: 6
打印 上一主题 下一主题

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

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-22 20:00 |只看该作者 |倒序浏览
我最近装了Turbo Linux ES8,通过ssh,root用户可以正常登录,但是其它的用户都被拒绝登录。手册文档里说默认情况下,是允许任务用户登录的,而我用的就是默认的。以下是etc/ssh/sshd_config文件的内容,请大家帮我解决这个问题。谢谢!!!

#        $OpenBSD: sshd_config,v 1.56 2002/06/20 23:37:12 markus Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

#Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 3600
#ServerKeyBits 768

# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 600
#PermitRootLogin yes
#StrictModes yes

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile        .ssh/authorized_keys

# rhosts authentication should not be used
#RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
ChallengeResponseAuthentication no

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

#AFSTokenPassing no

# Kerberos TGT Passing only works with the AFS kaserver
#KerberosTgtPassing no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPIKeyExchange no
#GSSAPIUseSessionCredCache yes
#GSSAPICleanupCreds yes


# Set this to 'yes' to enable PAM keyboard-interactive authentication
# Warning: enabling this may bypass the setting of 'PasswordAuthentication'
#PAMAuthenticationViaKbdInt yes

X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#Compression yes

#MaxStartups 10
# no default banner path
#Banner /some/path
#VerifyReverseMapping no

# override default of no subsystems
Subsystem        sftp        /usr/lib/ssh/sftp-server

论坛徽章:
0
2 [报告]
发表于 2005-09-22 20:55 |只看该作者

问个很弱的问题,配置sshd的问题

不用配置都可以的。
^_^。
直接start看看。

论坛徽章:
0
3 [报告]
发表于 2005-09-23 08:51 |只看该作者

问个很弱的问题,配置sshd的问题

谢谢sway2004009的回复,我试过不用配置,但是这样的话,sftp用不了。而且不用配置文件会不会安全呢?

论坛徽章:
0
4 [报告]
发表于 2005-09-23 09:02 |只看该作者

问个很弱的问题,配置sshd的问题

在/etc/xinetd.d 下配置gssftp文件,把disable=yes注销

论坛徽章:
0
5 [报告]
发表于 2005-09-23 09:39 |只看该作者

问个很弱的问题,配置sshd的问题

[quote]原帖由 "xcwbest"]谢谢sway2004009的回复,我试过不用配置,但是这样的话,sftp用不了。而且不用配置文件会不会安全呢?[/quote 发表:
http://bbs.chinaunix.net/forum/viewtopic.php?t=612429&show_type=new

论坛徽章:
0
6 [报告]
发表于 2005-09-23 12:20 |只看该作者

问个很弱的问题,配置sshd的问题

谢谢大家的回复,我试试看,一会儿回来告诉结果如何

论坛徽章:
0
7 [报告]
发表于 2005-09-23 13:07 |只看该作者

问个很弱的问题,配置sshd的问题

[quote]原帖由 "编号1124"]在/etc/xinetd.d 下配置gssftp文件,把disable=yes注销[/quote 发表:


Turbo Linux ES8上没有/etc/xinetd.d这个目录。
我觉得不要配置文件还是不太好,请问还有没有其它方法?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP