• centos7 安装telnet


    SSH Secure Shell 3.2.9 (Build 283)
    Copyright (c) 2000-2003 SSH Communications Security Corp - http://www.ssh.com/

    This copy of SSH Secure Shell is a non-commercial version.
    This version does not include PKI and PKCS #11 functionality.


    Last login: Tue May 28 16:45:00 2019 from 192.168.0.100
    [root@dm02 ~]# rpm -qa telnet -server
    rpm: arguments to --root (-r) must begin with a /
    [root@dm02 ~]# yum list |grep xinetd
    xinetd.x86_64 2:2.3.15-13.el7 base
    [root@dm02 ~]# yum list |grep telnet
    telnet.x86_64 1:0.17-64.el7 base
    telnet-server.x86_64 1:0.17-64.el7 base

    安装服务端
    [root@dm02 ~]# yum install telnet-server.x86_64
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.aliyun.com
    * extras: mirrors.aliyun.com
    * updates: mirrors.aliyun.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package telnet-server.x86_64 1:0.17-64.el7 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================================================
    Package Arch Version Repository Size
    ================================================================================
    Installing:
    telnet-server x86_64 1:0.17-64.el7 base 41 k

    Transaction Summary
    ================================================================================
    Install 1 Package

    Total download size: 41 k
    Installed size: 55 k
    Is this ok [y/d/N]: y
    Downloading packages:
    telnet-server-0.17-64.el7.x86_64.rpm | 41 kB 00:00
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Installing : 1:telnet-server-0.17-64.el7.x86_64 1/1
    Verifying : 1:telnet-server-0.17-64.el7.x86_64 1/1

    Installed:
    telnet-server.x86_64 1:0.17-64.el7

    Complete!

    安装客户端
    [root@dm02 ~]# yum install telnet.x86_64
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.aliyun.com
    * extras: mirrors.aliyun.com
    * updates: mirrors.aliyun.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package telnet.x86_64 1:0.17-64.el7 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================================================
    Package Arch Version Repository Size
    ================================================================================
    Installing:
    telnet x86_64 1:0.17-64.el7 base 64 k

    Transaction Summary
    ================================================================================
    Install 1 Package

    Total download size: 64 k
    Installed size: 113 k
    Is this ok [y/d/N]: y
    Downloading packages:
    telnet-0.17-64.el7.x86_64.rpm | 64 kB 00:00
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Installing : 1:telnet-0.17-64.el7.x86_64 1/1
    Verifying : 1:telnet-0.17-64.el7.x86_64 1/1

    Installed:
    telnet.x86_64 1:0.17-64.el7

    Complete!
    [root@dm02 ~]# yum install xinetd.x86_64
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirrors.aliyun.com
    * extras: mirrors.aliyun.com
    * updates: mirrors.aliyun.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package xinetd.x86_64 2:2.3.15-13.el7 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================================================
    Package Arch Version Repository Size
    ================================================================================
    Installing:
    xinetd x86_64 2:2.3.15-13.el7 base 128 k

    Transaction Summary
    ================================================================================
    Install 1 Package

    Total download size: 128 k
    Installed size: 261 k
    Is this ok [y/d/N]: y
    Downloading packages:
    xinetd-2.3.15-13.el7.x86_64.rpm | 128 kB 00:03
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Installing : 2:xinetd-2.3.15-13.el7.x86_64 1/1
    Verifying : 2:xinetd-2.3.15-13.el7.x86_64 1/1

    Installed:
    xinetd.x86_64 2:2.3.15-13.el7

    Complete!

    启动telnet服务
    [root@dm02 ~]# systemctl start telnet.socket
    [root@dm02 ~]#

  • 相关阅读:
    Intellij IDEA调试功能使用总结
    193.数据库备份和恢复
    191.数据安全性控制
    192.数据完整性管理
    190.事务管理与并发控制
    189.存储过程和触发器
    云笔记项目-笔记列表弹出"分享移动删除"子菜单
    使用JavaMail发送邮件-从FTP读取图片并添加到邮件正文发送
    二进制学习
    云笔记项目-网页端debug功能学习
  • 原文地址:https://www.cnblogs.com/fct-notebook/p/10938508.html
Copyright © 2020-2023  润新知