BusyBox telnetd配置

配置telnetd遇到的一些坑,記錄一下shell

BusyBox版本1.22.1ui

Networking Utilities開發

-->[*] telnetd it

 

錯誤1:io

Escape character is '^]'.
Connection closed by foreign host.sed

 

在開發板服務端使用前臺執行配置

~ # telnetd -F
telnetd: can't find free ptyfile

發現沒有pty。command

需配置密碼

General Configuration

-->

 [*] Use the devpts filesystem for Unix98 PTYs

檢查mount -t devpts none /dev/pts 有沒有成功。

錯誤2:

配置完上述選項依然報錯

Connection closed by foreign host.

緣由是telnet須要用戶名密碼來登錄 

Login/Password Management Utilities

-->[*] login

--> [*] passwd 

使用passwd修改root密碼以後能夠正常telnet登錄

(none) login: root
Password:


BusyBox v1.22.1 (2016-10-25 16:04:14 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ #

相關文章
相關標籤/搜索