看板FreeBSD
标 题Re: [问题]有关这个讯息可以麻烦解释一下吗
发信站实验室的爱情 (Sat Aug 19 12:26:13 2006)
转信站ptt!ctu-reader!Spring!feeder.seed.net.tw!news.ntu!mars.scc.ntnu!ctu-pe
※ 引述《[email protected] (踹E特)》之铭言:
> ※ 引述《blockk (游客)》之铭言:
> : 关闭inetd
> : /etc/rc.d/inetd stop
> : vi /etc/inetd.conf
> : mark这两行
> : #ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
> : #ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6
> : inetd有用到在开起来
> 谢谢回答
> 一开始他预设是这样
> 可是我当时要用putty连
> 想说把他前面的#给消掉
> putty不是用ssh连的吗,我当所学到的是把tcp取消而已
> 对於这部分,可讲解一下吗?
> 谢谢
ssh可以用daemon或是inetd启动
选其中一个即可
如果两个都开..当然会有一个无法bind port 22
> : 错的username
> : Aug 2 13:06:05 YourMachine sshd[15489]: Failed password for invalid user use
> : from 192.168.87.21 port 1098 ssh2
> : username对,但password错
> : Aug 3 12:48:49 YourMachine sshd[23585]: Failed password for username from
> : 192.168.87.21 port 1147 ssh2
> : 192.168.87.21 port 1147/port 1098指的是对方的ip与使用(对方端)的port
> 感谢doomleika详细的举例
--
→↓ O
rigin:
˙实验室的爱情 bbs.ychsiao.org
↑← Au
thor:
ychsiao 从
FreeBSD.stu.edu.tw 发表