OpenSUSE sets the firewall to enable the ssh remote port

Source: Internet
Author: User
1. vi/etc/sysconfig/SuSEfirewall2 # edit firewall settings FW_SERVICES_EXT_TCP = & quot; 22 & quot; # enable port 22 rcSuSEfirewall2restart # restart firewall 2. Install sshzypperserachssh & n

1. vi/etc/sysconfig/SuSEfirewall2 # edit firewall settings
FW_SERVICES_EXT_TCP = "22" # enable port 22
RcSuSEfirewall2 restart # restart the Firewall
2. Install ssh
Zypper serach ssh # Find a software package
Zypper install openssh # install or use yast2-I opensshCommand
Chkconfig sshd on # Set startup
######################################## #######
Additional reading:
Modify host name
Vi/etc/HOSTNAME # edit the file
Hostname-F/etc/HOSTNAME # Make the modification take effect immediately
Disable GUI Logon
Vi/etc/inittab
Id: 3: initdefault: #3 indicates the text mode, and 5 indicates the graphic interface mode.
######################################## #######

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.