- 主题:找不到ssh-1.2.33的sshd_config啊
始终找不到
于是无法配ssh登陆了
是说装了ssh_1.2.33之后在哪里有这个配置文件呢?
--
FROM 166.111.167.*
哪位大侠能否贴一个简化版的呢?
thx !
【 在 asing (阿星@我要过充实的生活) 的大作中提到: 】
: 始终找不到
: 于是无法配ssh登陆了
: 是说装了ssh_1.2.33之后在哪里有这个配置文件呢?
: ...................
--
FROM 166.111.167.*
自带的配置文件就是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
thx a lot!
我去试试
【 在 Adimus (减负进行时|RockU~RightNow~) 的大作中提到: 】
: 自带的配置文件就是sshd_config。把这个文件复制到 $(BBSHOME)/etc 目录中
: Port 22
: ListenAddress 0.0.0.0
: ...................
--
FROM 166.111.167.*
还是不行
555
真奇怪啊
sshbbsd能运行起来,但外面ssh连不上去
【 在 Adimus (减负进行时|RockU~RightNow~) 的大作中提到: 】
: 自带的配置文件就是sshd_config。把这个文件复制到 $(BBSHOME)/etc 目录中
: Port 22
: ListenAddress 0.0.0.0
~~~~~~~~为什么不是127.0.0.1呢?
: ...................
--
修改:asing FROM 166.111.167.*
FROM 166.111.167.*
系统本身的那个sshd要改端口。。
【 在 asing (阿星@我要过充实的生活) 的大作中提到: 】
: 还是不行
: 555
: 真奇怪啊
: ...................
--
FROM 219.224.187.24
我也觉得要,但不知道怎么改。。。
目前是用redhat-config-sevices把这个sshd给关了
应该怎么改呢。。。
【 在 Adimus (减负进行时|RockU~RightNow~) 的大作中提到: 】
: 系统本身的那个sshd要改端口。。
--
FROM 166.111.167.*
nod
killall sshd
bbs/bin/sshbbsd
还是一样,能运行
但用ssh登陆的时候没有反应
【 在 Adimus (减负进行时|RockU~RightNow~) 的大作中提到: 】
: 把sshd全给kill了
: 然后再起一次sshbbsd也不行?
--
FROM 166.111.167.*
这样吧
还是把系统的sshd起来
不过要改一下端口
配置文件应该在/etc/ssh下面,没记错的话是sshd_config
【 在 asing (阿星@我要过充实的生活) 的大作中提到: 】
: nod
: killall sshd
: bbs/bin/sshbbsd
: ...................
--
FROM 219.224.187.24
是下面这个
但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
#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
【 在 Adimus (减负进行时|RockU~RightNow~) 的大作中提到: 】
: 这样吧
: 还是把系统的sshd起来
: 不过要改一下端口
: ...................
--
FROM 166.111.73.*