{"id":102530,"date":"2020-05-04T04:56:40","date_gmt":"2020-05-03T20:56:40","guid":{"rendered":"http:\/\/4563.org\/?p=102530"},"modified":"2020-05-04T04:56:40","modified_gmt":"2020-05-03T20:56:40","slug":"%e8%af%b7%e6%95%99%e5%9c%a8-linux-%e4%b8%8b%e7%bc%96%e8%af%91%e5%ae%89%e8%a3%85-openssh-%e7%9b%b8%e5%85%b3%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=102530","title":{"rendered":"\u8bf7\u6559\u5728 Linux \u4e0b\u7f16\u8bd1\u5b89\u88c5 OpenSSH \u76f8\u5173\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u6559\u5728 Linux \u4e0b\u7f16\u8bd1\u5b89\u88c5 OpenSSH \u76f8\u5173\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : king1688888888 <\/span>  <span><i><\/i> 70<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u65b0\u624b\u521a\u63a5\u89e6 OpenSSH \u6e90\u7801\u7f16\u8bd1\u5b89\u88c5\uff0c\u4f7f\u7528\u4e86\u6700\u65b0\u7684 OpenSSL 1.1.1d \uff0c\u5e94\u8be5\u7b97\u662f\u987a\u5229\u5b8c\u6210\u7f16\u8bd1\u5427\u3002\u73b0\u5728\u60f3\u628a\u7f16\u8bd1\u597d\u7684 OpenSSH \u6253\u4e2a\u538b\u7f29\u5305\u53d1\u7ed9\u522b\u4eba\u4f7f\u7528\uff08\u64cd\u4f5c\u7cfb\u7edf\u53d1\u884c\u7248\u76f8\u540c\uff09\uff0c\u4f46\u522b\u4eba\u7684\u673a\u5b50\u4e0a\u5e76\u6ca1\u6709\u5b89\u88c5 OpenSSL 1.1.1d \uff08 libcrypto.so.1.1 \uff09\uff0c\u6240\u4ee5\u4e0d\u80fd\u89e3\u538b\u5373\u7528\u3002\u767e\u5ea6\u8c37\u6b4c\u4e86\u4e00\u756a\u5927\u6982\u8bf4\u662f\u52a8\u6001\u5e93 so\u3001\u9759\u6001\u5e93 a \u7684\u95ee\u9898\uff0c\u4f46\u5728\u64cd\u4f5c\u4e0a\u8fd8\u662f\u5f88\u591a\u4e0d\u660e\u767d\uff0c\u8bf7\u6559\u4e00\u4e0b\u5982\u4f55\u624d\u80fd\u628a OpenSSL 1.1.1d \uff08 libcrypto.a \uff09\u201c\u56fa\u5316\u201d\u5230 OpenSSH \u7a0b\u5e8f\u91cc\uff0c\u5b9e\u73b0\u522b\u4eba\u673a\u5b50\u4e0a\u4e5f\u80fd\u76f4\u63a5\u4f7f\u7528\uff1f<\/p>\n<p>\u7f16\u8bd1 OpenSSL \u7684\u53c2\u6570\uff1a<\/p>\n<p>.\/config <br \/>&#8211;prefix=\/usr\/local\/openssl-1.1.1d <br \/>&#8211;openssldir=\/usr\/local\/openssl-1.1.1d\/ssl -fPIC<\/p>\n<p>\u7f16\u8bd1 OpenSSH \u7684\u53c2\u6570\uff1a<\/p>\n<p>.\/configure <br \/>&#8211;prefix=\/usr <br \/>&#8211;sysconfdir=\/etc\/ssh <br \/>&#8211;with-ssl-dir=\/usr\/local\/openssl-1.1.1d <br \/>&#8211;with-zlib=\/usr\/local\/zlib-1.2.11 <br \/>&#8211;with-pam <br \/>&#8211;with-md5-passwords<\/p>\n<p>\u7f16\u8bd1\u540e\u7684 OpenSSH \u5728\u672c\u673a\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\uff0c\u7248\u672c\u5982\u4e0b\uff1a<\/p>\n<p>[[email&#160;protected] ~]# ssh -V<br \/>OpenSSH_8.1p1, OpenSSL 1.1.1d 10 Sep 2019<\/p>\n<p>[[email&#160;protected] ~]# ldd \/usr\/bin\/ssh<br \/> linux-vdso.so.1 =&gt; (0x00007fff2e1e7000)<br \/> libcrypto.so.1.1 =&gt; \/usr\/local\/openssl-1.1.1d\/lib\/libcrypto.so.1.1 (0x00007f05288f7000)<br \/> librt.so.1 =&gt; \/lib64\/librt.so.1 (0x00007f05286ee000)<br \/> libdl.so.2 =&gt; \/lib64\/libdl.so.2 (0x00007f05284ea000)<br \/> libutil.so.1 =&gt; \/lib64\/libutil.so.1 (0x00007f05282e7000)<br \/> libz.so.1 =&gt; \/usr\/local\/zlib-1.2.11\/lib\/libz.so.1 (0x00007f05280cf000)<br \/> libcrypt.so.1 =&gt; \/lib64\/libcrypt.so.1 (0x00007f0527e97000)<br \/> libresolv.so.2 =&gt; \/lib64\/libresolv.so.2 (0x00007f0527c7d000)<br \/> libc.so.6 =&gt; \/lib64\/libc.so.6 (0x00007f05278e9000)<br \/> libpthread.so.0 =&gt; \/lib64\/libpthread.so.0 (0x00007f05276cb000)<br \/> \/lib64\/ld-linux-x86-64.so.2 (0x000055568f294000)<br \/> libfreebl3.so =&gt; \/lib64\/libfreebl3.so (0x00007f05274c8000)      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>23<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"686679\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53c8\u89c1\u7f16\u8bd1\u5b89\u88c5\u5927\u6cd5\u3002\u3002\u3002\u3002<br \/>0202 \u5e74\u4e86\uff0c\u4ec0\u4e48\u53d1\u884c\u7248\u6ca1\u6709 openssh                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686680\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhao305149619 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5e94\u8be5\u90fd\u6709\u53d1\u884c\u7248\u5427,\u628a\u8fd9\u4e2a\u4f9d\u8d56\u5199\u4e0a\u53bb,\u901a\u8fc7 repo \u76f4\u63a5\u62c9\u4f9d\u8d56\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686681\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : king1688888888 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @codehz \u8bf7\u6559 RHEL6\/CentOS6 \u4e0b\u7684 OpenSSH 8.1p1 \u6700\u65b0\u7248\u7684 rpm \u5728\u54ea\u91cc\u83b7\u53d6\uff0c\u975e\u5e38\u611f\u8c22\u3002\u6211\u6682\u65f6\u53ea\u770b\u5230\u5b98\u65b9\u5728\u66f4\u65b0 5.3 \u7248\u672c\uff0c\u5c31\u662f\u5c0f\u7248\u672c\u53f7\u5728\u5347\u7ea7\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686682\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dream4ever <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @king1688888888 \u4e4b\u524d\u7814\u7a76\u8fc7\u7c7b\u4f3c\u95ee\u9898\uff0c\u5f53\u65f6\u60f3\u5728 CentOS 7 \u4e0a\u5347\u7ea7 OpenSSH \u548c OpenSSL\uff0c\u770b\u5230\u4e0b\u9762\u94fe\u63a5\u91cc\u7684\u56de\u590d\uff0c\u5f3a\u70c8\u4e0d\u5efa\u8bae\u5927\u7248\u672c\u5347\u7ea7\uff0c\u4e8e\u662f\u4f5c\u7f62\u3002<\/p>\n<p>https:\/\/forums.centos.org\/viewtopic.php?t=54967                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686683\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : king1688888888 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dream4ever \u8c22\u8c22\u5206\u4eab\u3002\u6211\u60c5\u51b5\u662f\u8fd9\u6837\u7684\uff0c\u6765\u5355\u4f4d\u68c0\u67e5\u5b89\u5168\u7684\u4eba\u5c31\u662f\u4e00\u6839\u7b4b\u96be\u6c9f\u901a\uff0c\u5c31\u662f\u8981\u770b\u5230 ssh -V \u540e\uff0c\u663e\u793a\u6700\u65b0\u7248\u672c\u7684 OpenSSH\u3001OpenSSL \u7248\u672c\uff0c\u6211\u5df2\u7ecf\u89e3\u91ca\u8fc7\u5b98\u65b9\u5728\u7ef4\u62a4 5.3 \u8fd9\u4e2a\u5927\u7248\u672c\u53f7\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686684\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dream4ever <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @king1688888888 \u90a3\u5c31\u5f88\u9ebb\u70e6\u4e86\u3002\u4e0d\u8fc7\u80fd\u4e0d\u80fd\u505a\u4e2a\u201c\u5047\u7684\u201d ssh -V \u4e34\u65f6\u5e94\u4ed8\u4e00\u4e0b\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686685\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : prondtoo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4eec\u662f\u9664\u975e\u6709\u91cd\u5927\u5b89\u5168\u95ee\u9898\u7206\u51fa\u6765\uff0c\u5f53\u7136\u8f6f\u4ef6\u9a6c\u4e0a\u4f1a\u6709\u901a\u77e5\uff0c\u5426\u5219\u751f\u4ea7\u73af\u5883\u52a8\u90fd\u4e0d\u7ed9\u52a8\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686686\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhao305149619 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u7f16\u8bd1\u8fc7\u5927\u7248\u672c,\u6709\u4e24\u4e2a\u65b9\u6cd5,\u53ef\u4ee5\u4fee\u6539\u7248\u672c\u4fe1\u606f\u6b3a\u9a97\u8fc7\u53bb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686687\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : z775781 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @king1688888888 \u53ea\u770b SSH -V \u7684\u7248\u672c\uff0c\u4f60\u53ef\u4ee5\u7f16\u8bd1\u7684\u65f6\u5019\u4fee\u6539 ssh \u4e3a\u9ad8\u7248\u672c\uff0c\u7701\u4e8b\u513f\u53cd\u6b63 5.3 \u7684 ssh \u4e5f\u5728\u7ef4\u62a4\uff0c\u4e0d\u6015\u6709\u6d1e\u5b50\u4ec0\u4e48\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686688\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jinliming2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bd5\u8bd5\uff1a<br \/>OpenSSH \u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u7528 ldd \u547d\u4ee4\u770b\u4e00\u4e0b\u4f9d\u8d56\uff0c\u7136\u540e\u628a\u5bf9\u5e94\u7684\u6240\u6709\u4f9d\u8d56\u5e93\u90fd\u590d\u5236\u8fc7\u53bb\uff08\u5370\u8c61\u4e2d\u548c\u4e8c\u8fdb\u5236\u6587\u4ef6\u653e\u5728\u4e00\u8d77\u5c31\u53ef\u4ee5\u4f18\u5148\u52a0\u8f7d\uff1f\u8fd8\u662f\u9700\u8981\u914d\u4e2a\u542f\u52a8\u53c2\u6570\uff1f\u4e0d\u592a\u8bb0\u5f97\u4e86\uff09<br \/>\u6ce8\u610f\u7684\u662f\uff0c\u90e8\u5206\u4f9d\u8d56\u662f\u865a\u62df\u7684\uff0c\u627e\u4e0d\u5230\u7684\u8bdd\u5e94\u8be5\u53ef\u4ee5\u8df3\u8fc7\u2026\u2026<br \/>\u8fd8\u6709\u5c31\u662f\u4f9d\u8d56\u7684\u52a8\u6001\u5e93\u5927\u90e8\u5206\u90fd\u5199\u7684\u662f\u4e2a\u8f6f\u94fe\u63a5\u7684\u8def\u5f84\uff0c\u8bb0\u5f97\u627e\u5230\u539f\u59cb\u6587\u4ef6\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686689\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nicebird <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9759\u6001\u7f16\u8bd1+\u4e8c\u8fdb\u5236\u53d1\u5e03\u3002<\/p>\n<p>\u53ea\u8981\u5bf9\u9762\u53d1\u884c\u7248\u4e00\u81f4\u4e00\u822c\u6ca1\u95ee\u9898\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686690\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hconk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/gist.github.com\/Hconk\/a3632f79f2c6db6a9d4c9a26856236c9 <button onclick=\"lazyGist(this)\">\u00a0\u663e\u793a Gist \u4ee3\u7801\u00a0<\/button> <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686691\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : alphatoad <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Docker \u5427\uff0c\u7ed9\u81ea\u5df1\u591a\u7559\u51e0\u6839\u5934\u53d1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686692\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : maxwel1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5728\u6709\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ea\u80fd\u901a\u8fc7\u7f16\u8bd1\u6e90\u4ee3\u7801\u5b89\u88c5\uff0c\u6bd4\u5982\u670d\u52a1\u5668\u4e25\u7981\u4e86\u89e3\u5916\u7f51\uff0c\u6216\u8005\u6ca1\u6709\u5b89\u88c5\u6743\u9650\uff0c\u8fd9\u65f6\u5019\u5c31\u53ea\u80fd\u9009\u62e9\u7f16\u8bd1\u5b89\u88c5\u3002<br \/>\u5982\u679c\u5e0c\u671b\u76f4\u63a5\u5728\u53e6\u4e00\u53f0\u8bbe\u5907\u4e0a\u4f7f\u7528\uff0c\u90a3\u4e48\u7f16\u8bd1\u7684\u65f6\u5019&#8211;prefix \u5c31\u4e0d\u8981\u9009\u5230\u7cfb\u7edf\u76f8\u5173\u7684\u76ee\u5f55\u4e86\uff0c\u76f4\u63a5\u9009\u4e00\u4e2a\u81ea\u5df1\u7528\u7684\u76ee\u5f55\u6bd4\u5982~\/test\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u628a test \u76ee\u5f55\u4e00\u8d77\u6253\u5305\uff0c\u62f7\u8d1d\u5230\u53e6\u4e00\u53f0\u8bbe\u5907\u540e\u5728\u53e6\u4e00\u53f0\u8bbe\u5907\u4e0a\u8bbe\u7f6e\u4e00\u4e0b\u73af\u5883\u53d8\u91cf\u3002<br \/>\u5173\u4e8e\u7528\u5230\u7684\u52a8\u6001\u5e93\u7684\u95ee\u9898\uff0c\u53c2\u8003 10 \u7684\u65b9\u6cd5\u5427\uff0c\u80fd\u4e0d\u80fd\u7528\u770b\u8fd0\u6c14\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686693\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : king1688888888 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nicebird \u6211\u5c31\u662f\u60f3\u4e86\u89e3\u9759\u6001\u7f16\u8bd1\u662f\u600e\u4e48\u505a\uff0c\u8bf7\u5927\u795e\u89e3\u60d1\u3002OpenSSL 1.1.1d \u7f16\u8bd1\u51fa\u6765\u7684\u9759\u6001\u5e93\u662f libcrypto.a\uff0c\u4e0d\u77e5\u9053\u600e\u4e48\u624d\u80fd\u628a\u5b83\u201c\u56fa\u5316\u201d\u5230 ssh \u548c sshd \u8fd9\u4e24\u4e2a\u7a0b\u5e8f\u91cc\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686694\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : james122333 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u7684\u4f5c\u6cd5\u662f\u5bf9\u7684 \u53ea\u662f\u4e0d\u8981\u6307\u5b9a prefix<br \/>\u4e86\u89e3\u8d8a\u591a\u8d8a\u77e5\u9053\u9884\u8bbe\u6c38\u8fdc\u4e0d\u591f \u4e0d\u591f\u6781\u9650                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686695\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhao305149619 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @maxwel1 \u4e25\u7981\u5916\u7f51\u4e5f\u662f\u53ef\u4ee5\u79bb\u7ebf\u7f16\u8bd1\u540e\u518d\u5b89\u88c5\u7684,\u4e86\u89e3\u4e00\u4e0b RPM \u5305\u7684\u7f16\u8bd1\u5427,\u4f1a\u628a buildrequire \u548c installrequire \u5199\u7684\u5f88\u6e05\u695a.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686696\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : maxwel1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ maxwel1 \u4e25\u7981\u5916\u7f51\u4e5f\u662f\u53ef\u4ee5\u79bb\u7ebf\u7f16\u8bd1\u540e\u518d\u5b89\u88c5\u7684,\u4e86\u89e3\u4e00\u4e0b RPM \u5305\u7684\u7f16\u8bd1\u5427,\u4f1a\u628a buildrequire \u548c installrequire \u5199\u7684\u5f88\u6e05\u695a.<\/p>\n<p>\u4e0d\u6e05\u695a\u4f60\u6709\u6ca1\u6709\u5728\u79bb\u7ebf\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u8fc7\u8f6f\u4ef6 \u3002\u670d\u52a1\u5668\u8ddf\u4f60\u672c\u5730\u73af\u5883\u90fd\u4e0d\u4e00\u6837\uff0crpm \u7684\u4f9d\u8d56\u4e0d\u4e00\u6837\uff0c\u6839\u672c\u4e0d\u662f\u6267\u884c\u51e0\u4e2a\u547d\u4ee4\u5c31\u53ef\u4ee5\u7684\uff0c\u9664\u4e86 home \u5176\u4ed6\u76ee\u5f55\u90fd\u6ca1\u6709\u5199\u6743\u9650\uff0c\u600e\u4e48\u88c5\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686697\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ps1aniuge <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4ffa\u89c9\u5f97\u8fd9\u4e0d\u662f\u4e00\u4e2a\u7f16\u8bd1\u95ee\u9898\uff0c\u800c\u662f\u4e00\u4e2a sshd \u7248\u672c\u5b89\u5168\u5ea6\u7684\u626f\u76ae\u95ee\u9898\u3002\u95ee\u9898\u5982\u4e0b\uff1a<\/p>\n<p>1 centos6 \u4e2d\uff0c\u6700\u65b0\u7684 openssl\uff0copenssh-server \u5305\uff0c\u662f\u5426\u5df2\u7ecf\u4e0d\u5b89\u5168\uff1f\u662f\u7684\u8bdd\uff0c\u54ea\u91cc\u4e0d\u5b89\u5168\uff1f<br \/>2 1 centos6 \u4e2d\uff0c\u6700\u65b0\u7684 openssl\uff0copenssh-server \u5305\uff0c\u5bf9\u6bd4 ssh-server 8.1p1 \uff0c\u662f\u5426\u66f4\u4e0d\u5b89\u5168\uff1f\u5373\u8fd9\u4e24\u4e2a\u54ea\u4e2a\u66f4\u5b89\u5168\uff1f<\/p>\n<p>\u6211\u5efa\u8bae\u4e3b\u628a\u8fd9\u4e24\u4e2a\u95ee\u9898\uff0c\u8d34\u5230 centos \u5b98\u65b9\uff0c\u8ba9\u5b98\u65b9\u4eba\u5458\u89e3\u7b54\u4e0b\u3002\u6709\u4e86\u7ed3\u8bba\u540e\uff0c\u518d\u8fdb\u884c\u66f4\u65b0\u4e0e\u5426\u3002<br \/>============================<br \/>\u9636\u6bb5 2\uff1a<br \/>\u5047\u8bbe\u5f97\u5230\u7684\u7ed3\u8bba\u662f\u5e94\u8be5\u66f4\u65b0\u5230\u6700\u65b0\u7248\u3002<br \/>\u4f46\u4f60\u81ea\u5df1\u7f16\u8bd1\u66f4\u65b0\u540e\uff0c\u51fa\u73b0\u6f0f\u6d1e\u548b\u529e\uff1f\u6ca1\u7ecf\u8fc7\u5927\u89c4\u6a21\u6d4b\u8bd5\uff0c\u51fa\u73b0\u95ee\u9898\u548b\u529e\uff1f\u8c01\u8d1f\u8d23\uff1f<\/p>\n<p>\u8fd9\u91cc\u6211\u4e3b\u8981\u8bf4\u7684\u5443\u662f\uff1a<br \/>\u81ea\u5b9a\u4e49\u7684\u65b0\u8f6f\u4ef6\uff0c\u548c\u65e7\u7cfb\u7edf\uff0c\u9690\u85cf\u7684\u4e0d\u5339\u914d\u3002<br \/>\u6bd4\u5982\u6784\u9020\u4e00\u4e2a\u9519\u8bef\uff0c\u5c31\u53ef\u4ee5\u7ed5\u8fc7 sshd\u3002<br \/>\u5373\u4fbf\u6ca1\u6709\u8fd9\u4e2a\u9519\u8bef\uff0c\u65b0\u8f6f\u4ef6\u7528\u4e86\u540e\uff0c\u5f88\u5361\u987f\uff0c\u548b\u529e\uff1f\u8c01\u8d1f\u8d23\uff1f<\/p>\n<p>============================<br \/>\u989d\u5916\u60f3\u548c\u5927\u5bb6\u8ba8\u8bba\u8fd9\u4e2a\u95ee\u9898\uff1a<br \/>1 \u6392\u9664\u53d1\u884c\u7248\u81ea\u5e26\u7684 sshd \u5305\u4e0d\u8c08\uff0c\u53ea\u8bf4 openssh \u5b98\u65b9\u7684\u5305\u3002<br \/>2 \u7528\u5565\u7248\u672c\u624d\u80fd\u8ba9 sshd \u66f4\u5b89\u5168\uff1f\u4e00\u822c\u6765\u8bb2\u5927\u7248\u672c\u843d\u540e 1&#8212;2 \u4e2a\u7248\u672c\u3002\u5c0f\u7248\u672c\u6700\u65b0\u3002\u8fd9\u4e2a\u7b56\u7565\u5bf9 openssh \u7ba1\u7528\u4e48\uff1f<\/p>\n<p>\u6211\u770b\u8c8c\u4f3c openssh \u5b98\u65b9\u53ea\u66f4\u65b0\u5927\u7248\u672c\uff0c\u800c\u4e0d\u66f4\u65b0\u5c0f\u7248\u672c\u3002<br \/>\u4e5f\u5c31\u662f\u8bf4\uff0copenssh \u5b98\u65b9\u7684\u7248\u672c\u5347\u7ea7\u53ea\u6709 1 \u6761\u8def\u7ebf\u3002\u800c\u4e0d\u662f\u591a\u7248\u672c\u540c\u65f6\u7ef4\u62a4\u3002<br \/>\u4f60\u6ca1\u529e\u6cd5\u8fd9\u6837\u7528\u201c\u5927\u7248\u672c\u843d\u540e 1&#8212;2 \u4e2a\u7248\u672c\u3002\u5c0f\u7248\u672c\u6700\u65b0\u201d\uff0c\u5bf9\u4e0d\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686698\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : king1688888888 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ps1aniuge \u670b\u53cb\u8bf4\u5230\u70b9\u5b50\u4e0a\u4e86\uff01\uff01\uff01\u6211\u7684\u60c5\u51b5\u662f\u8fd9\u6837\uff0c\u5355\u4f4d\u53c8\u8bf7\u4e86\u6240\u8c13\u7684\u5b89\u5168\u56e2\u961f\u8fc7\u6765\u68c0\u67e5\uff0c\u8fd9\u4e9b\u4eba\u4e00\u8fc7\u6765\u5c31\u7528\u7eff\u76df\u6f0f\u6d1e\u626b\u63cf\uff0cSSH 5.3 \u6211\u5df2\u7ecf\u5347\u7ea7\u5230\u5b98\u65b9\u6700\u65b0\u7684\u5c0f\u7248\u672c\uff0c\u7eff\u76df\u8fd8\u662f\u626b\u51fa\u4e86 SSH \u6f0f\u6d1e\u3002\u968f\u540e\u6211\u5c31\u95ee\u600e\u6837\u624d\u7b97\u901a\u8fc7\uff0c\u4ed6\u4eec\u5c31\u6765\u4e00\u53e5 ssh -V\uff0c\u53ea\u8981 SSH \u7248\u672c\u548c SSL \u7248\u672c\u662f\u5f53\u524d\u5b98\u7f51\u6700\u65b0\uff0c\u5c31\u7b97\u901a\u8fc7\uff08\u5373\u4fbf\u7eff\u76df\u4e5f\u626b\u5230\u6f0f\u6d1e\uff09\uff01\u6700\u540e\u6ca1\u529e\u6cd5\uff0c\u5148\u53bb\u5b98\u65b9\u627e RPM \u5305\uff0c\u5b98\u65b9\u53c8\u6ca1\u6709\uff0c\u81ea\u5df1\u505a RPM \u5305\u7684\u8bdd\uff0c\u8fd8\u4e0d\u5982\u81ea\u5df1\u7f16\u8bd1\uff0c\u7136\u540e\u62f7\u8d1d\u5230\u522b\u7684\u673a\u5b50\u4e0a\u8fd0\u884c\u3002\u778e\u6298\u817e\u4e86\u534a\u5929\uff0c\u7b97\u662f\u5168\u90e8\u901a\u8fc7\u68c0\u67e5\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686699\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : king1688888888 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @maxwel1 \u8c22\u8c22\u6307\u5bfc\u3002\u4e0d\u7814\u7a76\u4e86\uff0c\u76f4\u63a5\u62f7\u8d1d\u52a8\u6001\u5e93\u8fc7\u53bb\u5bf9\u65b9\u673a\u5b50\u7b97\u4e86\u3002\u672c\u60f3\u7740\u628a\u9759\u6001\u5e93\u52a0\u5230 SSH \u7a0b\u5e8f\u91cc\uff0c\u8c37\u6b4c\u4e86\u4e00\u5708\u8fd8\u662f\u4e0d\u61c2\u600e\u4e48\u5b9e\u73b0\uff0c\u653e\u5f03\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686700\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ps1aniuge <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             SSH5.3 \u5df2\u7ecf\u5347\u7ea7\u5230\u5b98\u65b9\u6700\u65b0\u7684\u5c0f\u7248\u672c\uff0c\u7eff\u76df\u8fd8\u662f\u626b\u51fa\u4e86 SSH \u6f0f\u6d1e\u3002&#8212;&#8212;&#8212;&#8212;&#8212;\u90fd\u626b\u51fa\u4e86\u4ec0\u4e48\u6d1e\uff1f cve \u662f\u591a\u5c11\uff1f\u62ff\u7740\u8fd9\u4e2a\u5230\u5b98\u65b9\u53bb\u95ee\uff0c\u4f60\u53ea\u9700\u8981\u5e26\u8282\u594f\uff1b\uff09\u8ba9\u4ed6\u4fe9\u53bb pk\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"686701\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ps1aniuge <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u968f\u7740 linux \u88ab\u6302\u9a6c\uff0c\u88ab\u6316\u77ff\uff0c\u88ab\u52d2\u7d22\u589e\u591a\u3002\u5feb\u8fc7\u5e74\u4e4b\u524d\uff0c\u5e7f\u5927 it \u5b89\u5168\u7763\u5bdf\u4eba\u5458\uff08\u4fe1\u606f\u90e8\u9526\u8863\u536b\uff09\u884c\u52a8\u8d77\u6765\u4e86\uff0c\u6211\u5f88\u6b23\u6170\u3002\u8fd8\u6709\u4eba\u8ba8\u538c win \u6bcf\u6708\u66f4\u65b0\u8865\u4e01\u4e48\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559\u5728 Linux \u4e0b\u7f16\u8bd1\u5b89\u88c5 O&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/102530"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=102530"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/102530\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=102530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=102530"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=102530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}