https://www.ahaoyw.com/article/717.html
1、安装需要的组件
yum -y install openssl-devel wget
2、下载ttyd二进制版本
cd /root
wget https://github.com/tsl0922/ttyd/releases/download/1.6.3/ttyd.x86_64 --no-check-certificate
mv ttyd.x86_64 ttyd
chmod +x ttyd
mv ttyd /usr/sbin/
3、运行ttyd
ttyd bash