{"id":90303,"date":"2024-03-06T05:39:12","date_gmt":"2024-03-05T21:39:12","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=90303"},"modified":"2024-03-06T05:39:12","modified_gmt":"2024-03-05T21:39:12","slug":"establish-ssh-service","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/establish-ssh-service.html","title":{"rendered":"\u5efa\u7acbSSH\u4e4b\u514d\u5bc6\u767b\u9646"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u6709\u4e00\u4e2a\u9879\u76ee\u8981\u6c42\u662f\u5728\u670d\u52a1\u5668\u4e2d\u5199\u4e00\u4e2aShell\u811a\u672c\uff0c\u4e3b\u8981\u7528\u6765\u5728\u673a\u5668B\u4e2d\u5b9a\u65f6\u5907\u4efd\u673a\u5668A\u4e2d\u7684\u4e00\u4e9b\u6587\u4ef6\u3002\u73b0\u6709scp\u548cssh\u4e24\u4e2a\u73a9\u5177\u3002\u522b\u7684\u8fd8\u771f\u6ca1\u6709\u5176\u4ed6\u4ec0\u4e48\u4e1c\u897f\u4e86\u3002\u90a3\u5c31\u60f3\u76f4\u63a5\u7528scp\u53bb\u8fdc\u7a0b\u590d\u5236\u597d\u4e86\uff0c\u4f46\u662fscp\u590d\u5236\u7684\u65f6\u5019\u8fd8\u8981\u8f93\u5165\u5bc6\u7801\u3002\u90a3\u5c31\u641e\u641e\u8ba9\u4f7f\u7528scp\u7684\u65f6\u5019\u4e0d\u7528\u8f93\u5165\u5bc6\u7801\u597d\u4e86\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u4ee5\u4e0b\u8fdb\u5165\u6b63\u6587<\/p>\n \u5ffd\u7565ssh\u5b89\u88c5scp\u5b89\u88c5\u8fc7\u7a0b\u3002\u9ed8\u8ba4\u8ba4\u4e3a\u5f53\u524d\u673a\u5668\u4e0e\u8fdc\u7a0b\u673a\u5668\u542b\u6709\u5b8c\u6574\u7684ssh,scp\u529f\u80fd<\/p>\n \u9996\u5148\u5728\u673a\u5668B\u4e2d\u4f7f\u7528ssh-keygen -t rsa \u547d\u4ee4 \uff08\u60f3\u6765\u73a9git\u7684\u7ae5\u978b\u5e94\u8be5\u77e5\u9053\u5427~\uff09<\/p>\n [hart02@hart02 .ssh]$ ssh-keygen -t rsa<\/pre>\n |