- 主题:找不到ssh-1.2.33的sshd_config啊
自带的配置文件就是sshd_config。把这个文件复制到 $(BBSHOME)/etc 目录中
Port 22
ListenAddress 0.0.0.0
HostKey ~bbs/etc/identity
RandomSeed ~bbs/etc/random_seed
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin yes
IgnoreRhosts no
StrictModes yes
QuietMode no
X11Forwarding yes
X11DisplayOffset 10
FascistLogging no
PrintMotd yes
KeepAlive yes
SyslogFacility DAEMON
RhostsAuthentication no
RhostsRSAAuthentication yes
RSAAuthentication yes
PasswordAuthentication yes
PermitEmptyPasswords yes
UseLogin no
【 在 asing (阿星@我要过充实的生活) 的大作中提到: 】
: 哪位大侠能否贴一个简化版的呢?
: thx !
--
FROM 219.224.186.149
系统本身的那个sshd要改端口。。
【 在 asing (阿星@我要过充实的生活) 的大作中提到: 】
: 还是不行
: 555
: 真奇怪啊
: ...................
--
FROM 219.224.187.24
这样吧
还是把系统的sshd起来
不过要改一下端口
配置文件应该在/etc/ssh下面,没记错的话是sshd_config
【 在 asing (阿星@我要过充实的生活) 的大作中提到: 】
: nod
: killall sshd
: bbs/bin/sshbbsd
: ...................
--
FROM 219.224.187.24
系统默认22吧
【 在 luuli (我要ft-ft) 的大作中提到: 】
: 标 题: Re: 找不到ssh-1.2.33的sshd_config啊
: 发信站: BBS 水木清华站 (Fri Nov 12 00:08:04 2004), 转信
:
: 是下面这个
: 但Port 22是本来就注释掉的,不知道怎么回师:(
:
: # This is the sshd server system-wide configuration file. See
: # sshd_config(5) for more information.
:
: # This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
:
: # 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
我把这个改成24了
: #Protocol 2,1
这个改成2了,然后好像就可以了。。
: #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
:
: 【 在 Adimus (减负进行时|RockU~RightNow~) 的大作中提到: 】
: : 这样吧
: : 还是把系统的sshd起来
: : 不过要改一下端口
: : ...................
:
: --
:
:
: 不吃葡萄了,还是好好爱老婆吧 :)
:
:
※ 修改:·Adimus 于 Nov 12 00:16:57 修改本文·[FROM: 219.224.187.24]
: ※ 来源:·BBS 水木清华站 smth.org·[FROM: 166.111.73.*]
--
修改:Adimus FROM 219.224.187.24
FROM 219.224.187.24
我是这样改的。。
反正这样改了以后sshbbsd可以连
然后远程登录也可以了。
【 在 asing (阿星@我要过充实的生活) 的大作中提到: 】
: 改成
: Protocol 2 形式?
--
FROM 219.224.187.24