{"id":9552,"date":"2023-10-01T01:42:02","date_gmt":"2023-09-30T23:42:02","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=9552"},"modified":"2023-10-01T10:27:48","modified_gmt":"2023-10-01T08:27:48","slug":"den-ssh-login-unter-linux-anpassen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/10\/01\/den-ssh-login-unter-linux-anpassen\/","title":{"rendered":"Den SSH-Login unter Linux anpassen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Loggt man sich via <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/10\/ssh-secure-shell-unter-linux-am-terminal-und-auf-der-grafischen-oberflaeche\/\" data-type=\"post\" data-id=\"2501\">SSH<\/a> auf einem Rechner unter Linux ein, bekommt man grundlegende Informationen \u00fcber diesen zu sehen. Diese Meldung l\u00e4sst sich auch anpassen, sodass man seine eigene Meldung zu sehen bekommt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Um die Meldung f\u00fcr den SSH-Login anzupassen, legen Sie als root unter <em>\/etc<\/em> die Datei <strong>motd<\/strong> an, etwa mit Nano oder Vim:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/motd<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>vim \/etc\/motd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Diese Datei bef\u00fcllen Sie jetzt mit Ihrer Begr\u00fc\u00dfung, hierzu k\u00f6nnen Sie normalen Text nutzen, oder auch etwas K\u00fcnstlerisches &#8211; hierzu k\u00f6nnen Sie etwa die Terminal-Werkzeuge <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/10\/01\/figlet-und-toilet-ascii-text-unter-linux\/\" data-type=\"post\" data-id=\"9558\"><strong>figlet<\/strong> und <strong>toilet<\/strong><\/a> nutzen, die Sie unter auf Debian basierenden Linux-Distributionen ganz einfach \u00fcber die Paket-Verwaltung installieren.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alternativ nutzen Sie einen Online-ASCII-Generator, wie etwa <a href=\"https:\/\/patorjk.com\/software\/taag\/#p=display&amp;f=OS2&amp;t=\">hier<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bei einem erneuten Anmelden, zeigt sich Ihre neue Begr\u00fc\u00dfung &#8211; ein Beispiel:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/10\/login.jpeg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"583\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/10\/login-1024x583.jpeg\" alt=\"\" class=\"wp-image-9553\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/10\/login-1024x583.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/10\/login-300x171.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/10\/login-150x85.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/10\/login-768x437.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/10\/login-1536x874.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/10\/login.jpeg 1676w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Loggt man sich via SSH auf einem Rechner unter Linux ein, bekommt man grundlegende Informationen \u00fcber diesen zu sehen. Diese Meldung l\u00e4sst sich auch anpassen, sodass man seine eigene Meldung zu sehen bekommt. Um die Meldung f\u00fcr den SSH-Login anzupassen, legen Sie als root unter \/etc die Datei motd an, etwa mit Nano oder Vim: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9553,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[12,7,6],"class_list":["post-9552","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-terminal","tag-kommandozeile","tag-shell","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/9552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=9552"}],"version-history":[{"count":2,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/9552\/revisions"}],"predecessor-version":[{"id":9566,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/9552\/revisions\/9566"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/9553"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=9552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=9552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=9552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}