SUSE Linux Enterprise Server Setup firewall to open SSH remote port

Source: Internet
Author: User

1, vi/etc/sysconfig/susefirewall2 #编辑防火墙设置
Fw_services_ext_tcp= ""#开启22端口
RcSuSEfirewall2 Restart #重启防火墙
System operation and maintenance www.osyunwei.com warm reminder: qihang01 original content copyright, reproduced please indicate the source and the original link
2. Install SSH

Zypper serach ssh #查找软件包
Zypper Install OpenSSH #安装, or useYast2-i openssh Command
Chkconfig sshd on #设置开机启动
###############################################
Extended reading:
Modify Host Name
Vi/etc/hostname #编辑文件
Hostname-f/etc/hostname #使修改立刻生效
Disable GUI Login
Vi/etc/inittab
Id:3:initdefault: #3为文本模式, 5 for graphical interface mode
###############################################

SUSE Linux Enterprise Server Setup firewall to open SSH remote port

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.