安装完ssh服务器,无法登录,为什么?

由 danielwfh 在 04-26-2004 17:57 发表:

安装完ssh服务器,无法登录,为什么?

安装完ssh服务器,无法登录,我知道可能要改/etc/host、/etc/hosts.allow、

/etc/hosts.deny 但不知怎么改,请问大家怎么改?

我服务器的地址是192.168.2.13

想让192.168.2.*的机子都能访问??


由 cszlf 在 04-26-2004 19:39 发表:


默认应该是可以登录的,如果你只想让192.168.2.*的机器能通过SSH登录,则

在/etc/hosts.deny中加入:

sshd:ALL EXCEPT 192.168.2.


由 protocol 在 04-27-2004 10:08 发表:


你用什么用户登陆,如果是root有可能不行。查看/etc/ssh/sshd_config配置文件里(PermitRootLogin yes).如果是这样才能使用root用户连接。以上的只限于open_ssh。


由 oldrabbit 在 04-28-2004 23:09 发表:


如果是rh,不用改,直接就可以用


I LOVE LINUX~

<h

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus