Search This Blog

Friday, February 26, 2010

Enabling ssh in OpenSuse


Good Morning all. I'm on my OpenSuse journey and learning alot about the OS. This is a quick tutorial on how to enable and access ssh using the following steps.


1. The ssh daemon comes disabled by default. Ssh can be enabled by typing the following command. /etc/init.d/sshd


2. The next step is to add the ssh service to the opensuse firewall you can use the following two methods.

method 1: type: yast firewall
method 2: you can directly edit the /etc/sysconfig/SuSEfirewall2 text file using either vi or emacs i prefer using vi. :)

3. In the /etc/sysconfig/SuSEfirewall2 text file edit the following: FW_SERVICES_EXT_TCP="" and replace it with FW_SERVICES_EXT_TCP="ssh"

4. restart the firewall with the following command: /sbin/rcSuSEfirewall2 restart

No comments: