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

How to set the firewall for SUSE Linux Enterprise Server to open the ssh remote port

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly explains "SUSE Linux Enterprise Server how to set up a firewall to open ssh remote port", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "SUSE Linux Enterprise Server how to set up the firewall to open the ssh remote port" bar!

1. Vi / etc/sysconfig/SuSEfirewall2 # Editing Firewall Settings

FW_SERVICES_EXT_TCP= "22" # Open port 22

RcSuSEfirewall2 restart # restart the firewall

2. Install ssh

Zypper serach ssh # find the package

Zypper install openssh # installation, or use the yast2-I openssh command

Chkconfig sshd on # set boot up

# # #

Extended reading:

Modify the host name

Vi / etc/HOSTNAME # edit file

Hostname-F / etc/HOSTNAME # makes the changes take effect immediately

Disable the login of the graphical interface

Vi / etc/inittab

Id:3:initdefault: # 3 for text mode and 5 for graphical interface mode

At this point, I believe you have a deeper understanding of "how to set the firewall to open the ssh remote port". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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: 263

*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