{"id":288493,"date":"2023-11-28T20:11:38","date_gmt":"2023-11-28T12:11:38","guid":{"rendered":"https:\/\/lrxjmw.cn\/ycwjxzgjxdkj.html"},"modified":"2023-11-28T20:11:38","modified_gmt":"2023-11-28T12:11:38","slug":"ycwjxzgjxdkj","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/ycwjxzgjxdkj.html","title":{"rendered":"\u8fdc\u7a0b\u6587\u4ef6\u4e0b\u8f7d\u5de5\u5177\uff1a\u73b0\u4ee3\u79d1\u6280\u7684\u5229\u5668"},"content":{"rendered":"
1.\u5f3a\u5927\u7684\u8fdc\u7a0b\u6587\u4ef6\u4e0b\u8f7d\u5de5\u5177<\/b><\/p>\n
\u5728\u73b0\u4ee3\u79d1\u6280\u53d1\u5c55\u7684\u4eca\u5929\uff0c\u4eba\u4eec\u5bf9\u4e8e\u7f51\u7edc\u901f\u5ea6\u548c\u6548\u7387\u7684\u8981\u6c42\u8d8a\u6765\u8d8a\u9ad8\u3002\u5728\u8fd9\u6837\u7684\u80cc\u666f\u4e0b\uff0cLinux<\/a> SSH\u6210\u4e3a\u4e86\u4e00\u6b3e\u5907\u53d7\u63a8\u5d07\u7684\u8fdc\u7a0b\u8fde\u63a5\u5de5\u5177\u3002\u5b83\u4e0d\u4ec5\u80fd\u591f\u5b9e\u73b0\u8fdc\u7a0b\u767b\u5f55\uff0c\u8fd8\u62e5\u6709\u5f3a\u5927\u7684\u6587\u4ef6\u4f20\u8f93\u529f\u80fd\u3002\u901a\u8fc7SSH\u534f\u8bae\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u4e0d\u540c\u4e3b\u673a\u4e4b\u95f4\u8fdb\u884c\u6587\u4ef6\u4f20\u8f93\u3002<\/p>\n 2.\u5b89\u5168\u53ef\u9760\u7684\u6587\u4ef6\u4f20\u8f93\u65b9\u5f0f<\/b><\/p>\n \u76f8\u6bd4\u5176\u4ed6\u4f20\u8f93\u65b9\u5f0f\uff0c\u5982FTP\u7b49\uff0cLinux SSH\u91c7\u7528\u4e86\u52a0\u5bc6\u6280\u672f\uff0c\u786e\u4fdd\u4e86\u6587\u4ef6\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u7684\u5b89\u5168\u6027\u3002\u8fd9\u610f\u5473\u7740\u6211\u4eec\u53ef\u4ee5\u653e\u5fc3\u5730\u4f20\u8f93\u654f\u611f\u6570\u636e\u6216\u91cd\u8981\u6587\u4ef6\uff0c\u800c\u4e0d\u5fc5\u62c5\u5fc3\u88ab\u9ed1\u5ba2\u7a83\u53d6\u6216\u7be1\u6539\u3002<\/p>\n <\/p>\n 3.\u7b80\u5355\u6613\u7528\u7684\u64cd\u4f5c\u6b65\u9aa4<\/b><\/p>\n \u4f7f\u7528Linux SSH\u4e0b\u8f7d\u6587\u4ef6\u975e\u5e38\u7b80\u5355\u3002\u9996\u5148linux\u8fd0\u7ef4\u62db\u8058\uff0c\u6211\u4eec\u9700\u8981\u786e\u4fdd\u76ee\u6807\u4e3b\u673a\u4e0a\u5df2\u7ecf\u5b89\u88c5\u4e86SSH\u670d\u52a1\uff0c\u5e76\u4e14\u6211\u4eec\u62e5\u6709\u767b\u5f55\u8be5\u4e3b\u673a\u7684\u6743\u9650\u3002\u7136\u540elinux\u64cd\u4f5c\u7cfb\u7edf\u5b89\u88c5\uff0c\u5728\u672c\u5730\u7ec8\u7aef\u4e0a\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4<\/a>\uff1a<\/p>\n \n \u63a5\u7740\uff0c\u8f93\u5165\u5bc6\u7801\u4ee5\u5b8c\u6210\u767b\u5f55\u3002\u4e00\u65e6\u767b\u5f55\u6210\u529f\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u4f7f\u7528SCP\u547d\u4ee4\u6765\u8fdb\u884c\u6587\u4ef6\u4e0b\u8f7d\u4e86\uff1a<\/p>\n \n \u5176\u4e2d\uff0cusername\u662f\u76ee\u6807\u4e3b\u673a\u7684\u7528\u6237\u540d\uff0chostname\u662f\u76ee\u6807\u4e3b\u673a\u7684IP\u5730\u5740\u6216\u57df\u540d\uff0cremote_file\u662f\u76ee\u6807\u6587\u4ef6\u5728\u76ee\u6807\u4e3b\u673a\u4e0a\u7684\u8def\u5f84\uff0clocal_file\u662f\u672c\u5730\u4fdd\u5b58\u6587\u4ef6\u7684\u8def\u5f84\u3002<\/p>\n 4.\u5feb\u901f\u9ad8\u6548\u7684\u4e0b\u8f7d\u901f\u5ea6<\/b><\/p>\n \u7531\u4e8eLinux SSH\u4f7f\u7528\u4e86\u9ad8\u6548\u7684\u52a0\u5bc6\u7b97\u6cd5\u548c\u4f18\u5316\u7684\u4f20\u8f93\u534f\u8bae\uff0c\u56e0\u6b64\u5b83\u80fd\u591f\u4ee5\u66f4\u5feb\u7684\u901f\u5ea6\u8fdb\u884c\u6587\u4ef6\u4f20\u8f93\u3002\u65e0\u8bba\u662f\u5c0f\u6587\u4ef6\u8fd8\u662f\u5927\u6587\u4ef6\uff0c\u90fd\u53ef\u4ee5\u5728\u77ed\u65f6\u95f4\u5185\u5b8c\u6210\u4e0b\u8f7d\uff0c\u6781\u5927\u5730\u63d0\u5347\u4e86\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n <\/p>\n 5.\u652f\u6301\u65ad\u70b9\u7eed\u4f20\u529f\u80fd<\/b><\/p>\n \u5728\u7f51\u7edc\u4e0d\u7a33\u5b9a\u6216\u5e26\u5bbd\u8f83\u4f4e\u7684\u60c5\u51b5\u4e0b\uff0c\u6587\u4ef6\u4f20\u8f93\u5f80\u5f80\u5bb9\u6613\u4e2d\u65ad\u3002\u4f46\u662f\uff0cLinux SSH\u63d0\u4f9b\u4e86\u65ad\u70b9\u7eed\u4f20\u529f\u80fd\uff0c\u5373\u4f7f\u5728\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u4e2d\u65ad\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u91cd\u65b0\u8fde\u63a5\u5e76\u4ece\u4e2d\u65ad\u5904\u7ee7\u7eed\u4f20\u8f93\uff0c\u907f\u514d\u4e86\u91cd\u65b0\u4e0b\u8f7d\u6574\u4e2a\u6587\u4ef6\u7684\u9ebb\u70e6\u3002<\/p>\n\nssh<\/a> username@hostname\n<\/pre>\n<\/p>\n
\nscp username@hostname:remote_file local_file\n<\/pre>\n<\/p>\n