{"id":664,"date":"2014-07-28T13:48:03","date_gmt":"2014-07-28T05:48:03","guid":{"rendered":"http:\/\/www.yusian.com\/blog\/?p=664"},"modified":"2016-07-16T21:42:15","modified_gmt":"2016-07-16T13:42:15","slug":"centos-ssh%e7%99%bb%e5%bd%95%e5%a2%9e%e5%8a%a0%e6%ac%a2%e8%bf%8e%e9%a1%b5banner","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/centos\/2014\/07\/28\/134803664.html","title":{"rendered":"CentOS SSH\u767b\u5f55\u589e\u52a0\u6b22\u8fce\u9875(Banner)"},"content":{"rendered":"<p><strong>1\u3001\u8fdb\u5165SSH\u7684\u914d\u7f6e\u76ee\u5f55<\/strong><\/p>\n<p>[root@Crayfish ~]# cd \/etc\/ssh<\/p>\n<p><strong>2\u3001\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<\/strong><\/p>\n<pre line=\"1\">[root@Crayfish ssh]# vi sshd_config \n\n#       $OpenBSD: sshd_config,v 1.80 2008\/07\/02 02:24:18 djm Exp $\n\n# This is the sshd server system-wide configuration file.  See\n# sshd_config(5) for more information.\n\n# This sshd was compiled with PATH=\/usr\/local\/bin:\/bin:\/usr\/bin\n\n# The strategy used for options in the default sshd_config shipped with\n# OpenSSH is to specify options with their default value where\n# possible, but leave them commented.  Uncommented options change a\n# default value.\n\n#Port 22\n#ListenAddress 0.0.0.0\n#ListenAddress ::\n\n\u2026\u2026\n\n<\/pre>\n<p>\u5728\u672b\u5c3e\u6dfb\u52a0\uff1a<br \/>\nBanner \/etc\/banner<\/p>\n<p><strong>3\u3001\u81ea\u5b9a\u4e49banner\u5185\u5bb9<\/strong><br \/>\n[root@Crayfish ssh]# vi \/etc\/banner<\/p>\n<p>\u628a\u6b22\u8fce\u8bed\u6216\u63d0\u793a\u4fe1\u606f\u5199\u5165 \/etc\/banner(centos6.4)\u5373\u53ef\uff0c\u7b80\u5355\u7684\u5f88\uff01<\/p>\n<p><strong>\u53c2\u8003\u94fe\u63a5\uff1a<\/strong><a href=\"http:\/\/www.yusian.com\/blog\/centos\/2014\/07\/28\/140535.html\" target=\"_blank\">CentOS \u547d\u4ee4\u884c\u767b\u5f55\u6b22\u8fce\u8bcd<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u8fdb\u5165SSH\u7684\u914d\u7f6e\u76ee\u5f55 [root@Crayfish ~]# cd \/etc\/ssh 2\u3001\u4fee\u6539\u914d\u7f6e\u6587\u4ef6 [root@Crayfish ssh]# vi sshd_config # $OpenBSD: sshd_config,v 1.80 2008\/07\/02 02:24:18 djm Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. # This sshd was compiled with PATH=\/usr\/local\/bin:\/bin:\/usr\/bin # The strategy used for options in the default sshd_config shipped with # OpenSSH [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[8],"class_list":["post-664","post","type-post","status-publish","format-standard","hentry","category-centos","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=664"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/664\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}