自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Telnet服務(wù)設(shè)置三部曲

網(wǎng)絡(luò) 網(wǎng)絡(luò)管理
Telnet服務(wù)的設(shè)置內(nèi)容我們下面從三個方面來介紹。簡單三個步驟肯定能夠完成這個操作。那么具體內(nèi)容請大家參考正文。

Telnet是一個有效的遠程登錄協(xié)議。這里我們就來介紹一下Telnet服務(wù)的相關(guān)設(shè)置。那么我們主要通過幾個簡單的步驟來完成操作。那么具體的內(nèi)容如下:

1、確定你的Telnet服務(wù)打開沒有:

[root@111 ~]# chkconfig --list|grep Telnet

ekrb5-Telnet: off

krb5-Telnet: off

[root@111 ~]#

注意檢查結(jié)果這里是關(guān)閉狀態(tài)

2、打開Telnet服務(wù):

[root@111 ~]# chkconfig krb5-Telnet on

[root@111 ~]# chkconfig --list|grep Telnet

ekrb5-Telnet: offv

krb5-Telnet: on

[root@111 ~]#

檢查已經(jīng)被打開了

3、修改登陸文件securetty,主要增加要登陸的終端點

[root@111 ~]# vi /etc/securetty

增加如下幾行:

pts/1

pts/2

pts/3

pts/4

pts/5

……

保存退出即可.

如果是chkconfig krb5-Telnet on

會提示Unencrypted connection refused. Goodbye.Connection closed by foreign host.看錯誤信息好像是說的為加密的連接被拒絕,查看了他的配置文件也沒發(fā)現(xiàn)有什么關(guān)于加密的選項,而且配置文件也很正確,于是到google上去搜索了一大圈,***終于找到一個老外寫的一個解決方法:

I really needed a bit of guidance and you provided it./sbin/chkconfig --list |grep TelnetThe above command told me I had both krb5-Telnet and ekrb5-Telnet, andalso the installed Telnet all on. Initially I did not know what theywere all for. After turning them on and off and testing my Telnetconnection from another box I realised that "ekrb5-Telnet" was theencrypted Telnet server that I needed to turn off to run "krb-Telnet"which allowed non-encrypted Telnet connections.eg /sbin/chkconfig ekrb5-Telnet off

原來ekrb5-Telnet是一個需要加密的Telnet服務(wù),把這個服務(wù)啟動上當然就需要加密了.解決方法:將/etc/xinetd.d/ekrb5-Telnet里面的disable改成=yes,再重啟xinetd服務(wù)service xinetd restart就OK了!

責任編輯:佟健 來源: IT168
相關(guān)推薦

2009-09-14 09:04:17

CCNA考試CCNA

2011-03-25 09:56:40

Nagios 安裝

2010-09-26 14:39:40

DHCP故障分析

2011-03-09 09:30:52

Mina

2011-03-21 09:22:46

Tomcat

2022-10-10 09:10:51

家庭網(wǎng)絡(luò)網(wǎng)絡(luò)

2013-06-28 09:35:04

Hypervisor虛擬化成本

2010-09-06 09:22:26

CSS語法

2010-05-20 17:24:25

Cookie設(shè)置

2012-09-10 16:19:00

云計算公共云

2015-05-12 10:42:53

程序員代碼

2017-02-07 14:50:39

華為

2017-04-11 09:07:20

互聯(lián)網(wǎng)

2009-12-14 14:54:58

2017-08-08 09:57:42

華為服務(wù)器

2011-08-29 16:26:50

魔獸世界LUA

2010-05-12 10:51:06

2011-08-03 10:33:05

網(wǎng)絡(luò)管理網(wǎng)絡(luò)拓撲管理

2019-03-28 14:45:33

數(shù)據(jù)安全數(shù)據(jù)泄露信息安全

2018-03-19 09:35:37

人工智能
點贊
收藏

51CTO技術(shù)棧公眾號