Telnet实现windows远程登录ubuntu

  1. 开启windows端Telnet功能

控制面板→程序→启用或关闭Windows功能→选择Telnet客户端

      

      2.Ubuntu开启Telnet服务

    sudo apt-get install xinetd telnetd  
  • 编辑/etc/inetd.conf,在文件中添加:
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
  • 修改/etc/xinetd.conf,在# log_type = SYSLOG daemon info下添加:
instances = 60   
log_type = SYSLOG authpriv   
log_on_success = HOST PID   
log_on_failure = HOST   
cps = 25 30  
  • 编辑/etc/xinetd.d/telnet文件,添加:
# default: on   
# description: The telnet server serves telnet sessions; it uses \   
# unencrypted username/password pairs for authentication.   
service telnet   
{   
disable = no   
flags = REUSE   
socket_type = stream   
wait = no   
user = root   
server = /usr/sbin/in.telnetd   
log_on_failure += USERID   
}  
  • 重启网络
sudo /etc/init.d/xinetd restart

  3.测试Windows通过Telnet远程登录Ubuntu

打开cmd→输入telnet→输入open ubuntu ip→输入用户名密码

远程登录成功~

  

转载于:https://www.cnblogs.com/mufire/p/6724756.html

表情包
插入表情
评论将由博主筛选后显示,对所有人可见 | 还能输入1000个字符
相关推荐
©️2020 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页