* Wolfgang Mueller <wm@ariannuccia.de> [11-26-19 12:45]:
On Tue, 26 Nov 2019 17:59:20 +0100, Patrick Shanahan wrote:
Wolfgang Mueller <wm@ariannuccia.de> [11-26-19 11:42]:
Recently I have installed Leap 15.1 on a new computer which I have given the internal address 192.168.2.13 (wicked service, no DHCP). Everything works fine, but the computer is not reachable by ssh.
/home/wolfgang> ssh 192.168.2.13 ssh: connect to host 192.168.2.13 port 22: Connection refused
How can I make it reachable by ssh?
as root: firewall-cmd --zone=public --add-port=22/tcp --permanent firewall-cmd --reload
then check: iptables-save | grep 22
should provide something similar to: -A IN_public_allow -p tcp -m tcp --dport 22 -m conntrack --ctstate -NEW,UNTRACKED -j ACCEPT
Since I have switched off firewall from the beginning on, the responses are a little bit different:
firewall-cmd --zone=public --add-port=22/tcp --permanent FirewallD is not running firewall-cmd --reload FirewallD is not running iptables-save | grep 22 [no response at all]
well, you really have to start firewalld in order to have the functions. and: systemctl start sshd -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri 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