{"id":100361,"date":"2024-07-13T02:58:10","date_gmt":"2024-07-12T18:58:10","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=100361"},"modified":"2024-07-13T02:58:10","modified_gmt":"2024-07-12T18:58:10","slug":"kali-linux-ssh","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/kali-linux-ssh.html","title":{"rendered":"Kali Linux SSH\u767b\u5f55\u6545\u969c\u5904\u7406"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nSSH\u662f\u6807\u51c6\u7684\u7f51\u7edc\u534f\u8bae\uff0c\u53ef\u7528\u4e8e\u5927\u591a\u6570UNIX\u64cd\u4f5c\u7cfb\u7edf\uff0c\u80fd\u591f\u5b9e\u73b0\u5b57\u7b26\u754c\u9762\u7684\u8fdc\u7a0b\u767b\u5f55\u7ba1\u7406\uff0c\u5b83\u9ed8\u8ba4\u4f7f\u752822\u53f7\u7aef\u53e3\uff0c\u91c7\u7528\u5bc6\u6587\u7684\u5f62\u5f0f\u5728\u7f51\u7edc\u4e2d\u4f20\u8f93\u6570\u636e\uff0c\u76f8\u5bf9\u4e8e\u901a\u8fc7\u660e\u6587\u4f20\u8f93\u7684Telnet\uff0c\u5177\u6709\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u3002\u4eca\u5929\u6ca1\u6709\u4ec0\u4e48\u5e72\u8d27\uff0c\u5c31\u662f\u8bb0\u5f55\u4e00\u4e0bssh\u767b\u9646\u6545\u969c\u7684\u5904\u7406\u65b9\u6cd5\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u4eca\u5929\u60f3\u7528\u4e00\u4e0bKali\u505a\u70b9\u574f\u4e8b\uff0c\u6ca1\u60f3\u5230\u7684\u662f\u5b89\u88c5\u5b8c\u4e86\uff0cSSH\u4e0d\u4e0a\u53bb\uff0c\u771f\u662f\u4e0d\u723d\uff0c\u5148\u6765\u5f20\u56fe\uff0c\u770b\u770b\u662f\u53d1\u751f\u4e86\u4ec0\u4e48\uff0c\u4e5f\u65b9\u4fbf\u6709\u540c\u6837\u95ee\u9898\u7684\u7ae5\u978b\u4eec\u77e5\u9053\u600e\u4e48\u89e3\u51b3\u3002<\/p>\n

\"\"<\/p>\n

\u8fd9\u4e2a\uff01\uff01\uff01\u5176\u5b9e\u662f\u6211\u5fd8\u8bb0\u5f00\u542fSSH\u670d\u52a1\u4e86\uff0c\u6240\u4ee5\u9700\u8981\u5728Kali\u4e2d\u5f00\u542fSSH\u670d\u52a1\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n

# service sshd start\r\n<\/pre>\n

\u63a5\u4e0b\u6765\u518d\u91cd\u65b0\u8fde\u63a5\u4e00\u4e0b\uff0c\u4ee5\u4f1a\u51fa\u5982\u4e0b\u95ee\u9898\uff08\u8fd9\u624d\u662f\u4eca\u5929\u8bf4\u7684\u91cd\u70b9\uff09\u3002<\/p>\n

\"\"<\/p>\n

SSH\u5df2\u7ecf\u8fde\u63a5\u6210\u529f\u4e86\uff0c\u63a5\u4e0b\u6765\u662f\u8ba9\u6211\u8f93\u5165\u5bc6\u7801\uff0c\u53ef\u662f\u600e\u4e48\u8f93\u5165\u597d\u50cf\u5bc6\u7801\u90fd\u662f\u9519\u8bef\u7684\uff0c\u76f4\u5230\u6700\u540e\uff0c\u4ed6\u63d0\u793a\u201dPermission denied, please try again.\u201d\uff0c\u8fd9\u8bf4\u660e\u6211\u6ca1\u6709\u6743\u9650\u554a\uff0c\u63a5\u4e0b\u6765\u5c31\u662f\u89e3\u51b3\u95ee\u9898\u7684\u65f6\u523b\u4e86\u3002<\/p>\n

# vim \/etc\/ssh\/sshd_config\r\n\r\n\u4fee\u6539\uff1a\r\n\r\n#PasswordAuthentication yes\r\n\u4e3a\uff1a\r\n\r\nPasswordAuthentication yes\r\n\u4fee\u6539\uff1a\r\n\r\nPermitRootLogin prohibit-password\r\n\u4e3a\uff1a\r\n\r\nPermitRootLogin yes\r\n\u63a5\u4e0b\u6765\u9700\u8981\u91cd\u65b0\u542f\u52a8ssh\u3002\r\n\r\n# service sshd restart\r\n<\/pre>\n

\u518d\u4e00\u6b21\u8fde\u63a5\u5c31\u4f1a\u6210\u529f\u4e86\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n

\"\"<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.lixh.cn\/archives\/1265.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/kali-linux-ssh.html<\/a>\u7f16\u8f91\uff1a\u51af\u745e\u6d9b\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb SSH\u662f\u6807\u51c6\u7684\u7f51\u7edc\u534f\u8bae\uff0c\u53ef\u7528\u4e8e\u5927\u591a\u6570UNIX\u64cd\u4f5c\u7cfb\u7edf\uff0c\u80fd\u591f\u5b9e\u73b0\u5b57\u7b26\u754c\u9762\u7684\u8fdc\u7a0b\u767b\u5f55\u7ba1\u7406\uff0c\u5b83\u9ed8\u8ba4\u4f7f\u752822\u53f7\u7aef […]<\/p>\n","protected":false},"author":1329,"featured_media":100371,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-100361","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/100361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1329"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=100361"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/100361\/revisions"}],"predecessor-version":[{"id":100374,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/100361\/revisions\/100374"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/100371"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=100361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=100361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=100361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}