[opensuse] setting up ssh
So I just finished installing Leap 15.0 on my laptop. Nice. So far things look good. One question - how do I get port 22 to open on startup as well as get the sshd service to run on startup? On previous versions of opensuse, I went into # /etc/sysconfig/SuSEfirewall2 and changed the appropriate line to FW_CONFIGURATIONS_EXT="sshd" Then I typed in insserv sshd as root and that set it up to always run. As things are now, in order to rsync my computers over ssh, I have to manually open port 22 in the firewall editor and run # systemctl start sshd.service I have to repeat that whenever I reboot the machine. -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: TW | Plasma 5.13 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 15.0 | KDE Plasma 5.8 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* George from the tribe <tech@reachthetribes.org> [08-09-18 14:53]:
So I just finished installing Leap 15.0 on my laptop. Nice. So far things look good.
One question - how do I get port 22 to open on startup as well as get the sshd service to run on startup?
On previous versions of opensuse, I went into # /etc/sysconfig/SuSEfirewall2
and changed the appropriate line to FW_CONFIGURATIONS_EXT="sshd"
Then I typed in insserv sshd as root and that set it up to always run.
As things are now, in order to rsync my computers over ssh, I have to manually open port 22 in the firewall editor and run # systemctl start sshd.service
I have to repeat that whenever I reboot the machine.
are you running SuSEfirewall2 or firewalld? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/09/2018 02:00 PM, Patrick Shanahan wrote:
* George from the tribe <tech@reachthetribes.org> [08-09-18 14:53]:
So I just finished installing Leap 15.0 on my laptop. Nice. So far things look good.
One question - how do I get port 22 to open on startup as well as get the sshd service to run on startup?
On previous versions of opensuse, I went into # /etc/sysconfig/SuSEfirewall2
and changed the appropriate line to FW_CONFIGURATIONS_EXT="sshd"
Then I typed in insserv sshd as root and that set it up to always run.
As things are now, in order to rsync my computers over ssh, I have to manually open port 22 in the firewall editor and run # systemctl start sshd.service
I have to repeat that whenever I reboot the machine.
are you running SuSEfirewall2 or firewalld?
looks like I am running firewalld, and not SuSEfirewall2 -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: TW | Plasma 5.13 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 15.0 | KDE Plasma 5.8 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* George from the tribe <tech@reachthetribes.org> [08-09-18 23:25]:
On 08/09/2018 02:00 PM, Patrick Shanahan wrote:
* George from the tribe <tech@reachthetribes.org> [08-09-18 14:53]:
So I just finished installing Leap 15.0 on my laptop. Nice. So far things look good.
One question - how do I get port 22 to open on startup as well as get the sshd service to run on startup?
On previous versions of opensuse, I went into # /etc/sysconfig/SuSEfirewall2
and changed the appropriate line to FW_CONFIGURATIONS_EXT="sshd"
Then I typed in insserv sshd as root and that set it up to always run.
As things are now, in order to rsync my computers over ssh, I have to manually open port 22 in the firewall editor and run # systemctl start sshd.service
I have to repeat that whenever I reboot the machine.
are you running SuSEfirewall2 or firewalld?
looks like I am running firewalld, and not SuSEfirewall2
then making changes to SuSEfirewall2 doesn't work. make the changes to firewalld. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/09/2018 10:26 PM, Patrick Shanahan wrote:
* George from the tribe <tech@reachthetribes.org> [08-09-18 23:25]:
On 08/09/2018 02:00 PM, Patrick Shanahan wrote:
* George from the tribe <tech@reachthetribes.org> [08-09-18 14:53]:
So I just finished installing Leap 15.0 on my laptop. Nice. So far things look good.
One question - how do I get port 22 to open on startup as well as get the sshd service to run on startup?
On previous versions of opensuse, I went into # /etc/sysconfig/SuSEfirewall2
and changed the appropriate line to FW_CONFIGURATIONS_EXT="sshd"
Then I typed in insserv sshd as root and that set it up to always run.
As things are now, in order to rsync my computers over ssh, I have to manually open port 22 in the firewall editor and run # systemctl start sshd.service
I have to repeat that whenever I reboot the machine.
are you running SuSEfirewall2 or firewalld?
looks like I am running firewalld, and not SuSEfirewall2
then making changes to SuSEfirewall2 doesn't work. make the changes to firewalld.
Thanks, got it working now with firewalld commands! -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: TW | Plasma 5.13 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 15.0 | KDE Plasma 5.8 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/09/2018 08:51 PM, George from the tribe wrote:
# systemctl start sshd.service
I have to repeat that whenever I reboot the machine.
$ systemctl enable sshd.service Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/09/2018 02:26 PM, Bernhard Voelker wrote:
On 08/09/2018 08:51 PM, George from the tribe wrote:
# systemctl start sshd.service
I have to repeat that whenever I reboot the machine.
$ systemctl enable sshd.service
Have a nice day, Berny
Ok, I have done that. When I reboot in the morning I will see if the sshd is up and running. Thanks :) -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: TW | Plasma 5.13 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 15.0 | KDE Plasma 5.8 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/09/2018 10:17 PM, George from the tribe wrote:
Ok, I have done that. When I reboot in the morning I will see if the sshd is up and running. Thanks :)
Also, for your next install, if you look closely at the installer software selection summary, it tells you ssh is disabled by default, and you can click that setting and turn it on during the install which will automatically set the hole in the firewall. If you are running this on a machine that will be facing the internet, I would also suggest moving ssh to a high port (it will cut down on the number of script-kidding knocking on port 22) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Op donderdag 9 augustus 2018 20:51:56 CEST schreef George from the tribe:
So I just finished installing Leap 15.0 on my laptop. Nice. So far things look good.
One question - how do I get port 22 to open on startup as well as get the sshd service to run on startup?
On previous versions of opensuse, I went into # /etc/sysconfig/SuSEfirewall2
and changed the appropriate line to FW_CONFIGURATIONS_EXT="sshd"
Then I typed in insserv sshd as root and that set it up to always run.
As things are now, in order to rsync my computers over ssh, I have to manually open port 22 in the firewall editor and run # systemctl start sshd.service
I have to repeat that whenever I reboot the machine. zypper se -i firewalll
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/09/2018 04:20 PM, Knurpht-openSUSE wrote:
Op donderdag 9 augustus 2018 20:51:56 CEST schreef George from the tribe:
So I just finished installing Leap 15.0 on my laptop. Nice. So far things look good.
One question - how do I get port 22 to open on startup as well as get the sshd service to run on startup?
On previous versions of opensuse, I went into # /etc/sysconfig/SuSEfirewall2
and changed the appropriate line to FW_CONFIGURATIONS_EXT="sshd"
Then I typed in insserv sshd as root and that set it up to always run.
As things are now, in order to rsync my computers over ssh, I have to manually open port 22 in the firewall editor and run # systemctl start sshd.service
I have to repeat that whenever I reboot the machine. zypper se -i firewalll
thanks that showed me I am running firewalld instead of SuSEfirewall2, which I did not know before -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: TW | Plasma 5.13 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 15.0 | KDE Plasma 5.8 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2018-08-09 20:51, George from the tribe wrote:
So I just finished installing Leap 15.0 on my laptop. Nice. So far things look good.
One question - how do I get port 22 to open on startup as well as get the sshd service to run on startup?
The easiest way is to do it on the last installation screen, at the bottom :-)
As things are now, in order to rsync my computers over ssh, I have to manually open port 22 in the firewall editor and run # systemctl start sshd.service
I have to repeat that whenever I reboot the machine.
You need to "enable" the service to make it permanent. systemctl enable sshd.service as root.
-- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
participants (6)
-
Bernhard Voelker
-
Carlos E. R.
-
David C. Rankin
-
George from the tribe
-
Knurpht-openSUSE
-
Patrick Shanahan