ssh普通用户登录问题?

由 Snoopy 在 10-05-2003 13:30 发表:

ssh普通用户登录问题?

ssh我想让普通用户也能登录,

ssh_config是这样的,

$OpenBSD: ssh_config,v 1.16 2002/07/03 14:21:05 markus Exp $

This is the ssh client system-wide configuration file. See

ssh_config(5) for more information. This file provides defaults for

users, and the values can be changed in per-user configuration files

or on the command line.

Configuration data is parsed as follows:

1. command line options

2. user-specific file

3. system-wide file

Any configuration value is only changed the first time it is set.

Thus, host-specific definitions should be at the beginning of the

configuration file, and defaults at the end.

Site-wide defaults for various options

Host *

ForwardAgent no

ForwardX11 no

RhostsAuthentication no

RhostsRSAAuthentication no

RSAAuthentication yes

PasswordAuthentication yes

HostbasedAuthentication no

BatchMode no

CheckHostIP yes

StrictHostKeyChecking ask

IdentityFile ~/.ssh/identity

IdentityFile ~/.ssh/id_rsa

IdentityFile ~/.ssh/id_dsa

Port 22

Protocol 2,1

Cipher 3des

Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc

EscapeChar ~

PermitRootLogin no /这句是我自己加上去的/

Host *

ForwardX11 yes

但出现了这样,,,,,怎办啊??

/etc/ssh/ssh_config: line 38: Bad configuration option: PermitRootLogin

/etc/ssh/ssh_config: terminating, 1 bad configuration options


由 空心菜 在 10-06-2003 22:34 发表:


我的默认就可以啊


雪中兜售空心菜

只为过个快乐年


由 空心菜 在 10-07-2003 07:46 发表:


你加的那句有问题吧

还有

host *是有空格的

或者你把加的那句放在

host * 下面试试


雪中兜售空心菜

只为过个快乐年


由 Glue 在 10-07-2003 12:39 发表:


你是要改sshd_config

不是 ssh_config


-_-


由 raullpq 在 10-07-2003 14:45 发表:


默认就是支持普通用户登陆但不允许root用户登陆的!


一个默默无闻的SA [ I like Linux ]

准备开始加入Gentoo一族~拉拉~~


由 空心菜 在 10-07-2003 17:01 发表:


但登陆后就是root帐号


雪中兜售空心菜

只为过个快乐年


由 jxwaxqb 在 10-07-2003 21:38 发表:


默认就支持root和普通用户ssh登陆.


我爱Cisco,我更爱Linux。


由 Snoopy 在 10-20-

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