SUSE Enterprise Linux Server 11关于sshd不能登录的问题

 SUSE Enterprise Linux Server 11默认不支持密码方式验证,所以要做如下修改:

vi  /etc/ssh/sshd_config

把PasswordAuthentication no改成PasswordAuthentication yes

然后重启sshd服务

有两种方法重启sshd服务

1>service  sshd  restart

2>rcsshd  restart

 

 

注:SELS与rhel服务重启的方法有所不同如重启httpd服务使用如下命令:

rcapache2  restart|start|stop

rcmysql  restart|start|stop

rcnetwork  restart|start|stop

你可能感兴趣的:(linux,ssh,service,密码,休闲)