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

CentOS VMware配置未知文件

系統(tǒng) Linux
1.CentOS VMware在hosts.deny文件尾添加sshd:ALL意思是拒絕所有訪問請求[root@localhost ~]# vi /etc/hosts.deny修改后看起來如下:

特別值得一提的是CentOS VMware有很多值得學習的地方,這里我們主要介紹CentOS VMware,包括介紹CentOS VMware等方面。在CentOS VMware安裝一個CentOS的Sever版,終端里的內(nèi)容不可滾動,不方便。在win下遠程登錄不錯(win下有個Xshell)。默認安裝ssh是有的。只是hosts訪問問題。

1.CentOS VMware在hosts.deny文件尾添加sshd:ALL

意思是拒絕所有訪問請求[root@localhost ~]# vi /etc/hosts.deny修改后看起來如下:

  1. #  
  2. # hosts.deny    This file describes the names of the hosts which are  
  3. #               *not* allowed to use the local INET services, as decided  
  4. #               by the '/usr/sbin/tcpd' server.  
  5. #  
  6. # The portmap line is redundant, but it is left to remind you that  
  7. # the new secure portmap uses hosts.deny and hosts.allow.  In particular  
  8. # you should know that NFS uses portmap!  
  9. sshd:ALL 


2.CentOS VMware在hosts.allow文件尾添加sshd:192.168.0.
意思是允許192.168.0.1 到254的主機,內(nèi)網(wǎng)。

  1. [root@localhost ~]# vi /etc/hosts.allow   
  2. #  
  3. # hosts.allow   This file describes the names of the hosts which are  
  4. #               allowed to use the local INET services, as decided  
  5. #               by the '/usr/sbin/tcpd' server.  
  6. #  
  7. sshd:192.168.0.  

3.CentOS VMware重啟ssh

  1. [root@localhost ~]# /etc/rc.d/init.d/sshd restart  
  2. 停止 sshd:                                                [  確定  ]  
  3. 啟動 sshd                                                  [  確定  ] 

好了,用putty和Xshell(Xmanager)可以登錄了。^_^

【編輯推薦】

  1. CentOS VMware虛擬機安裝使用同步解決
  2. CentOS PyLucene實際的使用
  3. CentOS install服務器安裝運行
  4. CentOS Firefox針對特定的處理器進行優(yōu)
  5. CentOS LAMP環(huán)境搭建和測試php與mysql的連接
責任編輯:佚名 來源: CSDN
相關(guān)推薦

2010-02-22 17:33:55

CentOS vmwa

2015-06-04 16:12:02

VMwareCentOS運維

2009-04-24 21:31:54

Vmwareesx虛擬化

2010-01-13 10:48:49

Centos設置

2010-01-13 13:50:53

CentOS Vsft

2010-01-15 10:36:49

CentOS yum配

2018-12-24 14:30:37

云計算管理工具全球云

2010-03-01 16:51:53

CentOS VMwa

2011-01-10 11:39:48

linuxvmware上網(wǎng)

2010-02-22 15:59:48

2020-04-09 10:49:19

VMware主機配置

2017-08-31 15:14:52

2010-01-13 09:33:53

CentOS安裝

2010-02-22 17:39:22

CentOS vmwa

2010-02-22 16:49:35

CentOS vsft

2010-01-15 12:01:55

CentOS Linu

2010-01-12 15:37:01

vmware配置

2018-10-17 14:25:03

VMware虛擬磁盤

2011-03-11 09:34:23

VMware vClo

2009-08-07 11:16:28

點贊
收藏

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