On Tue, 26 Nov 2019 17:59:20 +0100, Patrick Shanahan wrote:
Wolfgang Mueller
[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] Regards, Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org