{"id":367,"date":"2009-08-18T01:28:47","date_gmt":"2009-08-17T23:28:47","guid":{"rendered":"http:\/\/netspider.com.ua\/index.php\/2009\/08\/18\/nastraivaemoe-privetstvie-v-konsoli\/"},"modified":"2010-01-17T10:40:05","modified_gmt":"2010-01-17T08:40:05","slug":"nastraivaemoe-privetstvie-v-konsoli","status":"publish","type":"post","link":"https:\/\/netspider.com.ua\/index.php\/2009\/08\/18\/nastraivaemoe-privetstvie-v-konsoli\/","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0435 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438"},"content":{"rendered":"<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043b\u043e\u0433\u0438\u043d\u0438\u0442\u0435\u0441\u044c \u043f\u043e ssh \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u043b\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440, \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435 <span style=\"text-decoration: line-through;\">\u0443\u043d\u044b\u043b\u043e\u0435 \u0433\u043e\u0432\u043d\u043e<\/span> \u043e\u0434\u043d\u0443 \u0438 \u0442\u0443 \u0436\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u0443:<\/p>\r\n\r\n<blockquote><p>Last login: Mon Aug 17 15:02:25 2009 from ip.com<br \/>\r\n Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994<br \/>\r\n The Regents of the University of California.\u00a0 All rights reserved.<\/p>\r\n\r\n<p>FreeBSD x.y-RELEASE-pZ (KERNEL) #A: Thu Apr 17 11:21:34 EDT 2008<\/p>\r\n\r\n<p>Welcome to FreeBSD!<br \/>\r\n For information on the web, visit us at www.pcbsd.org<br \/>\r\n &#171;man tuning&#187; gives some tips how to tune performance of your FreeBSD system.<br \/>\r\n &#8212; David Scheidt &lt;dscheidt@tumbolia.com&gt;<\/p><\/blockquote>\r\n\r\n<p>\u0422.\u0435., \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e <strong><em>Last login<\/em><\/strong>, <strong><em>\u043a\u043e\u043f\u0438\u0440\u0430\u0439\u0442<\/em><\/strong>, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 <strong><em>\/etc\/motd<\/em><\/strong> (\u0432\u0435\u0440\u0441\u0438\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u044b) \u0438 \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c <strong><em>fortune<\/em><\/strong>. \u0421\u043a\u0443\u0447\u043d\u043e? \u0421\u043a\u0443\u0447\u043d\u043e!<\/p>\r\n\r\n<p><span style=\"text-decoration: line-through;\">\u041a\u0430\u0441\u0442\u0440\u0430\u0446\u0438\u044f<\/span> <strong>\u041a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u044f<\/strong><\/p>\r\n\r\n<p>\u201c\u041f\u0440\u043e\u0441\u043d\u0438\u0441\u044c, \u041d\u0435\u043e!\u201d<\/p>\r\n\r\n<p><img loading=\"lazy\" decoding=\"async\" style=\"border: 0px initial initial;\" src=\"https:\/\/mesto.in.ua\/blog\/34.png\" alt=\"Wake up, Neo!\" width=\"256\" height=\"256\" \/><\/p>\r\n\r\n<p><!--more-->\u041a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0432 rc-\u0444\u0430\u0439\u043b*: .cshrc, .bashrc etc. (c\u043c. \u0442\u0435\u043c\u044b \u043e <strong>tcsh<\/strong> <a title=\"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f tcsh\" href=\"https:\/\/netspider.com.ua\/index.php\/2009\/07\/14\/nastrojka-stroki-priglasheniya-tcsh\/\">\u0442\u0443\u0442<\/a> \u0438 <a title=\"\u0415\u0449\u0435 \u0440\u0430\u0437 \u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 tcsh\" href=\"https:\/\/netspider.com.ua\/index.php\/2009\/08\/12\/eshhe-raz-o-nastrojkax-tcsh\/\">\u0442\u0443\u0442<\/a>). \u041a\u0440\u043e\u043c\u0435 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u0434\u0432\u0430 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430: <strong>.login<\/strong> \u0438 <strong>.logout<\/strong>. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d fortune, \u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u043d \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u0444\u0430\u0439\u043b\u0435 .login. \u041d\u043e, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \/etc\/motd \u0438 .login, \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f Last login.<\/p>\r\n\r\n<p><strong>\u0412\u044b\u0431\u043e\u0440 \u0442\u0430\u0431\u043b\u0435\u0442\u043e\u043a<\/strong><\/p>\r\n\r\n<p>\u0414\u043b\u044f \u043f\u043e\u0434\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0432 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043f\u0443\u0441\u0442\u043e\u0439 \u0432\u043e\u043b\u0448\u0435\u0431\u043d\u044b\u0439 \u0444\u0430\u0439\u043b <strong>.hushlogin<\/strong>:<\/p>\r\n\r\n<blockquote><p>:&gt; .hushlogin<br \/>\r\n <em>\u0438\u043b\u0438<br \/>\r\n <span style=\"font-style: normal;\">touch .hushlogin<br \/>\r\n <em>\u0438\u043b\u0438<br \/>\r\n <span style=\"font-style: normal;\">echo &gt; .hushlogin<br \/>\r\n <em>(\u043d\u0430 \u0432\u0430\u0448 \u0432\u043a\u0443\u0441)<\/em><\/span><\/em><\/span><\/em><\/p><\/blockquote>\r\n\r\n<p>\u0414\u0430\u043b\u044c\u0448\u0435, \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 (.login):<\/p>\r\n\r\n<blockquote><p># \u041c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c, \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c, you decide<br \/>\r\n # [ -x \/usr\/games\/fortune ] &amp;&amp; \/usr\/games\/fortune -s<br \/>\r\n clear<br \/>\r\n echo<br \/>\r\n echo<br \/>\r\n echo &#171;~&gt; wake up, Neo&#187;<br \/>\r\n echo<br \/>\r\n echo<\/p><\/blockquote>\r\n\r\n<p>\u0418 \u043f\u0440\u043e\u0449\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u0441\u043b\u0430\u043d\u0438\u0435 \u0442\u043e\u0436\u0435 (.logout):<\/p>\r\n\r\n<blockquote><p>clear<br \/>\r\n echo<br \/>\r\n echo<br \/>\r\n echo &#171;~&gt; goodbye, Neo!&#187;<br \/>\r\n echo<br \/>\r\n echo<\/p><\/blockquote>\r\n\r\n<p><strong>P.S.<\/strong><\/p>\r\n\r\n<p>\u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u0430 .logout \u043d\u0435\u0442, \u0435\u0433\u043e \u0442\u043e\u0436\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c.<\/p>\r\n\r\n<p>* \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043d\u0438\u0447\u0435\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u043f\u0435\u0447\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438\u0437 rc-\u0444\u0430\u0439\u043b\u0430.<br \/>\r\n \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434 \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u00a0\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b Banner \u0432 \/etc\/ssh\/sshd_config:<\/p>\r\n\r\n<blockquote><p>Banner \/etc\/textfile<\/p><\/blockquote>\r\n\r\n<p>\u043d\u043e \u0442\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u044f \u0442\u043e\u0436\u0435 \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e =) \u0412\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0418\u041c\u0425\u041e \u0441\u0430\u043c\u044b\u0439 \u043b\u0443\u0447\u0448\u0438\u0439.<\/p>\r\n\r\n<p><strong>P.P.S.<\/strong><\/p>\r\n\r\n<p>\u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u0432\u0430\u0441 \u0435\u0449\u0435 \u0440\u0430\u0437\u0434\u0440\u0430\u0436\u0430\u0435\u0442 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0435 &#171;Connection to &lt;host&gt; closed.&#187;, \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043b\u0438\u0430\u0441 (\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f tcsh):<\/p>\r\n\r\n<blockquote><p>alias ssh \u00a0 \u00a0 \u00a0 ssh -q<\/p><\/blockquote>\r\n<div><strong>Enjoy!<\/strong><\/div>","protected":false},"excerpt":{"rendered":"\u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043b\u043e\u0433\u0438\u043d\u0438\u0442\u0435\u0441\u044c \u043f\u043e ssh \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u043b\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440, \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435 \u0443\u043d\u044b\u043b\u043e\u0435 \u0433\u043e\u0432\u043d\u043e \u043e\u0434\u043d\u0443 \u0438 \u0442\u0443 \u0436\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u0443: Last login: Mon Aug 17 15:02:25 2009 from ip.com Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California.\u00a0 All rights reserved. FreeBSD x.y-RELEASE-pZ (KERNEL) #A: Thu Apr\u2026 <span class=\"read-more\"><a href=\"https:\/\/netspider.com.ua\/index.php\/2009\/08\/18\/nastraivaemoe-privetstvie-v-konsoli\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/span>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[553,555,414,529,534,558,563,48,557,200,470,556,436,554,415,432,528,1796,562,559,532,561,560],"class_list":["post-367","post","type-post","status-publish","format-standard","hentry","category-main","tag-bash","tag-bashrc","tag-console","tag-csh","tag-cshrc","tag-customization","tag-fortune","tag-freebsd","tag-hushlogin","tag-linux","tag-login","tag-logout","tag-matrix","tag-motd","tag-shell","tag-ssh","tag-tcsh","tag-unix","tag-welcome","tag-kastomizatsiya","tag-konsol","tag-matritsa","tag-neo"],"_links":{"self":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/comments?post=367"}],"version-history":[{"count":0,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/367\/revisions"}],"wp:attachment":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/media?parent=367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/categories?post=367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/tags?post=367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}