Friday, November 21, 2014

Enable ssh in OpenSUSE

 Enabling ssh in OpenSuse

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 any other editor.

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

Enjoy...!

0 comments: