linux系统使用telnet连接

一、背景

工作环境中linux服务器防火墙(iptables -nL)、网络(ping baidu.com)和ssh(进程,端口)均为发现问题,设备又处于异地机房,所以想到了通过开启telnet服务来先保证可连接,在慢慢解决问题

二、部署

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum -y install xinetd telnet-server
systemctl restart telnet.socket
systemctl restart xinetd
vim /etc/pam.d/remote    

注释掉第一行
#auth required pam_securetty.so
posted @   JH爱学习  阅读(521)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 2025年我用 Compose 写了一个 Todo App
· 张高兴的大模型开发实战:(一)使用 Selenium 进行网页爬虫
点击右上角即可分享
微信分享提示