zoukankan      html  css  js  c++  java
  • 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 ~]#

  • 相关阅读:
    C语言 · 猜算式
    C语言 · 2n皇后问题
    数据结构 · 二叉树遍历
    C语言 · 滑动解锁
    出现Exception in thread "main" java.lang.UnsupportedClassVersionError: org/broadinstitute/gatk/engine/CommandLineGATK : Unsupported major.minor version 52.0问题解决方案
    linux提取指定列字符并打印所有内容(awk)
    mapping生成sam文件时出现[mem_sam_pe] paired reads have different names错误
    出现“java.lang.AssertionError: SAM dictionaries are not the same”报错
    Linux运行Java出现“Exception in thread "main" java.lang.OutOfMemoryError: Java heap space”报错
    Linux:echo中,>和>>的区别(保存结果和追加结果)
  • 原文地址:https://www.cnblogs.com/fct-notebook/p/10938508.html
Copyright © 2011-2022 走看看