{"id":230,"date":"2019-09-10T21:16:38","date_gmt":"2019-09-10T13:16:38","guid":{"rendered":"https:\/\/freeapp.sbs\/blog\/?p=230"},"modified":"2025-04-01T17:05:21","modified_gmt":"2025-04-01T08:05:21","slug":"vhntnjaqbep92yc","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2019\/09\/10\/vhntnjaqbep92yc\/","title":{"rendered":"win10\u4e0bLinux\u5b50\u7cfb\u7edf\u5f00\u542fssh\u670d\u52a1"},"content":{"rendered":"<p><strong><b>\u5b89\u88c5ssh<\/b><\/strong><\/p>\n<p>apt-get install openssh-server<\/p>\n<p><strong><b>\u4fee\u6539sshd\u914d\u7f6e\u6587\u4ef6<\/b><\/strong><\/p>\n<p>sudo cp \/etc\/ssh\/sshd_config \/etc\/ssh\/sshd_config.bak<\/p>\n<p><strong><b>\u4fee\u6539\u5185\u5bb9\uff1a<\/b><\/strong><\/p>\n<p>Port 23 # \u7aef\u53e3\u6539\u4e3a23\uff0c22\u7aef\u53e3\u5df2\u88ab\u7cfb\u7edf\u5360\u7528<br \/>\nListenAddress 0.0.0.0 # \u53d6\u6d88\u6ce8\u91ca<br \/>\n#StrictModes yes # \u6ce8\u91ca<br \/>\nPasswordAuthentication yes # \u5141\u8bb8\u5bc6\u7801\u767b\u5f55<\/p>\n<p><strong><b>\u542f\u52a8ssh<\/b><\/strong><\/p>\n<p>service ssh start<\/p>\n<p>\u5982\u679c\u63d0\u793asshd error: could not load host key\uff0c\u5219\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u91cd\u65b0\u751f\u6210<\/p>\n<p>sudo rm \/etc\/ssh\/ssh*key<br \/>\ndpkg-reconfigure openssh-server<\/p>\n<p>\u51fa\u5904\uff1a<a href=\"http:\/\/www.it1352.com\/725354.html\">http:\/\/www.it1352.com\/725354.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5ssh apt-get install openssh-server \u4fee\u6539sshd\u914d\u7f6e\u6587\u4ef6 sudo cp \/etc\/ssh\/sshd_config \/etc\/ssh\/sshd_config.bak \u4fee\u6539\u5185\u5bb9\uff1a Port 23 # \u7aef\u53e3\u6539\u4e3a23\uff0c22\u7aef\u53e3\u5df2\u88ab\u7cfb\u7edf\u5360\u7528 ListenAddress 0.0.0.0 # \u53d6\u6d88\u6ce8\u91ca #StrictModes yes # \u6ce8\u91ca PasswordAuthentication yes # \u5141\u8bb8\u5bc6\u7801\u767b\u5f55 \u542f\u52a8ssh service ssh start \u5982\u679c\u63d0\u793asshd error: could not load host key\uff0c\u5219\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u91cd\u65b0\u751f\u6210 sudo rm \/etc\/ssh\/ssh*key dpkg-reconfigure openssh-server \u51fa\u5904\uff1ahttp:\/\/www.it1352.com\/725354.html<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[],"class_list":["post-230","post","type-post","status-publish","format-standard","hentry","category-jtcspxsyrult"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/comments?post=230"}],"version-history":[{"count":2,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/230\/revisions"}],"predecessor-version":[{"id":3708,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/230\/revisions\/3708"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}