{"id":39236,"date":"2025-05-23T07:26:09","date_gmt":"2025-05-22T23:26:09","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/39236.html"},"modified":"2025-05-23T07:26:09","modified_gmt":"2025-05-22T23:26:09","slug":"%e5%9c%a8%e7%a6%bb%e7%ba%bf-openeuler-22-03-%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%8d%87%e7%ba%a7-openssh-%e7%9a%84%e5%ae%8c%e6%95%b4%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/39236.html","title":{"rendered":"\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6307\u5357"},"content":{"rendered":"<p>\u5f53\u7136\u53ef\u4ee5&#xff01;\u4ee5\u4e0b\u662f\u4e00\u7bc7\u7ed3\u6784\u6e05\u6670\u3001\u8bed\u8a00\u901a\u4fd7\u6613\u61c2\u7684\u6280\u672f\u535a\u5ba2\u8349\u7a3f&#xff0c;\u4f9b\u4f60\u53c2\u8003\u548c\u4f7f\u7528&#xff1a;<\/p>\n<hr \/>\n<h2>\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6307\u5357<\/h2>\n<h3>\u80cc\u666f\u4ecb\u7ecd<\/h3>\n<p>\u6700\u8fd1\u5728\u5bf9\u4e00\u53f0\u5185\u7f51\u7684 OpenEuler-22.03 \u670d\u52a1\u5668\u8fdb\u884c\u5b89\u5168\u626b\u63cf\u65f6&#xff0c;\u53d1\u73b0\u5176 SSH \u7248\u672c\u5b58\u5728\u591a\u4e2a\u9ad8\u5371\u6f0f\u6d1e&#xff0c;\u5176\u4e2d\u751a\u81f3\u5305\u542b\u4e00\u4e2a 2024 \u5e74\u62ab\u9732\u7684 CVE \u6f0f\u6d1e\u3002\u8fd9\u5f15\u8d77\u4e86\u6211\u4eec\u7684\u9ad8\u5ea6\u91cd\u89c6\u3002<\/p>\n<p>\u901a\u8fc7\u547d\u4ee4\u67e5\u770b\u5f53\u524d SSH \u7248\u672c&#xff1a;<\/p>\n<p><span class=\"token function\">rpm<\/span> <span class=\"token parameter variable\">-q<\/span> openssh<\/p>\n<p>\u8f93\u51fa\u7ed3\u679c\u4e3a&#xff1a;<\/p>\n<p>openssh-8.8p1-32.oe2203sp3.x86_64<\/p>\n<p>\u800c\u6b64\u65f6 OpenSSH \u5b98\u65b9\u7248\u672c\u5df2\u7ecf\u66f4\u65b0\u5230\u4e86 v10&#xff0c;\u663e\u7136\u6211\u4eec\u9700\u8981\u5c3d\u5feb\u5c06\u7cfb\u7edf\u4e0a\u7684 OpenSSH \u5347\u7ea7\u5230\u6700\u65b0\u4fee\u590d\u7248\u672c\u3002<\/p>\n<p>\u7136\u800c&#xff0c;\u7531\u4e8e\u8be5\u670d\u52a1\u5668\u5904\u4e8e\u5185\u7f51\u9694\u79bb\u73af\u5883&#xff08;\u65e0\u7f51\u7edc\u8fde\u63a5&#xff09;&#xff0c;\u76f4\u63a5\u901a\u8fc7 yum \u6216 dnf \u66f4\u65b0\u662f\u4e0d\u53ef\u80fd\u7684\u3002\u800c\u4e14\u5b98\u65b9\u63d0\u4f9b\u7684 RPM \u5305\u4e2d&#xff0c;\u53ea\u6709\u6e90\u7801\u5305 .src.rpm \u53ef\u7528&#xff0c;x86 \u67b6\u6784\u7684\u4e8c\u8fdb\u5236\u5305\u5168\u90e8 404\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522232606-682fb28ea6d62.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522232607-682fb28f947e3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4e8e\u662f\u6211\u4eec\u51b3\u5b9a\u91c7\u53d6\u201c\u5728\u7ebf\u7f16\u8bd1\u751f\u6210 RPM \u5305 \u2192 \u79bb\u7ebf\u5b89\u88c5\u201d\u7684\u65b9\u5f0f\u5b8c\u6210\u5347\u7ea7\u3002\u672c\u6587\u8be6\u7ec6\u8bb0\u5f55\u4e86\u6574\u4e2a\u64cd\u4f5c\u6d41\u7a0b\u4e0e\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n<hr \/>\n<h3>\u89e3\u51b3\u601d\u8def<\/h3>\n<p>\u7531\u4e8e\u76ee\u6807\u670d\u52a1\u5668\u662f\u79bb\u7ebf\u73af\u5883&#xff0c;\u4e0d\u80fd\u76f4\u63a5\u8054\u7f51\u4e0b\u8f7d\u4f9d\u8d56\u6216\u66f4\u65b0\u5305&#xff0c;\u56e0\u6b64\u6211\u4eec\u91c7\u7528\u5982\u4e0b\u65b9\u6848&#xff1a;<\/p>\n<li>\u5728\u4e00\u53f0\u5177\u6709\u7f51\u7edc\u8fde\u63a5\u7684\u540c\u67b6\u6784&#xff08;x86_64&#xff09;\u3001\u540c\u7cfb\u7edf\u7684\u673a\u5668\u4e0a&#xff0c;\u6784\u5efa OpenSSH \u7684 .src.rpm \u6e90\u7801\u5305&#xff0c;\u751f\u6210\u53ef\u7528\u7684\u4e8c\u8fdb\u5236 .rpm \u5305\u3002<\/li>\n<li>\u5c06\u8fd9\u4e9b .rpm \u5305\u62f7\u8d1d\u5230\u76ee\u6807\u79bb\u7ebf\u670d\u52a1\u5668\u4e0a&#xff0c;\u8fdb\u884c\u672c\u5730\u5b89\u88c5\u3002<\/li>\n<li>\u9a8c\u8bc1\u5347\u7ea7\u540e\u7684 SSH \u7248\u672c\u4e0e\u670d\u52a1\u8fd0\u884c\u72b6\u6001\u3002<\/li>\n<hr \/>\n<h3>\u51c6\u5907\u5de5\u4f5c<\/h3>\n<h4>\u4e0b\u8f7d\u6240\u9700\u6587\u4ef6<\/h4>\n<p>\u4ece OpenEuler \u5b98\u65b9\u955c\u50cf\u7ad9\u4e0b\u8f7d\u6700\u65b0\u7684\u6e90\u7801 RPM \u5305&#xff08;\u786e\u4fdd\u7248\u672c\u53f7\u4e00\u81f4&#xff09;&#xff1a;<\/p>\n<p>openssh-8.8p1-34.oe2203sp3.src.rpm<\/p>\n<hr \/>\n<h3>\u6b65\u9aa4\u8be6\u89e3<\/h3>\n<h4>\u7b2c\u4e00\u6b65&#xff1a;\u5b89\u88c5\u5fc5\u8981\u7684\u6784\u5efa\u5de5\u5177<\/h4>\n<p>\u5728\u6709\u7f51\u7edc\u7684\u673a\u5668\u4e0a&#xff0c;\u5148\u5b89\u88c5\u6784\u5efa RPM \u6240\u9700\u7684\u57fa\u7840\u5f00\u53d1\u5de5\u5177&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> dnf <span class=\"token function\">install<\/span> rpm-build <span class=\"token function\">make<\/span> gcc libtool autoconf automake zlib-devel openssl-devel<\/p>\n<p>\u5982\u679c\u4f60\u65e0\u6cd5\u8054\u7f51&#xff0c;\u8bf7\u63d0\u524d\u4e0b\u8f7d\u597d\u76f8\u5173 RPM \u5305\u5e76\u624b\u52a8\u4e0a\u4f20\u5b89\u88c5\u3002<\/p>\n<hr \/>\n<h4>\u7b2c\u4e8c\u6b65&#xff1a;\u521b\u5efa rpmbuild \u5de5\u4f5c\u76ee\u5f55<\/h4>\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff0c;\u521b\u5efa\u7528\u4e8e\u6784\u5efa RPM \u7684\u6807\u51c6\u76ee\u5f55\u7ed3\u6784&#xff1a;<\/p>\n<p><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> ~\/rpmbuild\/<span class=\"token punctuation\">{<\/span>SOURCES,SPECS,RPMS,SRPMS<span class=\"token punctuation\">}<\/span><\/p>\n<hr \/>\n<h4>\u7b2c\u4e09\u6b65&#xff1a;\u5bfc\u5165 .src.rpm \u6587\u4ef6<\/h4>\n<p>\u5c06\u4e0b\u8f7d\u597d\u7684\u6e90\u7801\u5305\u653e\u5230 SOURCES \u76ee\u5f55\u4e0b&#xff0c;\u5e76\u5b89\u88c5\u5b83\u4ee5\u63d0\u53d6 .spec \u6587\u4ef6\u548c\u6e90\u4ee3\u7801&#xff1a;<\/p>\n<p><span class=\"token function\">mv<\/span> openssh-8.8p1-34.oe2203sp3.src.rpm ~\/rpmbuild\/SOURCES\/<br \/>\n<span class=\"token function\">rpm<\/span> <span class=\"token parameter variable\">-ivh<\/span> ~\/rpmbuild\/SOURCES\/openssh-8.8p1-34.oe2203sp3.src.rpm<\/p>\n<p>\u8fd9\u6761\u547d\u4ee4\u4f1a\u81ea\u52a8\u5c06 .spec \u6587\u4ef6\u653e\u5165 ~\/rpmbuild\/SPECS\/&#xff0c;\u5e76\u5c06\u6e90\u7801\u89e3\u538b\u5230 ~\/rpmbuild\/SOURCES\/\u3002<\/p>\n<hr \/>\n<h4>\u7b2c\u56db\u6b65&#xff1a;\u5b89\u88c5\u6784\u5efa\u6240\u9700\u7684\u4f9d\u8d56\u9879<\/h4>\n<p>\u8fdb\u5165 SPECS \u76ee\u5f55&#xff0c;\u5c1d\u8bd5\u5b89\u88c5\u6784\u5efa\u4f9d\u8d56&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> ~\/rpmbuild\/SPECS<br \/>\n<span class=\"token function\">sudo<\/span> dnf builddep openssh.spec<\/p>\n<p>\u5982\u679c\u63d0\u793a\u67d0\u4e9b\u4f9d\u8d56\u627e\u4e0d\u5230&#xff0c;\u53ef\u80fd\u9700\u8981\u624b\u52a8\u4e0b\u8f7d\u5bf9\u5e94\u7684 RPM \u5305\u5e76\u4e0a\u4f20\u5b89\u88c5\u3002<\/p>\n<hr \/>\n<h4>\u7b2c\u4e94\u6b65&#xff1a;\u5f00\u59cb\u6784\u5efa\u4e8c\u8fdb\u5236 RPM \u5305<\/h4>\n<p>\u4f7f\u7528 rpmbuild \u547d\u4ee4\u5f00\u59cb\u6784\u5efa&#xff1a;<\/p>\n<p>rpmbuild <span class=\"token parameter variable\">-ba<\/span> openssh.spec<\/p>\n<p>\u6210\u529f\u540e&#xff0c;\u4f60\u4f1a\u5728 ~\/rpmbuild\/RPMS\/x86_64\/ \u76ee\u5f55\u4e0b\u770b\u5230\u591a\u4e2a\u751f\u6210\u7684 RPM \u5305&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p>openssh-8.8p1-34.oe2203sp3.x86_64.rpm<br \/>\nopenssh-server-8.8p1-34.oe2203sp3.x86_64.rpm<br \/>\nopenssh-clients-8.8p1-34.oe2203sp3.x86_64.rpm<br \/>\n&#8230;<\/p>\n<hr \/>\n<h4>\u7b2c\u516d\u6b65&#xff1a;\u5c06\u751f\u6210\u7684 RPM \u5305\u4f20\u8f93\u81f3\u79bb\u7ebf\u670d\u52a1\u5668<\/h4>\n<p>\u4f60\u53ef\u4ee5\u4f7f\u7528 SCP\u3001U\u76d8\u3001\u6216\u8005\u4efb\u4f55\u5176\u4ed6\u65b9\u5f0f\u5c06\u8fd9\u4e9b RPM \u5305\u4f20\u9001\u5230\u76ee\u6807\u79bb\u7ebf\u670d\u52a1\u5668\u4e0a\u3002<\/p>\n<p>&#8212;<\/p>\n<p>### \u7b2c\u4e03\u6b65&#xff1a;\u5728\u79bb\u7ebf\u670d\u52a1\u5668\u4e0a\u5b89\u88c5 RPM \u5305<\/p>\n<p>\u767b\u5f55\u79bb\u7ebf\u670d\u52a1\u5668&#xff0c;\u89e3\u538b\u5e76\u5b89\u88c5 RPM \u5305&#xff1a;<\/p>\n<p>&#096;&#096;&#096;bash<br \/>\ntar zxvf \/root\/offline_ssh_rpms.tar<br \/>\ncd \/root<br \/>\nrpm -Uvh *.rpm<\/p>\n<p>\u4e5f\u53ef\u4ee5\u4f7f\u7528 dnf \u5b89\u88c5&#xff1a;<\/p>\n<p>dnf <span class=\"token function\">install<\/span> *.rpm<\/p>\n<hr \/>\n<h4>\u7b2c\u516b\u6b65&#xff1a;\u9a8c\u8bc1\u5b89\u88c5\u7ed3\u679c<\/h4>\n<p>\u91cd\u542f SSH \u670d\u52a1&#xff1a;<\/p>\n<p>systemctl restart sshd<\/p>\n<p>\u68c0\u67e5\u65b0\u7248\u672c&#xff1a;<\/p>\n<p><span class=\"token function\">rpm<\/span> <span class=\"token parameter variable\">-q<\/span> openssh<\/p>\n<p>\u4f60\u5e94\u8be5\u770b\u5230\u7c7b\u4f3c\u5982\u4e0b\u8f93\u51fa&#xff1a;<\/p>\n<p>openssh-8.8p1-34.oe2203sp3.x86_64<\/p>\n<p>\u540c\u65f6\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u786e\u8ba4 SSH \u5b9e\u9645\u8fd0\u884c\u7248\u672c&#xff1a;<\/p>\n<p><span class=\"token function\">ssh<\/span> <span class=\"token parameter variable\">-V<\/span><\/p>\n<p>\u8f93\u51fa\u5e94\u4e3a&#xff1a;<\/p>\n<p>OpenSSH_8.8p1, OpenSSL 1.xx.x &#8230;<\/p>\n<hr \/>\n<h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<ul>\n<li>\u5907\u4efd\u539f\u914d\u7f6e\u6587\u4ef6&#xff1a;\u5347\u7ea7\u524d\u5efa\u8bae\u5907\u4efd \/etc\/ssh\/ \u4e0b\u7684\u6240\u6709\u914d\u7f6e\u6587\u4ef6&#xff0c;\u907f\u514d\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u88ab\u8986\u76d6\u3002<\/li>\n<li>\u4e0d\u8981\u4e2d\u65ad SSHD \u670d\u52a1&#xff1a;\u5347\u7ea7\u671f\u95f4\u8bf7\u52ff\u5173\u95ed\u6216\u4e2d\u65ad SSH \u670d\u52a1&#xff0c;\u5426\u5219\u53ef\u80fd\u5bfc\u81f4\u65e0\u6cd5\u8fdc\u7a0b\u767b\u5f55\u3002<\/li>\n<li>\u6d4b\u8bd5\u73af\u5883\u5148\u884c&#xff1a;\u5efa\u8bae\u5148\u5728\u6d4b\u8bd5\u73af\u5883\u4e2d\u9a8c\u8bc1\u6d41\u7a0b\u540e\u518d\u64cd\u4f5c\u751f\u4ea7\u670d\u52a1\u5668\u3002<\/li>\n<li>\u4fdd\u7559\u65e7\u5305&#xff1a;\u4fdd\u7559\u539f\u59cb\u7684 RPM \u5305&#xff0c;\u4ee5\u4fbf\u56de\u6eda\u4f7f\u7528\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u901a\u8fc7\u672c\u6587\u7684\u65b9\u6cd5&#xff0c;\u5373\u4f7f\u662f\u5728\u5b8c\u5168\u65ad\u7f51\u7684\u73af\u5883\u4e0b&#xff0c;\u6211\u4eec\u4e5f\u80fd\u591f\u987a\u5229\u5730\u5b8c\u6210 OpenSSH \u7684\u7248\u672c\u5347\u7ea7&#xff0c;\u6709\u6548\u4fee\u590d\u5df2\u77e5\u7684\u5b89\u5168\u6f0f\u6d1e\u3002<\/p>\n<p>\u6574\u4e2a\u8fc7\u7a0b\u7684\u6838\u5fc3\u601d\u60f3\u662f&#xff1a;<\/p>\n<p>\u201c\u5728\u8054\u7f51\u673a\u5668\u4e0a\u6784\u5efa RPM \u5305&#xff0c;\u518d\u5c06\u6784\u5efa\u7ed3\u679c\u62f7\u8d1d\u5230\u79bb\u7ebf\u673a\u5668\u4e0a\u8fdb\u884c\u5b89\u88c5\u201d\u3002<\/p>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u9002\u7528\u4e8e OpenSSH&#xff0c;\u4e5f\u9002\u7528\u4e8e\u5176\u4ed6\u9700\u8981\u6e90\u7801\u7f16\u8bd1\u4f46\u53c8\u53d7\u9650\u4e8e\u7f51\u7edc\u7684\u573a\u666f&#xff0c;\u5177\u5907\u826f\u597d\u7684\u901a\u7528\u6027\u548c\u53ef\u6269\u5c55\u6027\u3002<\/p>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb850\u6b21\uff0c\u70b9\u8d5e9\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6d41\u7a0b\u3002\u7531\u4e8e\u670d\u52a1\u5668\u5904\u4e8e\u5185\u7f51\u9694\u79bb\u73af\u5883\uff0c\u65e0\u6cd5\u76f4\u63a5\u901a\u8fc7 yum \u6216 dnf \u66f4\u65b0\uff0c\u56e0\u6b64\u91c7\u7528\u4e86\u201c\u5728\u7ebf\u7f16\u8bd1\u751f\u6210 RPM \u5305 \u2192 \u79bb\u7ebf\u5b89\u88c5\u201d\u7684\u65b9\u6848\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\uff1a\u5728\u6709\u7f51\u7edc\u7684\u540c\u67b6\u6784\u673a\u5668\u4e0a\u6784\u5efa OpenSSH \u7684 .src.rpm \u6e90\u7801\u5305\uff0c\u751f\u6210\u4e8c\u8fdb\u5236 .rpm \u5305\uff0c\u7136\u540e\u5c06\u8fd9\u4e9b\u5305\u4f20\u8f93\u5230\u79bb\u7ebf\u670d\u52a1\u5668\u4e0a\u8fdb\u884c\u672c\u5730\u5b89\u88c5\u3002\u6587\u7ae0\u8fd8\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u547d\u4ee4\u64cd\u4f5c\u548c\u6ce8\u610f\u4e8b\u9879\uff0c\u786e\u4fdd\u5347\u7ea7\u8fc7\u7a0b\u987a\u5229\u4e14\u5b89\u5168\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u6cd5\uff0c\u6210\u529f\u5c06 OpenSSH \u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\uff0c\u4fee\u590d\u4e86\u5df2\u77e5\u7684\u5b89<\/p>\n","protected":false},"author":2,"featured_media":39234,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[145,2362,3502,43,78,44],"topic":[],"class_list":["post-39236","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-openeuler","tag-openssh","tag-3502","tag-43","tag-78","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/39236.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb850\u6b21\uff0c\u70b9\u8d5e9\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6d41\u7a0b\u3002\u7531\u4e8e\u670d\u52a1\u5668\u5904\u4e8e\u5185\u7f51\u9694\u79bb\u73af\u5883\uff0c\u65e0\u6cd5\u76f4\u63a5\u901a\u8fc7 yum \u6216 dnf \u66f4\u65b0\uff0c\u56e0\u6b64\u91c7\u7528\u4e86\u201c\u5728\u7ebf\u7f16\u8bd1\u751f\u6210 RPM \u5305 \u2192 \u79bb\u7ebf\u5b89\u88c5\u201d\u7684\u65b9\u6848\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\uff1a\u5728\u6709\u7f51\u7edc\u7684\u540c\u67b6\u6784\u673a\u5668\u4e0a\u6784\u5efa OpenSSH \u7684 .src.rpm \u6e90\u7801\u5305\uff0c\u751f\u6210\u4e8c\u8fdb\u5236 .rpm \u5305\uff0c\u7136\u540e\u5c06\u8fd9\u4e9b\u5305\u4f20\u8f93\u5230\u79bb\u7ebf\u670d\u52a1\u5668\u4e0a\u8fdb\u884c\u672c\u5730\u5b89\u88c5\u3002\u6587\u7ae0\u8fd8\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u547d\u4ee4\u64cd\u4f5c\u548c\u6ce8\u610f\u4e8b\u9879\uff0c\u786e\u4fdd\u5347\u7ea7\u8fc7\u7a0b\u987a\u5229\u4e14\u5b89\u5168\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u6cd5\uff0c\u6210\u529f\u5c06 OpenSSH \u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\uff0c\u4fee\u590d\u4e86\u5df2\u77e5\u7684\u5b89\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/39236.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-22T23:26:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522232606-682fb28ea6d62.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/39236.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/39236.html\",\"name\":\"\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-22T23:26:09+00:00\",\"dateModified\":\"2025-05-22T23:26:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/39236.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/39236.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/39236.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6307\u5357\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/39236.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb850\u6b21\uff0c\u70b9\u8d5e9\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6d41\u7a0b\u3002\u7531\u4e8e\u670d\u52a1\u5668\u5904\u4e8e\u5185\u7f51\u9694\u79bb\u73af\u5883\uff0c\u65e0\u6cd5\u76f4\u63a5\u901a\u8fc7 yum \u6216 dnf \u66f4\u65b0\uff0c\u56e0\u6b64\u91c7\u7528\u4e86\u201c\u5728\u7ebf\u7f16\u8bd1\u751f\u6210 RPM \u5305 \u2192 \u79bb\u7ebf\u5b89\u88c5\u201d\u7684\u65b9\u6848\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\uff1a\u5728\u6709\u7f51\u7edc\u7684\u540c\u67b6\u6784\u673a\u5668\u4e0a\u6784\u5efa OpenSSH \u7684 .src.rpm \u6e90\u7801\u5305\uff0c\u751f\u6210\u4e8c\u8fdb\u5236 .rpm \u5305\uff0c\u7136\u540e\u5c06\u8fd9\u4e9b\u5305\u4f20\u8f93\u5230\u79bb\u7ebf\u670d\u52a1\u5668\u4e0a\u8fdb\u884c\u672c\u5730\u5b89\u88c5\u3002\u6587\u7ae0\u8fd8\u63d0\u4f9b\u4e86\u8be6\u7ec6\u7684\u547d\u4ee4\u64cd\u4f5c\u548c\u6ce8\u610f\u4e8b\u9879\uff0c\u786e\u4fdd\u5347\u7ea7\u8fc7\u7a0b\u987a\u5229\u4e14\u5b89\u5168\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u6cd5\uff0c\u6210\u529f\u5c06 OpenSSH \u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\uff0c\u4fee\u590d\u4e86\u5df2\u77e5\u7684\u5b89","og_url":"https:\/\/www.wsisp.com\/helps\/39236.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-22T23:26:09+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250522232606-682fb28ea6d62.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/39236.html","url":"https:\/\/www.wsisp.com\/helps\/39236.html","name":"\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-22T23:26:09+00:00","dateModified":"2025-05-22T23:26:09+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/39236.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/39236.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/39236.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5728\u79bb\u7ebf OpenEuler-22.03 \u670d\u52a1\u5668\u4e0a\u5347\u7ea7 OpenSSH \u7684\u5b8c\u6574\u6307\u5357"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/39236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=39236"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/39236\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/39234"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=39236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=39236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=39236"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=39236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}