{"id":2945,"date":"2015-09-06T08:10:01","date_gmt":"2015-09-05T23:10:01","guid":{"rendered":"https:\/\/160.16.84.155\/wordpress\/?p=2945"},"modified":"2015-09-05T01:38:05","modified_gmt":"2015-09-04T16:38:05","slug":"openssh-7-1p1","status":"publish","type":"post","link":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/2015\/09\/openssh-7-1p1.html","title":{"rendered":"OpenSSH 7.1p1"},"content":{"rendered":"<p>CentOS6.7\u306b\u306f\u6a19\u6e96\u3067OpenSSH5.3p1\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u9375\u8a8d\u8a3c\u3067<strong>ED25519<\/strong>\u3068\u3044\u3046\u65b0\u3057\u3044\u3082\u306e\u3092\u4f7f\u3044\u305f\u304b\u3063\u305f\u306e\u3067\u6700\u65b0\u7248\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u307e\u3057\u305f\u3002<br \/>\n2015\u5e749\u67085\u65e5\u6642\u70b9\u3067\u306e\u6700\u65b0\u7248\u306f<strong>7.1p1<\/strong>\u3067\u3059\u3002<br \/>\n\u8a00\u3046\u307e\u3067\u3082\u306a\u304f\u3001\u9014\u4e2d\u3067sshd\u306f\u843d\u3061\u307e\u3059\u306e\u3067SSH\u4ee5\u5916\u306e\u63a5\u7d9a\u624b\u6bb5\u3092\u5fc5\u305a\u7528\u610f\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4f5c\u696d\u306froot\u30e6\u30fc\u30b6\u30fc\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:sh decode:true\" title=\"\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\"># yum groupinstall \"Base\" \"Development tools\"\r\n# yum install openssl-devel krb5-devel pam-devel tcp_wrappers-devel<\/pre>\n<p>1. \u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"lang:sh decode:true \" title=\"\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4fee\u6b63\"># cd ~\r\n# wget http:\/\/www.ftp.ne.jp\/OpenBSD\/OpenSSH\/portable\/openssh-7.1p1.tar.gz\r\n# tar zxvf openssh-7.1p1.tar.gz\r\n# vi openssh-7.1p1\/contrib\/redhat\/openssh.spec\r\n\u2193\u3053\u306e\u3088\u3046\u306b\u5909\u66f4\u3059\u308b\r\n  %define no_x11_askpass 1\r\n  %define no_gnome_askpass 1<\/pre>\n<p>2. \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4fee\u6b63<\/p>\n<pre class=\"lang:sh decode:true\" title=\"configure\"># cd openssh-7.1p1\/contrib\r\n# rm -rf aix\/ cygwin\/ hpux\/ solaris\/ suse\/\r\n# cd ..\r\n# .\/configure --without-zlib-version-check<\/pre>\n<p>3. configure\u3059\u308b<\/p>\n<pre class=\"lang:sh decode:true\" title=\"\u30d3\u30eb\u30c9\"># cd ..\r\n# tar czvf openssh-7.1p1.cust.tar.gz openssh-7.1p1\/\r\n# rm -rf openssh-7.1p1\r\n# rpmbuild --tb --clean --openssh-7.1p1.cust.tar.gz<\/pre>\n<p>4. \u30d3\u30eb\u30c9\u3059\u308b<\/p>\n<pre class=\"lang:sh decode:true\" title=\"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\"># yum remove openssh\r\n# cd \/root\/rpmbuild\/RPMS\/x86_64\r\n# rpm -Uvh openssh-7.1p1-1.x86_64.rpm\r\n# rpm -Uvh openssh-clients-7.1p1-1.x86_64.rpm\r\n# rpm -Uvh openssh-debuginfo-7.1p1-1.x86_64.rpm\r\n# rpm -Uvh openssh-server-7.1p1-1.x86_64.rpm<\/pre>\n<p>5. \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<p>\u3053\u308c\u3067\u6700\u65b0\u7248\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<br \/>\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb(sshd_config)\u3092\u4fee\u6b63\u3057\u3066\u3001sshd\u3092\u8d77\u52d5\u3059\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS6.7\u306b\u306f\u6a19\u6e96\u3067OpenSSH5.3p1\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u9375\u8a8d\u8a3c\u3067ED25519\u3068\u3044\u3046\u65b0\u3057\u3044\u3082\u306e\u3092\u4f7f\u3044\u305f\u304b\u3063\u305f\u306e\u3067\u6700\u65b0\u7248\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u307e\u3057\u305f\u3002 2015\u5e749\u67085\u65e5\u6642\u70b9\u3067\u306e\u6700\u65b0\u7248\u306f7. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2945","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/posts\/2945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/comments?post=2945"}],"version-history":[{"count":7,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/posts\/2945\/revisions"}],"predecessor-version":[{"id":2952,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/posts\/2945\/revisions\/2952"}],"wp:attachment":[{"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/media?parent=2945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/categories?post=2945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/tags?post=2945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}