{"id":173934,"date":"2020-03-16T10:48:19","date_gmt":"2020-03-16T02:48:19","guid":{"rendered":"https:\/\/gulass.cn\/?p=173934"},"modified":"2020-03-03T16:50:42","modified_gmt":"2020-03-03T08:50:42","slug":"bpf-teleport","status":"publish","type":"post","link":"https:\/\/gulass.cn\/bpf-teleport.html","title":{"rendered":"BPF\u5982\u4f55\u589e\u5f3aTeleport\u7684\u589e\u5f3a\u56de\u8bdd\u8bb0\u5f55\u529f\u80fd"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | Teleport\u662f\u4e00\u6b3eGolang\u8bed\u8a00\u5f00\u53d1\u7684\u7528\u6765\u66ff\u4ee3sshd\u7684ssh\u670d\u52a1\u5668\uff0c\u652f\u6301\u901a\u8fc7 SSH \u6216\u8005 HTTPS \u8fdc\u7a0b\u8bbf\u95ee\uff0c\u652f\u6301\u96c6\u7fa4\u3001Web\u767b\u9646\u3001SSH\u5386\u53f2\u8bb0\u5f55\u8fd8\u91cd\u653e\u7528\u4ee5\u64cd\u4f5c\u5206\u4eab\u548c\u5b89\u5168\u5ba1\u8ba1\uff0c\u57fa\u4e8eGolang ssh\u5305\u6784\u5efa\u5f00\u53d1\uff0c\u5b9e\u73b0\u5b8c\u5168\u517c\u5bb9OpenSSH\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n \u80cc\u666f<\/strong><\/div>\n Teleport\u7684\u4e00\u4e2a\u4f18\u52bf\u5c31\u662f\uff0c\u53ef\u4ee5\u5bf9ssh\u4f1a\u8bdd\u5168\u7a0b\u8bb0\u5f55\u3002\u8be5\u529f\u80fd\u53ef\u4ee5\u6355\u83b7\u7528\u6237\u5c4f\u5e55\u4e0a\u663e\u793a\u7684\u6240\u6709\u5185\u5bb9\u3002\u4e4b\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528\u8be5\u8bb0\u5f55\u56de\u653e\u8fd8\u539f\u6240\u6709\u64cd\u4f5c\uff0c\u4ee5\u4fbf\u4e8e\u5ba1\u8ba1\u3002\u8fd9\u4e9b\u8bb0\u5f55\u6613\u4e8e\u7406\u89e3\uff0c\u5e76\u63d0\u4f9b\u4e86\u6709\u5173\u7528\u6237\u5728\u4f1a\u8bdd\u8fc7\u7a0b\u4e2d\u6240\u505a\u64cd\u4f5c\u548c\u663e\u793a\u7684\u4fe1\u606f<\/p>\n \u7136\u800c\uff0c\u548c\u5176\u4ed6\u540c\u7c7b\u5de5\u5177\u4e00\u6837(\u5821\u5792\u673a)\uff0cTeleport\u4e5f\u6709\u4e0d\u8db3\u4e4b\u5904\uff0c\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b\u65b9\u6cd5\u7ed5\u8fc7\u4f1a\u8bdd\u8bb0\u5f55\u3002\u5176\u4e2d\u5305\u62ec\uff1a<\/p>\n \u6df7\u6dc6\u547d\u4ee4\uff1a<\/p>\n \u6bd4\u5982\u901a\u8fc7\u52a0\u5bc6\u6216\u8005\u5176\u4ed6\u65b9\u5f0f\u5bf9\u547d\u4ee4\u4e88\u4ee5\u6df7\u6dc6\u3002\u6bd4\u5982\u4e0b\u9762\u7684\u8bed\u53e5\uff0c\u7528base64\u7f16\u7801\u5bf9\u8981\u6267\u884c\u7684\u547d\u4ee4\u8fdb\u884c\u4e86\u6df7\u6dc6\u3002<\/p>\n echo Y3VybCBodHRwOi8vd3d3LmV4YW1wbGUuY29tCg== | base64 -d | sh<\/pre>\n |