看板FreeBSD
标 题Re: ssh远端不能
发信站鸟窝 BBS (Thu May 26 00:16:40 2005)
转信站ptt!ctu-reader!ctu-peer!news.nctu!News.Math.NCTU!birdnest
※ 引述《[email protected] ( (爆!))》之铭言:
: 请问各位先进
: 我的 inetd.conf 关於ssh的部份取消注解如下:
: ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
: ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6
: 有加入开机启动inetd
: reboot後
: 使用putty登入ssh出现 "Server unexpectedly closed network connection" 讯息
: 不过telnet通行无误 这是??
sshd 在系统中是 stand-alone 的
不需要利用 inetd 去启动它
在 /etc/rc.conf 加入
sshd_enable="YES"
这一行就好
--
※ Origin: 鸟窝 (BirdNest.twbbs.org) ◆ From: 203.204.205.222