ฉันกำลังติดตั้ง Ubuntu Server 13.10 และไม่สามารถให้ telnet ทำงานบนเซิร์ฟเวอร์ได้ ผมได้ติดตั้งทั้ง xinet.d & telnetd ผ่าน apt-get และเริ่มต้นใหม่ xinetd netstat -lแต่ไม่มีอะไรที่จะเริ่มต้นเมื่อฉันทำ ใน googling ปัญหาที่ฉันเห็นพูดถึงการเพิ่มสายการtelnet stream tcp wait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd ฉันไม่มี/etc/inetd.conf inetd.confฉันเห็นว่า inetd ถูก depracated และฉันวางสายxinetd.confและเริ่มบริการ xinetd ใหม่ แต่ยังไม่มีการรับฟัง telnet ใครสามารถแนะนำฉันเกี่ยวกับการตั้งค่าที่เหมาะสมสำหรับเซิร์ฟเวอร์ telnet และไฟล์ที่ควรจะเป็นสิ่งต่อไปนี้เป็นเนื้อหาของxinetd.confไฟล์ของฉัน:
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/
defaults
{
# Please note that you need a log_type line to be able to use log_on_success
# and log_on_failure. The default is the following :
# log_type = SYSLOG daemon info
}
includedir /etc/xinetd.d
#:STANDARD: These are standard services.
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
ขอบคุณ
sshแทน: ปลอดภัยเร็วขึ้น (ใช้การบีบอัด) และมีคุณสมบัติที่ดีอื่น ๆ เช่นความสามารถในการส่งต่อพอร์ต
/etc/inetd.confและxinetd.confใช้รูปแบบเดียวกัน คุณได้อ่านman xinetd, man -k xinetd, man inetd, man -k inetd, man telnetd? ไม่/etc/default/telnetdอยู่? คุณทำgrep telnet /var/log/*?