BusyBox telnetd配置

配置telnetd遇到的一些坑,记录一下

BusyBox版本1.22.1

Networking Utilities

-->[*] telnetd 

 

错误1:

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

 

在开发板服务端使用前台执行

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

发现没有pty。

需配置

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.

~ #

 

转载于:https://www.cnblogs.com/fengeryi/p/5997459.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值