{"id":271,"date":"2016-07-25T14:59:59","date_gmt":"2016-07-25T12:59:59","guid":{"rendered":"http:\/\/tomdus.de\/wp\/?p=271"},"modified":"2016-07-25T14:59:59","modified_gmt":"2016-07-25T12:59:59","slug":"verbindung-zu-sles-opensuse-nach-frischer-installation-nicht-moeglich","status":"publish","type":"post","link":"https:\/\/tomdus.de\/wp\/verbindung-zu-sles-opensuse-nach-frischer-installation-nicht-moeglich\/","title":{"rendered":"Verbindung zu SLES (OpenSUSE) nach frischer Installation nicht m\u00f6glich"},"content":{"rendered":"<p>Die SSH Verbindung zu einem neuen frisch installierten OpenSUSE bzw. SLES ist nich m\u00f6glich.<\/p>\n<p>In der OpenSUSE Installation (Version 11) ist die Verbindung von externen Systemen \u00fcber SSH nicht erlaubt.<\/p>\n<pre>tomas@ubuntu:~$ ssh -vvvv root@sles1\r\nOpenSSH_7.2p2 Ubuntu-4ubuntu1, OpenSSL 1.0.2g-fips\u00a0 1 Mar 2016\r\ndebug1: Reading configuration data \/etc\/ssh\/ssh_config\r\ndebug1: \/etc\/ssh\/ssh_config line 19: Applying options for *\r\ndebug2: resolving \"sles1\" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to sles1 [10.0.2.7] port 22.\r\ndebug1: connect to address 10.0.2.7 port 22: Connection timed out\r\nssh: connect to host sles1 port 22: Connection timed out<\/pre>\n<p>Schritte:<\/p>\n<ol>\n<li>Verifiziere das auf dem OpenSUSE System die Firewall f\u00fcr SSH ge\u00f6ffnet ist.\u00a0 <code>$ iptables -nL | grep 22<\/code> soll Ergebnisse liefern:<\/li>\n<li>\u00d6ffnen Firewall f\u00fcr SSH Daemon <code>$ yast firewall<\/code> und navigiere <em>Allowed Services<\/em> -&gt; <em>Service to Allow<\/em> -&gt; <em>Secure Shell Server<\/em> -&gt; <em>Add<\/em> -&gt; <em>Next<\/em> -&gt; <em>Finish<\/em><\/li>\n<\/ol>\n<p>Um sich als <em>root<\/em> auf dem OpenSUSE Sever mit angaben von Passwort anmelden zu k\u00f6nnen, muss dies in ssh erlaubt sein (Eintrag <em>PermitRootLogin yes<\/em>).<br \/>\n<code>$ vi \/etc\/ssh\/sshd_config<\/code><\/p>\n<pre>PermitRootLogin yes<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Die SSH Verbindung zu einem neuen frisch installierten OpenSUSE bzw. SLES ist nich m\u00f6glich. In der OpenSUSE Installation (Version 11) ist die Verbindung von externen Systemen \u00fcber SSH nicht erlaubt. tomas@ubuntu:~$ ssh -vvvv root@sles1 OpenSSH_7.2p2 Ubuntu-4ubuntu1, OpenSSL 1.0.2g-fips\u00a0 1 Mar 2016 debug1: Reading configuration data \/etc\/ssh\/ssh_config debug1: \/etc\/ssh\/ssh_config line 19: Applying options for * debug2: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/comments?post=271"}],"version-history":[{"count":5,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":280,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/posts\/271\/revisions\/280"}],"wp:attachment":[{"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/categories?post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomdus.de\/wp\/wp-json\/wp\/v2\/tags?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}