{"id":448,"date":"2013-09-03T12:29:59","date_gmt":"2013-09-03T12:29:59","guid":{"rendered":"https:\/\/shan.info\/new\/%e8%a7%a3%e5%86%b3backtrack5%e6%97%a0%e6%b3%95ssh%e7%99%bb%e5%bd%95%e9%97%ae%e9%a2%98\/"},"modified":"2013-09-03T12:29:59","modified_gmt":"2013-09-03T12:29:59","slug":"%e8%a7%a3%e5%86%b3backtrack5%e6%97%a0%e6%b3%95ssh%e7%99%bb%e5%bd%95%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/%e8%a7%a3%e5%86%b3backtrack5%e6%97%a0%e6%b3%95ssh%e7%99%bb%e5%bd%95%e9%97%ae%e9%a2%98\/","title":{"rendered":"\u89e3\u51b3backtrack5\u65e0\u6cd5ssh\u767b\u5f55\u95ee\u9898"},"content":{"rendered":"<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\">backtrack5\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u4f7f\u7528putty\u8fdc\u7a0b\u767b\u5f55\u65f6\u663e\u793a<span style=\"color: #ff0000;\">network error\uff1aConnection refused<br \/><\/span><strong>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/strong><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\">\u767b\u5f55\u7cfb\u7edf\uff08\u7cfb\u7edf\u9ed8\u8ba4\u7528\u6237\u540d\u5bc6\u7801\u662froot\/toor\uff0cstartx\u53ef\u4ee5\u8fdb\u5165\u56fe\u5f62\u754c\u9762\uff09<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\">\u5728\u547d\u4ee4\u7ec8\u7aef\u8f93\u5165\u547d\u4ee4\uff0c<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\"><span style=\"color: #000099;\">#sshd-generate&nbsp;<\/span>\uff08\u7cfb\u7edf\u53ef\u80fd\u4f1a\u8be2\u95ee\u662f\u5426\u8986\u76d6\uff0c\u5168\u90e8\u9009Y\uff09\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\">\u6216\u8005<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\"><span style=\"color: #000099;\">#ssh-keygen -t dsa -f \/etc\/ssh\/ssh_host_dsa_key<\/span><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\">\u5bc6\u7801\u7f6e\u7a7a<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\"><span style=\"color: #000099;\">#ssh-keygen -t rsa -f \/etc\/ssh\/ssh_host_rsa_key<\/span><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\">\u5bc6\u7801\u7f6e\u7a7a<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\">\u7136\u540e<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\"><span style=\"color: #000099;\">:~# \/etc\/init.d\/ssh restart<\/span><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; font-family: Arial; font-size: 14.285711288452148px; line-height: 25.9999942779541px;\">\u95ee\u9898\u89e3\u51b3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>backtrack5\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u4f7f\u7528putty\u8fdc\u7a0b\u767b\u5f55\u65f6\u663e\u793anetwork error\uff1aConnection refused\u89e3\u51b3\u65b9\u6cd5\uff1a \u767b\u5f55\u7cfb\u7edf\uff08\u7cfb\u7edf\u9ed8\u8ba4\u7528\u6237\u540d\u5bc6\u7801\u662froot\/toor\uff0cstartx\u53ef\u4ee5\u8fdb\u5165\u56fe\u5f62\u754c\u9762\uff09 \u5728\u547d\u4ee4\u7ec8\u7aef\u8f93\u5165\u547d\u4ee4\uff0c #sshd-generate&nbsp;\uff08\u7cfb\u7edf\u53ef\u80fd\u4f1a\u8be2\u95ee\u662f\u5426\u8986\u76d6\uff0c\u5168\u90e8\u9009Y\uff09\u3002 \u6216\u8005 #ssh-keygen -t dsa -f \/etc\/ssh\/ssh_host_dsa_key \u5bc6\u7801\u7f6e\u7a7a #ssh-keygen -t rsa -f \/etc\/ssh\/ssh_host_rsa_key \u5bc6\u7801\u7f6e\u7a7a \u7136\u540e :~# \/etc\/init.d\/ssh restart \u95ee\u9898\u89e3\u51b3\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[],"class_list":["post-448","post","type-post","status-publish","format-standard","hentry","category-backtrack-linux"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=448"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/448\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}