{"id":41188,"date":"2025-05-31T21:50:48","date_gmt":"2025-05-31T13:50:48","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/41188.html"},"modified":"2025-05-31T21:50:48","modified_gmt":"2025-05-31T13:50:48","slug":"pssh-%e5%b9%b6%e5%8f%91%e5%9c%a8%e5%a4%9a%e5%8f%b0%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e6%89%b9%e9%87%8f%e6%89%a7%e8%a1%8c%e5%91%bd%e4%bb%a4%e7%9a%84%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/41188.html","title":{"rendered":"PSSH-\u5e76\u53d1\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u6279\u91cf\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177"},"content":{"rendered":"<h2>\u4ecb\u7ecd<\/h2>\n<p id=\"ubb99490f\">pssh\u5168\u79f0\u662fparallel-ssh&#xff0c;\u662f\u4e00\u4e2aPython\u7f16\u5199\u7684\u53ef\u4ee5\u5e76\u53d1\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u6279\u91cf\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177&#xff0c;<\/p>\n<p id=\"u0d828351\">\n<p id=\"ufd809d81\">\u5b83\u652f\u6301\u6587\u4ef6\u5e76\u884c\u590d\u5236\u3001\u8fdc\u7a0b\u5e76\u884c\u6267\u884c\u547d\u4ee4\u3001\u6740\u6389\u8fdc\u7a0b\u4e3b\u673a\u4e0a\u7684\u8fdb\u7a0b\u7b49\u3002<\/p>\n<p id=\"ua32f32b5\">\n<p id=\"u3bb4a92f\">\u524d\u63d0&#xff1a;\u4f7f\u7528pssh\u5de5\u5177\u5305&#xff0c;\u5fc5\u987b\u4fdd\u8bc1\u672c\u5730\u4e3b\u673a\u548c\u7ba1\u7406\u7684\u8fdc\u7a0b\u4e3b\u673a\u4e4b\u95f4\u7684\u5355\u5411\u4fe1\u4efb&#xff0c;<\/p>\n<p id=\"u51a49f38\">\n<p id=\"u31f241f7\">\u4e5f\u5c31\u662f\u8981\u5728\u672c\u5730\u4e3b\u673a\u548c\u6240\u6709\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u914d\u7f6e\u5bc6\u94a5\u8ba4\u8bc1\u8bbf\u95ee\u3002<\/p>\n<p id=\"u0b993421\">\n<h2 id=\"uf4ee6b34\">\u4e00\u3001\u5efa\u7acb\u672c\u5730\u4e3b\u673a\u548c\u7ba1\u7406\u7684\u8fdc\u7a0b\u4e3b\u673a\u4e4b\u95f4\u7684\u5355\u5411\u4fe1\u4efb<\/h2>\n<p id=\"u5a70386d\">\n<p id=\"udb09fd24\">[fieldyang&#064;master~]$ mkdir ~\/.ssh<\/p>\n<p id=\"u4ee1cdcb\">\n<p id=\"u936a4a04\">mkdir:\u65e0\u6cd5\u521b\u5efa\u76ee\u5f55&#034;\/root\/.ssh&#034;:\u6587\u4ef6\u5df2\u5b58\u5728<\/p>\n<p id=\"u5a1a1081\">\n<p id=\"u9ca45e71\">[fieldyang&#064;master~]$ chmod 700 ~\/.ssh<\/p>\n<p id=\"u92ca4a6b\">\n<p id=\"u918fc0b9\">[fieldyang&#064;master~]$ cd ~\/.ssh<\/p>\n<p id=\"u9d094d67\">\n<h3 id=\"u7a2627c4\">1\u3001\u4f7f\u7528ssh-keygen\u547d\u4ee4\u751f\u6210\u57fa\u4e8eSSH\u534f\u8bae\u7684RSA\u79d8\u94a5&#xff0c;\u63d0\u793a\u4fdd\u5b58\u4f4d\u7f6e\u53ca\u5bc6\u94a5\u65f6&#xff0c;\u9009\u62e9\u9ed8\u8ba4&#xff0c;\u65b9\u4fbf\u4f7f\u7528<\/h3>\n<p id=\"u80aba48d\">\n<p id=\"u537b761f\">[fieldyang&#064;master.ssh]$ ssh-keygen -t rsa<\/p>\n<p id=\"u1e8bad97\">\n<p id=\"ud91be181\">Generatingpublic\/private rsa key pair.<\/p>\n<p id=\"u1a5f5ea8\">\n<p id=\"u606e1838\">Enterfile in which to save the key (\/root\/.ssh\/id_rsa): &lt;&#8212;&#8211;\u53ef\u4ee5\u8f93\u5165\u5b58\u653e\u5bc6\u94a5\u7684\u5730\u5740<\/p>\n<p id=\"u0a4060ea\">\n<p id=\"ud41d080f\">Enterpassphrase (empty for no passphrase): &lt;&#8212;&#8211;\u8f93\u5165\u5bc6\u8bed&#xff0c;\u53ef\u4ee5\u4e3a\u7a7a<\/p>\n<p id=\"u165df0d9\">\n<p id=\"u014e00e2\">Entersame passphrase again: &lt;&#8212;&#8211;\u786e\u8ba4\u5bc6\u8bed&#xff0c;\u53ef\u4ee5\u4e3a\u7a7a<\/p>\n<p id=\"u3212409a\">\n<p id=\"ue14991f0\">Youridentification has been saved in \/root\/.ssh\/id_rsa. &lt;&#8212;&#8211;\u751f\u6210\u7684\u5bc6\u94a5<\/p>\n<p id=\"u8f38d3b4\">\n<p id=\"u103e4cab\">Yourpublic key has been saved in \/root\/.ssh\/id_rsa.pub.&lt;&#8212;&#8211;\u751f\u6210\u7684\u516c\u94a5<\/p>\n<p id=\"ue4a32a93\">\n<h3 id=\"ue49146c0\">2\u3001\u5c06\u672c\u5730\u8282\u70b9\u751f\u6210\u7684\u516c\u94a5\u6587\u4ef6\u6574\u5408\u4e3a\u4e00\u4e2aauthorized_keys\u6587\u4ef6&#xff0c;\u5e76\u8fdb\u884c\u6388\u6743<\/h3>\n<p id=\"ub185fe34\">\n<p id=\"u288cfac6\">[fieldyang&#064;master.ssh]$ cd ~\/.ssh<\/p>\n<p id=\"uba4d79b4\">\n<p id=\"ubd5b259f\">[fieldyang&#064;master.ssh]$ cat \/root\/.ssh\/id_rsa.pub &gt; authorized_keys<\/p>\n<p id=\"u11eabef4\">\n<p id=\"u048a3ea7\">[fieldyang&#064;master.ssh]$ chmod 600 ~\/.ssh\/authorized_keys<\/p>\n<p id=\"u84fd1fac\">\n<h3 id=\"u7831467c\">3\u3001\u5c06authorized_keys\u6587\u4ef6\u590d\u5236\u5230\u8fdc\u7a0b\u4e3b\u673a\u4e0a<\/h3>\n<p id=\"u5200bf24\">\n<h3 id=\"ubb8a74c7\">4\u3001\u6d4b\u8bd5ssh\u5bc6\u94a5\u8ba4\u8bc1\u662f\u5426\u6210\u529f\u5efa\u7acb<\/h3>\n<p id=\"u8a5aa2f3\">\n<p id=\"uc19d08b9\">\n<h3 id=\"u744acc1f\">5\u3001\u91cd\u590d\u4ee5\u4e0a1~4&#xff0c;\u5728\u6240\u6709\u7684\u8fdc\u7a0b\u4e3b\u673a\u4e0a\u6267\u884c,\u5373\u53ef\u5b9e\u73b0\u672c\u5730\u4e3b\u673a\u5bf9\u6240\u6709\u8fdc\u7a0b\u4e3b\u673a\u7684\u5355\u5411\u901a\u4fe1<\/h3>\n<h2 id=\"u99ede76c\">\u4e8c\u3001\u5b89\u88c5\u4f7f\u7528<\/h2>\n<h3>1\u3001\u5b89\u88c5<\/h3>\n<p>\u5148\u5b89\u88c5ez_setup.py&#xff0c;ez_setup.py\u662fpython\u5b98\u65b9\u7ed9\u51fa\u7684\u4e00\u4e2a\u5b89\u88c5setuptools\u7684\u5de5\u5177&#xff0c;\u5229\u7528\u5b83&#xff0c;\u6211\u4eec\u53ef\u4ee5\u5f88\u8f7b\u677e\u7528\u547d\u4ee4\u884c\u5c31\u81ea\u52a8\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002 [root&#064;nfs-server  test]# wget http:\/\/peak.telecommunity.com\/dist\/ez_setup.py [root&#064;nfs-server  test]# wget http:\/\/files.opstool.com\/files\/pssh-2.3.tar.gz<\/p>\n<h3>2\u3001\u89e3\u538b\u5b89\u88c5\u5305\u5e76\u5b89\u88c5<\/h3>\n<p>tar xf pssh-2.3.tar.gz<br \/>\ncd pssh-2.3<br \/>\npython setup.py build<br \/>\nrunning build<br \/>\nrunning build_py<br \/>\nrunning build_scripts <\/p>\n<p> python setup.py install<\/p>\n<p id=\"u9c34cd24\">pssh &#8211;version 2.3<\/p>\n<p> \u2460pssh \u591a\u4e3b\u673a\u5e76\u884c\u6267\u884c\u547d\u4ee4 \u83b7\u53d6\u6bcf\u53f0\u673a\u5668\u4e0a\u7684\u65f6\u95f4&#xff0c;\u5148\u5728\u7ba1\u7406\u673a\u4e0a\u65b0\u5efaip.txt &#xff08;\u4e00\u5b9a\u8981\u641e\u6e05\u695a\u5404\u670d\u52a1\u5668\u7684\u767b\u5f55\u65b9\u5f0f&#xff0c;\u7aef\u53e3\u8fd8\u6709\u7528\u6237\u767b\u5f55\u6743\u9650&#xff09;<\/p>\n<p id=\"ua28b57d4\">\n<p id=\"uf1f43534\">\u6267\u884c\u547d\u4ee4&#xff1a;pssh -p 11 -i -h ip.txt -A \u201cdate&#034;<\/p>\n<p id=\"udf71aab5\">\n<p id=\"u0c2c5a34\">\u4e00&#xff1a;\u590d\u5236\u6587\u4ef6\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u6307\u5b9a\u4f4d\u7f6e(\u5176\u4e2d-A\u7684\u610f\u601d\u5c31\u662f\u4f7f\u7528\u624b\u52a8\u5bc6\u7801\u00a0\u00a0\u4e0d\u4f7f\u7528ssh key&#xff0c;\u4f4d\u7f6e\u4e5f\u8981\u653e\u6b63\u786e\u4e86) [root&#064;yufuka-1  pssh-2.3.1]# pscp -h ip.txt -A \/tmp\/yufuka.py \/tmp\/<\/p>\n<p id=\"ub40311bf\">\n<p id=\"u5f1de186\">\u4e8c:\u4f20\u76ee\u5f55 [root&#064;yufuka-1  pssh-2.3.1]# pscp -r -h ip.txt -A test\/ \/tmp\/dir3<\/p>\n<p id=\"u5a7ab00d\">\n<p id=\"ua3679a5d\">\u4e09&#xff1a;\u5220\u9664\u76ee\u5f55\u4e0b\u7684\u6307\u5b9a\u6587\u4ef6 [root&#064;yufuka-1  pssh-2.3.1]# pssh -h ip.txt -A rm -f \/tmp\/yufuka.py<\/p>\n<p id=\"uaa4f368f\">\n<p id=\"u77a047d2\">\u56db\u3001pslurp\u4ece\u8fdc\u7a0b\u62c9\u53d6\u6587\u4ef6\u5230\u672c\u5730,\u5728\u672c\u5730\u81ea\u52a8\u521b\u5efa\u76ee\u5f55\u540d\u4e3a\u8fdc\u7a0b\u4e3b\u673aip\u7684\u76ee\u5f55,\u5c06\u62c9\u53d6\u7684\u6587\u4ef6\u653e\u5728\u5bf9\u5e94\u4e3b\u673aIP\u76ee\u5f55\u4e0b<\/p>\n<p id=\"uf8820b6e\">\n<p id=\"ufde0c0c4\">#\u683c\u5f0f:pslurp -h ip.txt -L &lt;\u672c\u5730\u76ee\u5f55&gt; \u00a0&lt;\u8fdc\u7a0b\u76ee\u5f55\/\u6587\u4ef6&gt; \u00a0&lt;\u672c\u5730\u91cd\u547d\u540d&gt; #\u62c9\u53d6\u6587\u4ef6 pslurp -h ip.txt -L \/root\/ \/root\/1.jpg picture ll \/root\/172.16.1.13\/picture -rw-r&#8211;r&#8211; 1 root root 148931 Jan \u00a09 15:41 \/root\/172.16.1.13\/picture #\u62c9\u53d6\u76ee\u5f55 pslurp -r -h ip.txt -L \/root\/ \/root\/test temp ll -d \/root\/172.16.1.13\/temp\/ drwxr-xr-x 2 root root 23 Jan \u00a09 15:49 \/root\/172.16.1.13\/temp\/<\/p>\n<p id=\"uba3c4896\">\n<p id=\"ubcbc4883\">#pnuke:\u8fdc\u7a0b\u6279\u91cfkillall pnuke -h ip.txt nginx<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u6458\u8981\uff1a pssh\uff08parallel-ssh\uff09\u662f\u4e00\u4e2aPython\u7f16\u5199\u7684\u591a\u670d\u52a1\u5668\u6279\u91cf\u7ba1\u7406\u5de5\u5177\uff0c\u652f\u6301\u5e76\u884c\u6267\u884c\u547d\u4ee4\u3001\u6587\u4ef6\u4f20\u8f93\u548c\u8fdb\u7a0b\u7ba1\u7406\u3002\u4f7f\u7528\u524d\u9700\u914d\u7f6eSSH\u5bc6\u94a5\u8ba4\u8bc1\uff1a1\uff09\u751f\u6210RSA\u5bc6\u94a5\u5bf9\uff1b2\uff09\u6574\u5408\u516c\u94a5\u4e3aauthorized_keys\uff1b3\uff09\u5206\u53d1\u5230\u8fdc\u7a0b\u4e3b\u673a\uff1b4\uff09\u6d4b\u8bd5\u8fde\u63a5\u3002\u5b89\u88c5\u6b65\u9aa4\u5305\u62ec\u4e0b\u8f7dez_setup.py\u548cpssh\u5305\uff0c\u901a\u8fc7Python\u8fdb\u884c\u7f16\u8bd1\u5b89\u88c5\u3002\u5e38\u7528\u529f\u80fd\uff1apssh\u6267\u884c\u547d\u4ee4\u3001pscp\u4f20\u8f93\u6587\u4ef6\/\u76ee\u5f55\u3001pslurp\u62c9\u53d6\u8fdc\u7a0b\u6587\u4ef6\u5230\u672c\u5730\uff08\u6309IP\u81ea\u52a8\u5f52\u7c7b\uff09\u3001pnuke\u7ec8\u6b62\u8fdc\u7a0b\u8fdb\u7a0b\u3002\u6ce8\u610f\u64cd\u4f5c\u65f6\u9700\u660e\u786e\u670d\u52a1\u5668\u767b\u5f55\u65b9\u5f0f\u548c\u6743\u9650\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,3789,44],"topic":[],"class_list":["post-41188","post","type-post","status-publish","format-standard","hentry","category-server","tag-43","tag-3789","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PSSH-\u5e76\u53d1\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u6279\u91cf\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177 - \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\/41188.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PSSH-\u5e76\u53d1\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u6279\u91cf\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u6458\u8981\uff1a pssh\uff08parallel-ssh\uff09\u662f\u4e00\u4e2aPython\u7f16\u5199\u7684\u591a\u670d\u52a1\u5668\u6279\u91cf\u7ba1\u7406\u5de5\u5177\uff0c\u652f\u6301\u5e76\u884c\u6267\u884c\u547d\u4ee4\u3001\u6587\u4ef6\u4f20\u8f93\u548c\u8fdb\u7a0b\u7ba1\u7406\u3002\u4f7f\u7528\u524d\u9700\u914d\u7f6eSSH\u5bc6\u94a5\u8ba4\u8bc1\uff1a1\uff09\u751f\u6210RSA\u5bc6\u94a5\u5bf9\uff1b2\uff09\u6574\u5408\u516c\u94a5\u4e3aauthorized_keys\uff1b3\uff09\u5206\u53d1\u5230\u8fdc\u7a0b\u4e3b\u673a\uff1b4\uff09\u6d4b\u8bd5\u8fde\u63a5\u3002\u5b89\u88c5\u6b65\u9aa4\u5305\u62ec\u4e0b\u8f7dez_setup.py\u548cpssh\u5305\uff0c\u901a\u8fc7Python\u8fdb\u884c\u7f16\u8bd1\u5b89\u88c5\u3002\u5e38\u7528\u529f\u80fd\uff1apssh\u6267\u884c\u547d\u4ee4\u3001pscp\u4f20\u8f93\u6587\u4ef6\/\u76ee\u5f55\u3001pslurp\u62c9\u53d6\u8fdc\u7a0b\u6587\u4ef6\u5230\u672c\u5730\uff08\u6309IP\u81ea\u52a8\u5f52\u7c7b\uff09\u3001pnuke\u7ec8\u6b62\u8fdc\u7a0b\u8fdb\u7a0b\u3002\u6ce8\u610f\u64cd\u4f5c\u65f6\u9700\u660e\u786e\u670d\u52a1\u5668\u767b\u5f55\u65b9\u5f0f\u548c\u6743\u9650\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/41188.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-31T13:50:48+00:00\" \/>\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\/41188.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/41188.html\",\"name\":\"PSSH-\u5e76\u53d1\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u6279\u91cf\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-31T13:50:48+00:00\",\"dateModified\":\"2025-05-31T13:50:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/41188.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/41188.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/41188.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PSSH-\u5e76\u53d1\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u6279\u91cf\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177\"}]},{\"@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":"PSSH-\u5e76\u53d1\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u6279\u91cf\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177 - \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\/41188.html","og_locale":"zh_CN","og_type":"article","og_title":"PSSH-\u5e76\u53d1\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u6279\u91cf\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2k\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u6458\u8981\uff1a pssh\uff08parallel-ssh\uff09\u662f\u4e00\u4e2aPython\u7f16\u5199\u7684\u591a\u670d\u52a1\u5668\u6279\u91cf\u7ba1\u7406\u5de5\u5177\uff0c\u652f\u6301\u5e76\u884c\u6267\u884c\u547d\u4ee4\u3001\u6587\u4ef6\u4f20\u8f93\u548c\u8fdb\u7a0b\u7ba1\u7406\u3002\u4f7f\u7528\u524d\u9700\u914d\u7f6eSSH\u5bc6\u94a5\u8ba4\u8bc1\uff1a1\uff09\u751f\u6210RSA\u5bc6\u94a5\u5bf9\uff1b2\uff09\u6574\u5408\u516c\u94a5\u4e3aauthorized_keys\uff1b3\uff09\u5206\u53d1\u5230\u8fdc\u7a0b\u4e3b\u673a\uff1b4\uff09\u6d4b\u8bd5\u8fde\u63a5\u3002\u5b89\u88c5\u6b65\u9aa4\u5305\u62ec\u4e0b\u8f7dez_setup.py\u548cpssh\u5305\uff0c\u901a\u8fc7Python\u8fdb\u884c\u7f16\u8bd1\u5b89\u88c5\u3002\u5e38\u7528\u529f\u80fd\uff1apssh\u6267\u884c\u547d\u4ee4\u3001pscp\u4f20\u8f93\u6587\u4ef6\/\u76ee\u5f55\u3001pslurp\u62c9\u53d6\u8fdc\u7a0b\u6587\u4ef6\u5230\u672c\u5730\uff08\u6309IP\u81ea\u52a8\u5f52\u7c7b\uff09\u3001pnuke\u7ec8\u6b62\u8fdc\u7a0b\u8fdb\u7a0b\u3002\u6ce8\u610f\u64cd\u4f5c\u65f6\u9700\u660e\u786e\u670d\u52a1\u5668\u767b\u5f55\u65b9\u5f0f\u548c\u6743\u9650\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/41188.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-31T13:50:48+00:00","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\/41188.html","url":"https:\/\/www.wsisp.com\/helps\/41188.html","name":"PSSH-\u5e76\u53d1\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u6279\u91cf\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-31T13:50:48+00:00","dateModified":"2025-05-31T13:50:48+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/41188.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/41188.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/41188.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"PSSH-\u5e76\u53d1\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u6279\u91cf\u6267\u884c\u547d\u4ee4\u7684\u5de5\u5177"}]},{"@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\/41188","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=41188"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/41188\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=41188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=41188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=41188"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=41188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}