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.
######################################## #######