Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Host configuration tutorial for xshell remote connection under Centos7

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

I. configuration of host environment

1. Activate the network card

(1) Open the file ifcfg-ens33

# vi / etc/sysconfig/network-scripts/ifcfg-ens33

(note-the configuration file name of ens33 Nic may be different from machine to machine, which can be completed by using TAB key)

(2) change ONBOOT=no to = yes

(ONBOOT indicates whether the network card is activated when the system is started. Only the network card in the active state can connect to the network and communicate with the network.)

2. Configure host network address

Change BOOTPROTO=dhcp (dynamic URL) to static (static URL)

Add the following information:

IPADDR=192.168.1.5 (host ip address, which can be in the same physical network segment as gateway and remote client)

NETMASK=255.255.255.0

GATEWAY=192.168.1.1

DNS1=114.114.114.114

When you have finished editing, save.

3. Restart the network service to take effect

# service network restart

II. Remote client configuration

1. Open xshell and create a new session

2. Enter the hostname and connect

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report