{"id":5736,"date":"2023-12-01T11:32:01","date_gmt":"2023-12-01T03:32:01","guid":{"rendered":"https:\/\/white-night.club\/?p=5736"},"modified":"2023-12-01T17:07:16","modified_gmt":"2023-12-01T09:07:16","slug":"book2-27","status":"publish","type":"post","link":"https:\/\/white-night.club\/index.php\/2023\/12\/01\/book2-27\/","title":{"rendered":"27.\u300a\u8ba1\u7b97\u673a\u7f51\u7edc\u6559\u7a0b\uff1a\u81ea\u9876\u5411\u4e0b\u65b9\u6cd5\u300b(2012) \u4f5c\u8005\uff1aBehrouz A.Forouzan"},"content":{"rendered":"\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>\u5176\u5b9e\u8fd9\u4e2a\u6574\u4f53\u7684\u6982\u5ff5\uff0c\u548cLinux\u91cc\u9762\u7684shell\u662f\u5dee\u4e0d\u591a\u7684\u3002\nlinux\u7684shell\u662f\u5957\u5728\u5185\u6838\u5916\u9762\u7684\uff0c\u7528\u6237\u901a\u8fc7shell\u53bb\u5bf9\u5185\u6838\u8fdb\u884c\u64cd\u4f5c\u3002\nSecure Shell\u4e5f\u662f\u4e2aShell\u3002\u8fd9\u4e2aShell\u662f\u5957\u5728TCP\u8fde\u63a5\u5916\u9762\u7684\u3002\u901a\u8fc7\u52a0\u5bc6\u548c\u89e3\u5bc6\u7b97\u6cd5\u8ba9TCP\u8fde\u63a5\u53d8\u5f97\u66f4\u52a0\u5b89\u5168\u3002<\/code><\/pre>\n\n\n\n<p>SSH\u662f\u4e00\u4e2a\u6709\u4e09\u4e2a\u7ec4\u4ef6\u7684\u5e94\u7528\u5c42\u534f\u8bae\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"769\" src=\"https:\/\/white-night.club\/wp-content\/uploads\/2023\/12\/da6fda602e1f38a8f9fc6ab4de60921-1024x769.png\" alt=\"\" class=\"wp-image-5741\" style=\"border-style:none;border-width:0px;border-radius:0px\" srcset=\"https:\/\/white-night.club\/wp-content\/uploads\/2023\/12\/da6fda602e1f38a8f9fc6ab4de60921-1024x769.png 1024w, https:\/\/white-night.club\/wp-content\/uploads\/2023\/12\/da6fda602e1f38a8f9fc6ab4de60921-300x225.png 300w, https:\/\/white-night.club\/wp-content\/uploads\/2023\/12\/da6fda602e1f38a8f9fc6ab4de60921-768x577.png 768w, https:\/\/white-night.club\/wp-content\/uploads\/2023\/12\/da6fda602e1f38a8f9fc6ab4de60921.png 1071w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>SSH\u8fde\u63a5\u534f\u8bae\uff1aSSH-CONN\nSSH\u8ba4\u8bc1\u534f\u8bae\uff1aSSH-AUTH\nSSH\u4f20\u8f93\u534f\u8bae\uff1aSSH-TRANS\n\u9700\u8981\u6ce8\u610f\u7684\u662fSSH\u7684\u8fde\u63a5\u8fc7\u7a0b\u5e76\u4e0d\u662f\u4ece\u4e0a\u81f3\u4e0b\u3002\u548cTCP\/IP\u6a21\u578b\u672c\u8eab\u7684\u8bbe\u8ba1\u4e00\u6837\uff0c\u4e0a\u4e00\u5c42\u7684\u534f\u8bae\u4f9d\u8d56\u4e8e\u4e0b\u4e00\u6b21\u63d0\u4f9b\u7684\u670d\u52a1\u3002\u6240\u4ee5\u5efa\u7acbSSH\u8fde\u63a5\u662f\u4eceSSH-TRANS\u5f00\u59cb\u7684\u3002\u4f46\u6570\u636e\u7684\u4f20\u8f93\u662f\u4ece\u4e0a\u81f3\u4e0b\u7684\uff0c\u8fd9\u70b9\u8981\u8fdb\u884c\u4e00\u4e2a\u533a\u5206\u3002<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>SSH\u548cTELNET\u4e00\u6837\uff0c\u90fd\u662f\u5e94\u7528\u5c42\u7684\u534f\u8bae\u3002\n\u4f46\u548cTELNET\u4e0d\u540c\u7684\u662f\uff0cTELNET\u53ea\u652f\u6301\u8fdc\u7a0b\u767b\u9646+\u8fdc\u7a0b\u6267\u884c\u547d\u4ee4\u3002\u800cSSH\u53ef\u901a\u8fc7SFTP\uff0c\u901a\u8fc7SSH\u8fde\u63a5\u534f\u8bae\u5efa\u7acb\u7684\u5b89\u5168\u4fe1\u9053\u8fdb\u884c\u6587\u4ef6\u4f20\u8f93\u3002\n\u8fd8\u9700\u8981\u6ce8\u610f\u7684\u662fFTP\u548cSFTP\u662f\u4e24\u79cd\u5b8c\u5168\u4e0d\u540c\u7684\u534f\u8bae\uff0c\u4e24\u8005\u53ea\u662f\u540d\u5b57\u76f8\u8fd1\u3002FTP\u662f\u901a\u8fc7\u5efa\u7acbTCP\/IP\u8fde\u63a5\u4f20\u8f93\u6587\u4ef6\u3002SFTP\u662f\u901a\u8fc7SSH-CONN\u5efa\u7acb\u7684\u5b89\u5168\u4fe1\u9053\u4f20\u8f93\u6587\u4ef6\u3002<\/code><\/pre>\n\n\n\n<p>\u7531\u4e8eTCP\u4e0d\u662f\u5b89\u5168\u4f20\u8f93\u5c42\u534f\u8bae\uff0cSSH\u9996\u5148\u4f7f\u7528\u5728TCP\u9876\u90e8\u521b\u5efa\u5b89\u5168\u94fe\u8def\u7684\u534f\u8bae\u3002\u8fd9\u4e2a\u65b0\u5c42\u662f\u4e00\u4e2a\u72ec\u7acb\u534f\u8bae\uff0c\u79f0\u4e3aSSH-TRANS\u3002\u5f53\u6267\u884c\u8fd9\u4e2a\u534f\u8bae\u7684\u7a0b\u5e8f\u88ab\u8c03\u7528\u65f6\uff0c\u5ba2\u6237\u548c\u670d\u52a1\u5668\u9996\u5148\u4f7f\u7528TCP\u534f\u8bae\u5efa\u7acb\u4e00\u4e2a\u4e0d\u5b89\u5168\u7684\u8fde\u63a5\u3002\u7136\u540e\uff0c\u5b83\u4eec\u4ea4\u6362\u51e0\u4e2a\u5b89\u5168\u53c2\u6570\u5728TCP\u9876\u90e8\u5efa\u7acb\u5b89\u5168\u4fe1\u9053\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>TCP\u53ef\u9760\u2260TCP\u5b89\u5168\u3002\nTCP\u53ea\u662f\u5efa\u7acb\u4e86\u786e\u4fdd\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u90fd\u80fd\u63a5\u6536\u5230\u4fe1\u606f\u7684\u8fde\u63a5\uff0c\u4f46\u5e76\u4e0d\u786e\u4fdd\u8fd9\u4e2a\u8fde\u63a5\u662f\u5b89\u5168\u7684\u3002\u6bd4\u5982\u4f60\u60f3\u901a\u8fc7TELNET\u767b\u9646\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u65f6\u5019\uff0c\u90a3\u8f93\u5165\u7684\u8d26\u53f7\u5bc6\u7801\u90fd\u662f\u660e\u6587\u4f20\u8f93\uff0c\u522b\u4eba\u6293\u5305\u7684\u8bdd\u76f4\u63a5\u5c31\u80fd\u62ff\u5230\u4f60\u7684\u8d26\u53f7\u5bc6\u7801\u3002<\/code><\/pre>\n\n\n\n<p>\u8fd9\u91cc\u6211\u4eec\u7b80\u8981\u5217\u51fa\u8fd9\u4e2a\u534f\u8bae\u63d0\u4f9b\u7684\u670d\u52a1\uff1a<\/p>\n\n\n\n<p>1.\u9690\u79c1\u6216\u4ea4\u6362\u62a5\u6587\u7684\u4fdd\u5bc6\u6027\u3002<\/p>\n\n\n\n<p>2.\u6570\u636e\u5b8c\u6574\u6027\uff0c\u8fd9\u610f\u5473\u7740\u5ba2\u6237\u548c\u670d\u52a1\u5668\u4ea4\u6362\u7684\u62a5\u6587\u4e0d\u4f1a\u88ab\u5165\u4fb5\u8005\u6539\u53d8\u3002<\/p>\n\n\n\n<p>3.\u670d\u52a1\u8ba4\u8bc1\uff0c\u8fd9\u610f\u5473\u7740\u5ba2\u6237\u73b0\u5728\u786e\u8ba4\u670d\u52a1\u5668\u6b63\u662f\u5176\u6240\u58f0\u79f0\u7684\u90a3\u53f0\u670d\u52a1\u5668\u3002<\/p>\n\n\n\n<p>4.\u62a5\u6587\u538b\u7f29\uff0c\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u6548\u7387\u5e76\u4e14\u4f7f\u5f97\u8fdb\u653b\u66f4\u96be\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>\u600e\u4e48\u8fd8\u63d0\u4f9b\u62a5\u6587\u538b\u7f29\u7684\u3002\u62a5\u6587\u52a0\u5bc6\u548c\u670d\u52a1\u8ba4\u8bc1\u5012\u662f\u597d\u7406\u89e3\uff0c\u4e0d\u8fc7\u62a5\u6587\u538b\u7f29\u8fd9\u4e2a\u542c\u8d77\u6765\u5c31\u5f88\u96be\u641e\u3002<\/code><\/pre>\n\n\n\n<p>\u5728\u5ba2\u6237\u4e0e\u670d\u52a1\u5668\u4e4b\u95f4\u7684\u5b89\u5168\u4fe1\u9053\u5efa\u7acb\u4ee5\u53ca\u5ba2\u6237\u7aef\u8ba4\u8bc1\u670d\u52a1\u5668\u4e4b\u540e\uff0cSSH\u53ef\u4ee5\u8c03\u7528\u4e86\u4e00\u4e2a\u6d41\u7a0b\uff0c\u5b83\u4e3a\u670d\u52a1\u5668\u5bf9\u5ba2\u6237\u8fdb\u884c\u8ba4\u8bc1\u3002<\/p>\n\n\n\n<p>\u5728\u5b89\u5168\u4fe1\u9053\u5efa\u7acb\u4ee5\u53ca\u5ba2\u6237\u548c\u670d\u52a1\u5668\u76f8\u4e92\u8ba4\u8bc1\u4e4b\u540e\uff0cSSH\u53ef\u4ee5\u8c03\u7528\u4e00\u4e2a\u6267\u884c\u7b2c\u4e09\u4e2a\u534f\u8bae\u7684\u8f6f\u4ef6\uff0c\u90a3\u5c31\u662fSSH-CONN\u3002SSH-CONN\u534f\u8bae\u63d0\u4f9b\u7684\u4e00\u4e2a\u670d\u52a1\u662f\u590d\u7528\u3002SSH-CONN\u91c7\u7528\u524d\u4e24\u5c42\u534f\u8bae\u521b\u5efa\u5b89\u5168\u4fe1\u9053\u5e76\u5141\u8bb8\u5ba2\u6237\u5728\u5176\u4e2d\u521b\u5efa\u591a\u4e2a\u903b\u8f91\u4fe1\u9053\u3002\u6bcf\u4e2a\u4fe1\u9053\u53ef\u4ee5\u7528\u4e8e\u5404\u81ea\u4e0d\u540c\u7684\u76ee\u7684\uff0c\u6bd4\u5982\u8fdc\u7a0b\u767b\u9646\u3001\u6587\u4ef6\u4f20\u8f93\u7b49\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>\u867d\u7136\u8bf4\u662f\u4e0d\u540c\u4fe1\u9053\uff0c\u4f46\u5927\u90e8\u5206\u8fd8\u662f\u8d70\u540c\u4e00\u4e2a\u7aef\u53e3\u5427\u3002\u6bd4\u5982\u8bf4\u7ecf\u5178\u7684SFTP\uff0c\u4f60\u8981\u4f20\u6587\u4ef6\u5230\u670d\u52a1\u5668\u4e0a\uff0c\u90a3\u9996\u5148\u4e0d\u8fd8\u662f\u5f97\u901a\u8fc722\u53bb\u767b\u9646\u5230\u670d\u52a1\u5668\u518d\u901a\u8fc7SFTP\uff08\u4e0d\u662fFTP\uff01\uff01\uff01SFTP\u548cFTP\u662f\u5b8c\u5168\u4e0d\u540c\u7684\u4e24\u4e2a\u534f\u8bae\uff09\u4f20\u6587\u4ef6\u3002\n\u603b\u7684\u6765\u8bf4\uff0c\u5148\u6709TCP\u8fde\u63a5\uff0c\u518d\u6709\u5efa\u7acb\u5728TCP\u8fde\u63a5\u4e4b\u4e0a\u7684\u57fa\u4e8eSSH\u534f\u8bae\u7684SSH\u8fde\u63a5\uff0c\u6700\u540e\u518d\u6709\u901a\u8fc7SSH\u8fde\u63a5\u5b9e\u73b0\u5404\u79cd\u76ee\u7684\u7684SFTP\/SCP\/Git(SSH)\u7b49\u534f\u8bae\u3002<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>\u60f3\u8bd5\u8bd5SSH\uff1flinux\u548cwindows\u76f4\u63a5\u5728\u547d\u4ee4\u884c\u8f93\u5165\u4e0b\u9762\u8fd9\u6761\u6307\u4ee4\u5c31\u884c\u3002\nssh user@address<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-foreground-color has-text-color has-background has-medium-font-size\" style=\"border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:#04c8dc;border-left-width:5px;background-color:#c6faff\"><code>TELNET\u5c31\u6bd4\u8f83\u9ebb\u70e6\uff0cWindows\u9ed8\u8ba4\u4e0d\u5f00\u8fd9\u529f\u80fd\uff0clinux\u7684\u8bdd\u5f97\u81ea\u5df1\u4e0b\u3002\u53ef\u4ee5\u81ea\u5df1\u641e\u4e24\u53f0\u865a\u62df\u673a\u8bd5\u8bd5TELNET\u3002<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>P57 SSH<\/p>\n","protected":false},"author":1,"featured_media":5741,"comment_status":"open","ping_status":"","sticky":false,"template":"base","format":"standard","meta":{"footnotes":""},"categories":[113,107],"tags":[114,112],"_links":{"self":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/5736"}],"collection":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/comments?post=5736"}],"version-history":[{"count":0,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/5736\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media\/5741"}],"wp:attachment":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media?parent=5736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/categories?post=5736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/tags?post=5736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}