{"id":3537,"date":"2021-09-04T16:50:16","date_gmt":"2021-09-04T08:50:16","guid":{"rendered":"https:\/\/blog.coderfan.org\/?p=3537"},"modified":"2021-10-08T20:32:43","modified_gmt":"2021-10-08T12:32:43","slug":"how-to-use-telegram-bot-to-alarm-you-when-someone-login-into-your-vps","status":"publish","type":"post","link":"https:\/\/blog.coderfan.org\/en\/how-to-use-telegram-bot-to-alarm-you-when-someone-login-into-your-vps.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528Telegram\u7535\u62a5\u673a\u5668\u4eba\u5b9e\u73b0VPS\u767b\u5f55\u63d0\u9192"},"content":{"rendered":"<div class='booster-block booster-read-block'>\n                <div class=\"twp-read-time\">\n                \t<i class=\"booster-icon twp-clock\"><\/i> <span>Read Time:<\/span>1 Minute, 51 Second                <\/div>\n\n            <\/div>\n<p class=\"has-text-align-justify\">\u76f8\u4fe1\u5f88\u591a\u5c0f\u4f19\u4f34\u90fd\u6709\u8fd9\u6837\u4e00\u4e2a\u70e6\u607c\uff1a\u624b\u91cc\u5806\u79ef\u7684\u670d\u52a1\u5668\u5f88\u591a\uff0c\u603b\u662f\u62c5\u5fc3\u88ab\u4eba\u66b4\u529b\u7834\u89e3\u767b\u5f55\u3002\u5728\u6b64\u4e4b\u524d\uff0c\u6211\u66fe\u7ecf\u8bb2\u8fc7\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u66f4\u6539SSH\u9ed8\u8ba4\u767b\u5f55\u7aef\u53e3\uff0c\u6539\u7528SSH KEY\u767b\u5f55\u6216\u8005\u5229\u7528faill2ban\u7b49\u5de5\u5177\u6765\u589e\u52a0\u81ea\u5df1\u670d\u52a1\u5668\u7684\u5b89\u5168\u3002\u5173\u4e8e\u8fd9\u90e8\u5206\u7684\u5185\u5bb9\uff0c\u611f\u5174\u8da3\u7684\u7ae5\u978b\u53ef\u4ee5\u79fb\u6b65\u81f3\u6211\u7684\u535a\u6587\uff1a<a href=\"https:\/\/blog.coderfan.org\/wp-admin\/post.php?post=3296&amp;action=edit\" class=\"ek-link\"><strong>\u65b0\u624b\u5c0f\u767d\u5982\u4f55\u4fdd\u62a4\u81ea\u5df1Linux\u4e3b\u673a\u7684\u5b89\u5168<\/strong><\/a>\u3002<\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u6709\u6ca1\u6709\u66f4\u597d\u7684\u529e\u6cd5\u6765\u76d1\u63a7\u6211\u4eec\u7684\u670d\u52a1\u5668\u5462\uff1f\u6bd4\u5982,\u4e00\u65e6\u6709\u4eba\u767b\u5f55\u6211\u4eec\u7684\u670d\u52a1\u5668\u6211\u4eec\u6551\u80fd\u7acb\u9a6c\u6536\u5230\u6d88\u606f\u901a\u77e5\u3002\u5b9e\u9645\u4e0a\u8fd9\u91cc\u6709\u5f88\u591a\u901a\u77e5\u65b9\u5f0f\uff0c\u6bd4\u5982\u901a\u8fc7\u90ae\u4ef6\u6216\u8005\u77ed\u4fe1\u3002\u518d\u8005\u5462\uff0c\u5c31\u662f\u901a\u8fc7\u7535\u62a5\u673a\u5668\u4eba\u5b9e\u73b0\u6d88\u606f\u63d0\u9192\u3002<\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u5173\u4e8e\u7535\u62a5\u673a\u5668\u4eba\u7684\u4ecb\u7ecd\u5728\u8fd9\u91cc\u6211\u5c31\u4e0d\u518d\u8d58\u8ff0\uff0c\u4f60\u53ef\u4ee5\u5c06\u5176\u7406\u89e3\u4e3a\u5fae\u4fe1\u4e0a\u7684\u5c0f\u7a0b\u5e8f\u3002\u60f3\u60f3\u6211\u4eec\u5728\u4f7f\u7528\u5fae\u4fe1\u7684\u8fc7\u7a0b\u4e2d\uff0c\u5c0f\u7a0b\u5e8f\u6781\u5927\u5730\u63d0\u5347\u4e86\u6211\u4eec\u65e5\u5e38\u751f\u6d3b\u7684\u4fbf\u5229\u6027\u3002\u65e0\u8bba\u662f\u8d2d\u7269\u3001\u6253\u8f66\uff0c\u73a9\u6e38\u620f\uff0c\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u90fd\u80fd\u8ba9\u4f60\u5728\u4e0d\u7528\u5207\u6362\u5176\u4ed6APP\u7684\u60c5\u51b5\u4e0b\u5b9e\u73b0\u4f60\u7684\u9700\u6c42\uff0c\u7535\u62a5\u673a\u5668\u4eba\u4e5f\u662f\u5982\u6b64\u3002\u90a3\u4e48\uff0c\u63a5\u4e0b\u6765\u6211\u5c06\u7ed9\u5927\u5bb6\u4ecb\u7ecd\uff0c\u5982\u4f55\u4f7f\u7528\u7535\u62a5\u673a\u5668\u4eba\u5b9e\u73b0VPS\u767b\u5f55\u63d0\u9192\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1.\u6ce8\u518c\u7535\u62a5\u8d26\u53f7<\/h2>\n\n\n\n<p>\u5173\u4e8e\u7535\u62a5\u7684\u6ce8\u518c\u6d41\u7a0b\u4e0d\u5728\u672c\u6559\u7a0b\u4e2d\u8fdb\u884c\u8bb2\u8ff0\uff0c\u5927\u5bb6\u53ef\u4ee5\u81ea\u884cGoogle\u3002\u5728\u8fd9\u91cc\u6211\u53ea\u7b80\u5355\u63d0\u4e09\u70b9\uff1a<\/p>\n\n\n\n<p class=\"has-text-align-justify\">1\uff09\u4f7f\u7528\u865a\u62df\u53f7\u7801\u8fdb\u884c\u8d26\u6237\u6ce8\u518c\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u6dd8\u5b9d\u8d2d\u4e70GV\u8fdb\u884c\u6ce8\u518c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u6ce8\u518cGV\u3002<\/p>\n\n\n\n<p class=\"has-text-align-justify\">2\uff09\u4f7f\u7528Telegram\u65f6\u8bf7\u5f00\u542f\u4ee3\u7406\u670d\u52a1\uff0c\u522b\u50bb\u50bb\u5730\u4f7f\u7528\u4f60\u672c\u5730\u7f51\u7edc\uff0c\u5426\u5219\u5f88\u5bb9\u6613\u66b4\u9732\u81ea\u5df1\u3002<\/p>\n\n\n\n<p class=\"has-text-align-justify\">3\uff09\u6ce8\u518c\u5b8cTelegram\u540e\uff0c\u8bf7\u5728Settings-&gt;Privacy and Security\u5185\u5f00\u542fTwo-Step Verification\u3002<\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u5728\u8fd9\u91cc\uff0c\u53ef\u80fd\u8fd8\u6709\u5f88\u591a\u5c0f\u4f19\u4f34\u8fd8\u4e0d\u77e5\u9053\u5982\u4f55\u901a\u8fc7\u5408\u7406\u8bbe\u7f6e\u4f7f\u5f97Telegra&nbsp;m\u80fd\u591f\u6b63\u5e38\u4f7f\u7528\u3002\u5176\u5b9e\u5f88\u7b80\u5355\uff0c\u5982\u679c\u4f60\u662f\u79fb\u52a8\u7aef\uff0c\u5982V2rayNG\u3001AnXray\u7b49\u5ba2\u6237\u7aef\u90fd\u652f\u6301\u5206\u5e94\u7528\u4ee3\u7406\uff0c\u53ea\u8981\u4f60\u5c06Telegram\u52a0\u5165\u5176\u767d\u540d\u5355\u5373\u53ef\u3002\u5982\u679c\u4f60\u662f\u684c\u9762\u7aef\uff08\u5982Windows\u7cfb\u7edf\uff09\uff0c\u5219\u9700\u8981\u901a\u8fc7\u8bbe\u7f6e\u4ee3\u7406\u7684\u65b9\u5f0f\u5b9e\u73b0Telegram\u7684\u6b63\u5e38\u4f7f\u7528\u3002\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"488\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-1-1024x488.png\" alt=\"\" class=\"wp-image-3539\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-1-1024x488.png 1024w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-1-300x143.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-1-768x366.png 768w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-1-18x9.png 18w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-1.png 1207w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u53ea\u8981\u5c06\u4f60\u672c\u5730\u4ee3\u7406\u5de5\u5177\u7684Socks\u6216\u8005Http\u914d\u7f6e\u590d\u5236\u5230Telegram\u5185\u5373\u53ef\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2.\u7533\u8bf7\u7535\u62a5\u673a\u5668\u4eba<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">\u7533\u8bf7\u7535\u62a5\u673a\u5668\u4eba\u9700\u8981\u901a\u8fc7BotFather\u8fdb\u884c\u7533\u8bf7\u3002BotFather\u662f\u7535\u62a5\u4e13\u95e8\u7528\u4e8e\u673a\u5668\u4eba\u7ba1\u7406\u7684\u673a\u5668\u4eba\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u5b83\u7533\u8bf7\u3001\u7ba1\u7406\u6211\u4eec\u81ea\u5df1\u7684\u673a\u5668\u4eba\u3002<\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u5f88\u591a\u521a\u5f00\u59cb\u4f7f\u7528\u7535\u62a5\u7684\u5c0f\u4f19\u4f34\u4e0d\u77e5\u9053\u600e\u4e48\u627e\u5230\u81ea\u5df1\u6240\u9700\u8981\u7684\u673a\u5668\u4eba\uff0c\u5176\u5b9e\u5f88\u7b80\u5355\uff0c\u53ea\u8981\u77e5\u9053\u5176\u540d\u5b57\uff0c\u4f60\u53ef\u4ee5\u5728\u7535\u62a5\u641c\u7d22\u6846\u5185\u641c\u7d22\u5373\u53ef\u3002\u901a\u8fc7@BotFather\uff0c\u6211\u4eec\u627e\u5230BotFather\u673a\u5668\u4eba\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"684\" height=\"266\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.png\" alt=\"\" class=\"wp-image-3538\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.png 684w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-300x117.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-18x7.png 18w\" sizes=\"auto, (max-width: 684px) 100vw, 684px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">\u5728\u641c\u7d22\u5230BotFather\u540e\u70b9\u51fbStart\uff0cBotFather\u4f1a\u63d0\u793a\u4f60\u4e00\u4e9b\u4ea4\u4e92\u547d\u4ee4\uff0c\u7528\u4e8e\u4f60\u5bf9\u4f60\u7684\u673a\u5668\u4eba\u8fdb\u884c\u7ba1\u7406\u3002\u5728\u8fd9\u4e2a\u6b65\u9aa4\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u5148\u5728\u804a\u5929\u6846\u5185\u8f93\u5165<strong>\/newbot<\/strong>\uff0cBotFather\u4f1a\u7ed9\u4e88\u63d0\u793a\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"167\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-2.png\" alt=\"\" class=\"wp-image-3540\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-2.png 830w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-2-300x60.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-2-768x155.png 768w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-2-18x4.png 18w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">BotFather\u63d0\u793a\u4f60\u9700\u8981\u4e3a\u4f60\u7684Bot\u9009\u62e9\u4e00\u4e2a\u540d\u5b57\uff0c\u5728\u8fd9\u91cc\u6211\u5c31\u968f\u610f\u8d77\u4e00\u4e2a\u540d\u597d\u4e86\uff08\u5728\u8fd9\u91cc\u6211\u4f7f\u7528\u4e86FranzKafka\uff0c\u7231\u4f60\uff0c\u6211\u7684\u5f17\u5170\u8328\u00b7\u5361\u592b\u5361\uff09\uff0c\u5b9e\u9645\u4e0a\u4f60\u53ef\u4ee5\u968f\u610f\u547d\u540d\u4f60\u7684\u673a\u5668\u4eba\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"776\" height=\"302\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-3.png\" alt=\"\" class=\"wp-image-3541\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-3.png 776w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-3-300x117.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-3-768x299.png 768w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-3-18x7.png 18w\" sizes=\"auto, (max-width: 776px) 100vw, 776px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">\u7d27\u63a5\u7740\uff0cBotFather\u8fd8\u9700\u8981\u4f60\u4e3a\u4f60\u7684Bot\u8bbe\u7f6e\u4e00\u4e2ausername\uff0c\u8fd9\u4e2ausername\u9700\u8981\u6ee1\u8db3\u7279\u5b9a\u7684\u683c\u5f0f\uff0c\u5373\u5fc5\u987b\u4ee5bot\u7ed3\u5c3e\u3002\u5728\u8fd9\u91cc\uff0c\u4f60\u7684Bot\u540d\u4e0d\u80fd\u4e0e\u5df2\u6709\u7684Bot\u91cd\u540d\u3002\u5f53\u4f60\u7684username\u7b26\u5408\u8981\u6c42\u4e4b\u540e,BotFather\u4f1a\u53d1\u51fa\u7c7b\u4f3c\u4e8e\u8fd9\u6837\u4e00\u6bb5\u4fe1\u606f\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"822\" height=\"401\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-4.png\" alt=\"\" class=\"wp-image-3542\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-4.png 822w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-4-300x146.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-4-768x375.png 768w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-4-18x9.png 18w\" sizes=\"auto, (max-width: 822px) 100vw, 822px\" \/><\/figure>\n\n\n\n<p>\u8fd9\u6bb5\u8bdd\u4e3b\u8981\u6709\u4e24\u4e2a\u91cd\u70b9\uff1a<\/p>\n\n\n\n<p class=\"has-text-align-justify\">1.\u4f7f\u7528\u4f60\u7684\u673a\u5668\u4eba\u53ef\u4ee5\u901a\u8fc7t.me\/username\u7684\u5f62\u5f0f\u8fdb\u884c\u4f7f\u7528\u3002\u5728\u8fd9\u91cc\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u70b9\u51fb\u84dd\u8272\u7684\u90e8\u5206\u4e0e\u4f60\u7684bot\u5f00\u542f\u5bf9\u8bdd\u3002<\/p>\n\n\n\n<p class=\"has-text-align-justify\">2.\u4f60\u4f1a\u5f97\u5230\u4e00\u4e2a\u4e13\u5c5e\u4e8e\u4f60\u7684\u4e0e\u4f60\u673a\u5668\u4eba\u7ed1\u5b9a\u7684HTTP API\uff0c\u8fd9\u4e2aAPI\u5f88\u91cd\u8981\uff0c\u5176\u4ed6\u4eba\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2aAPI\u63a7\u5236\u4f60\u7684\u673a\u5668\u4eba\u3002<\/p>\n\n\n\n<p class=\"has-text-align-justify\"><strong>\u6211\u4eec\u9700\u8981\u5c06\u8fd9\u4e32API\u4fdd\u5b58\u4e0b\u6765<\/strong>\uff0c\u518d\u70b9\u51fbt.me\/username\u7684\u84dd\u8272\u5b57\u4f53\u90e8\u5206\uff0c\u5f00\u542f\u4e0e\u4f60\u673a\u5668\u4eba\u7684\u5bf9\u8bdd\u3002\u6ce8\u610f\uff0c\u8bf7\u70b9\u51fbSTART\u5f00\u542f\u5bf9\u8bdd\uff0c\u8fd9\u662f\u4f60\u4eec\u5bf9\u8bdd\u7684\u5f00\u7aef\uff0c\u5982\u679c\u4f60\u4e00\u76f4\u6ca1\u6709\u70b9\u51fbSTART\uff0c\u4f60\u7684\u673a\u5668\u4eba\u662f\u65e0\u6cd5\u4e0e\u4f60\u8fdb\u884c\u5bf9\u8bdd\u7684\uff0c\u5305\u62ec\u4e4b\u540e\u7684\u63d0\u9192\u4f60\u4e5f\u6536\u4e0d\u5230\u54e6\u3002<\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u4e4b\u540e\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u5728\u7535\u62a5\u641c\u7d22\u6846\u5185\u8f93\u5165@getidsbot\uff0c\u8bf7\u6ce8\u610f\u4e0d\u8981\u9009\u62e9\u9519\u4e86\u54e6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"676\" height=\"266\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-5.png\" alt=\"\" class=\"wp-image-3543\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-5.png 676w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-5-300x118.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-5-18x7.png 18w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">\u6211\u4eec\u70b9\u51fbSTART\u540e\u5176\u4f1a\u7ed9\u6211\u4eec\u4e00\u4e2a\u6211\u4eec\u5728\u7535\u62a5\u5185\u90e8\u7684\u4e00\u4e2a\u8eab\u4efd\u6807\u8bc6\uff0c\u5728\u4e0b\u56fe\u4e2d\u4e3aid\u8fd9\u4e2a\u5b57\u6bb5\u4e4b\u540e\u7684\u5185\u5bb9\uff08\u5728\u672c\u6559\u7a0b\u4e2d\u662f18\u5f00\u5934\u7684\uff09\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"799\" height=\"492\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-6.png\" alt=\"\" class=\"wp-image-3544\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-6.png 799w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-6-300x185.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-6-768x473.png 768w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-6-18x12.png 18w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\"><strong>\u6211\u4eec\u540c\u65f6\u4e5f\u9700\u8981\u5c06id\u4fdd\u5b58\u4e0b\u6765\uff0c\u8fd9\u5728\u4e4b\u540e\u4f1a\u6709\u7528\u3002<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3.\u6784\u9020HTTPS\u8bf7\u6c42<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u901a\u8fc7\u7535\u62a5\u673a\u5668\u4eba\u5b9e\u73b0VPS\u767b\u5f55\u63d0\u9192\u5b9e\u9645\u4e0a\u662f\u7531\u4f60\u7684\u670d\u52a1\u7aef\u901a\u8fc7HTTPS\u7684\u65b9\u5f0f\u5411Telegram\u7684\u670d\u52a1\u5668\u53d1\u8d77\u8bf7\u6c42\uff0c\u5c06\u6d88\u606f\u901a\u77e5\u5230\u7535\u62a5\u7aef\uff0c\u518d\u7531HTTP API\u4e0eid\u5bf9\u5e94\u5230\u5177\u4f53\u7684bot\u673a\u5668\u4eba\uff0c\u7531bot\u673a\u5668\u4eba\u8fdb\u884c\u5177\u4f53\u4fe1\u606f\u7684\u5c55\u793a\u3002\u6240\u4ee5\uff0c\u5728\u8fd9\u91cc\u6211\u4eec\u9700\u8981\u5148\u7b80\u5355\u4e86\u89e3\u4e00\u4e0bTelegram\u7684API\u4f7f\u7528\u65b9\u6cd5\uff0c\u8be6\u7ec6\u7684\u8bf4\u660e\u8bf7\u53c2\u9605\u7535\u62a5\u7684\u5b98\u65b9\u6587\u6863\uff1ahttps:\/\/core.telegram.org\/bots\/api<\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u5728Telegrame\u7684\u5b98\u65b9\u6587\u6863\u4e2d\uff0c\u5df2\u7ecf\u63cf\u8ff0\u4e86\u5982\u4f55\u901a\u8fc7https\u53d1\u9001\u8bf7\u6c42\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"658\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-7-1024x658.png\" alt=\"\" class=\"wp-image-3545\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-7-1024x658.png 1024w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-7-300x193.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-7-768x494.png 768w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-7-18x12.png 18w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-7.png 1184w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">\u5177\u4f53\u7ec6\u8282\u4e0d\u591a\u8bb2\uff0c\u76f4\u63a5\u7ed9\u51fa\u4f8b\u5b50\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><strong>https:\/\/api.telegram.org\/bot&lt;token&gt; \/sendMessage?chat_id=&lt;id&gt; &amp;text=message<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u5176\u4e2dtoken\u5b57\u6bb5\u586b\u5165\u4e4b\u524d\u6211\u4eec\u4fdd\u5b58\u4e0b\u6765\u7684HTTP API\uff0cid\u5b57\u6bb5\u586b\u5165\u4e4b\u524d\u6211\u4eec\u4fdd\u5b58\u4e0b\u6765\u7684id\uff0c\u586b\u5165\u540e\u6211\u4eec\u5c06\u5176\u590d\u5236\u5230\u6d4f\u89c8\u5668\u4e2d\uff0c\u56de\u8f66\u53ef\u4ee5\u5f97\u5230\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"169\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-8-1024x169.png\" alt=\"\" class=\"wp-image-3546\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-8-1024x169.png 1024w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-8-300x49.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-8-768x127.png 768w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-8-18x3.png 18w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-8.png 1317w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">\u81f3\u6b64\uff0c\u53ef\u4ee5\u8868\u660e\u5229\u7528HTTP API\u4e0e\u4f60\u7684id\uff0c\u53ef\u4ee5\u6210\u529f\u901a\u8fc7Telegram\u670d\u52a1\u5668\u53d1\u8d77HTTPS\u8bf7\u6c42\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u5219\u9700\u8981\u5c06\u8fd9\u4e2a\u884c\u4e3a\u653e\u5230\u670d\u52a1\u5668\u4e2d\u53bb\u6267\u884c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4.\u670d\u52a1\u5668\u811a\u672c\u5b9e\u73b0HTTPS\u8bf7\u6c42<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">\u5f53\u6211\u4eec\u5728\u6211\u4eec\u670d\u52a1\u5668\u4e0a\u4ee5\u811a\u672c\u53d1\u8d77HTTPS\u8bf7\u6c42\u65f6\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528curl\u547d\u4ee4\u3002\u5173\u4e8ecurl\u547d\u4ee4\u7684\u5177\u4f53\u4f7f\u7528\u65b9\u6cd5\uff0c\u672c\u6559\u7a0b\u4e2d\u4e0d\u505a\u8fc7\u591a\u8bb2\u8ff0\u3002\u6211\u4eec\u7b80\u5355\u70b9\uff0c\u76f4\u63a5\u4e0a\u811a\u672c\u5185\u5bb9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\n#This script can send a alert when someone login into vps \n#date:2021-09-02\n#name\uff1aSSHLoginAlert.sh\n#author:FranzKafka\n\necho \"This is a script for ssh login alert\"\ntoken=xxxxxxxxxxxxxxxxx\necho \"my token is $token\"\nid=xxxxxx\necho \"my id is $id\"\nmessage=$(hostname &amp;&amp; TZ=UTC-8 date &amp;&amp; who &amp;&amp; w &amp;&amp;last -1 | awk  'BEGIN{ORS=\"\\t\"}{print $1,$15}')\necho \"send message is $message,begin....\"\ncurl -v \"https:\/\/api.telegram.org\/bot${token}\/sendMessage?chat_id=${id}\" --data-binary \"&amp;text=${message}\"\necho \"send alert end\"<\/code><\/pre>\n\n\n\n<p class=\"has-text-align-justify\">\u8bf7\u5927\u5bb6\u5c06token\u3001id\u5b57\u6bb5\u586b\u4e3a\u4f60\u4eec\u81ea\u5df1\u7684\u5185\u5bb9\uff0c\u4e5f\u5c31\u662f\u4e0a\u9762\u8981\u4f60\u4eec\u4fdd\u5b58\u4e0b\u6765\u7684\u5185\u5bb9\u3002\u5728\u5199\u597d\u811a\u672c\u540e,\u53ef\u4ee5\u6267\u884c\u8fdb\u884c\u6d4b\u8bd5\uff1a<\/p>\n\n\n\n<p>\u811a\u672c\u8f93\u51fa\u7ed3\u679c\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"699\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-9-1024x699.png\" alt=\"\" class=\"wp-image-3550\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-9-1024x699.png 1024w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-9-300x205.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-9-768x524.png 768w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-9-18x12.png 18w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-9.png 1106w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Telegram Bot\u6d88\u606f\u5185\u5bb9\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"164\" src=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-10.png\" alt=\"\" class=\"wp-image-3551\" srcset=\"https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-10.png 735w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-10-300x67.png 300w, https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-10-18x4.png 18w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">\u5728\u4e0a\u8ff0\u811a\u672c\u4e2d\uff0c\u5bf9\u5404\u4e2a\u5b57\u6bb5\u505a\u4e00\u4e2a\u8bf4\u660e\uff1a<\/p>\n\n\n\n<p><strong> hostname \uff1a<\/strong>\u4e3b\u673a\u540d\uff0c\u4e5f\u5c31\u662f\u4f60\u670d\u52a1\u5668\u7684\u540d\u5b57<\/p>\n\n\n\n<p> <strong>TZ=UTC-8 <\/strong>\uff1a\u8bbe\u5b9a\u65f6\u533a\u4e3a\u5317\u4eac\u65f6\u95f4<\/p>\n\n\n\n<p><strong> who <\/strong>\uff1a\u5f53\u524d\u767b\u5f55\u8005\u7684\u4fe1\u606f\uff0c\u5305\u542b\u7528\u6237\u540d\u4e0eid<\/p>\n\n\n\n<p><strong>w\uff1a<\/strong>\u5f53\u524d\u7528\u6237\u6240\u4f7f\u7528\u7684\u6267\u884c\u7684\u547d\u4ee4\u4fe1\u606f<\/p>\n\n\n\n<p><strong>last\uff1a<\/strong>\u4e4b\u524d\u7528\u6237\u7684\u767b\u5f55\u4fe1\u606f<\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u5982\u679c\u811a\u672c\u6d4b\u8bd5\u6ca1\u6709\u95ee\u9898\u7684\u8bdd\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u9700\u8981\u8ba9\u811a\u672c\u5728\u7528\u6237\u767b\u5f55\u65f6\u81ea\u52a8\u6267\u884c\uff0c\u600e\u4e48\u5b9e\u73b0\u5462\u3002\u5f88\u7b80\u5355\uff0c\u4f60\u53ea\u9700\u8981\u5c06\u8be5\u811a\u672c\u79fb\u52a8\u5230\/etc\/profile.d\/\u8fd9\u4e2a\u6587\u4ef6\u5939\u4e0b\u5373\u53ef\u3002\u6b64\u6587\u4ef6\u5939\u4e0b\u7684\u811a\u672c\u4f1a\u4e3a\u7cfb\u7edf\u7684\u6bcf\u4e00\u4e2a\u7528\u6237\u8bbe\u7f6e\u73af\u5883\u4fe1\u606f\u3002\u5f53\u7528\u6237\u767b\u5f55\u65f6\uff0c\u8be5\u76ee\u5f55\u4e0b\u7684\u811a\u672c\u4f1a\u81ea\u52a8\u6267\u884c\u3002\u8bf7\u8bb0\u4f4f\u522b\u5fd8\u8bb0\u4f7f\u7528chmod\u547d\u4ee4\u5c06\u5176\u6743\u9650\u53d8\u66f4\u4e3a555\uff0c\u6ce8\u610f\u4e0d\u662f777.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u5b8c\u6210\u4ee5\u4e0a\u64cd\u4f5c\u540e\uff0c\u6211\u4eec\u9000\u51fa\u6211\u4eec\u7684\u670d\u52a1\u5668\uff0c\u518d\u6b21\u767b\u5f55\uff0c\u53ef\u4ee5\u53bb\u4f60\u7684Telegram\u4e0a\u770b\u770b\u662f\u5426\u6536\u5230\u6d88\u606f\u63d0\u9192\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u9898\u5916\u8bdd<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">1.\u6211\u672c\u6765\u662f\u5728Windows\u7cfb\u7edf\u4e0b\u5199\u7684\u811a\u672c\uff0c\u7ed3\u679c\u4e00\u8dd1\u53d1\u73b0\u63d0\u793acurl: (3) Illegal characters found in URL\uff0c\u901a\u8fc7cat\u547d\u4ee4\u53d1\u73b0\u6bcf\u4e00\u884c\u672b\u5c3e\u4f1a\u591a\u51fa\u4e00\u4e2aM\u6765\u3002\u539f\u6765\u662fWindows\u7cfb\u7edf\u4e0b\u7684\u6587\u4ef6\u683c\u5f0f\u4e3ados\u683c\u5f0f\u7684\uff0c\u800clinux\u5185\u7684\u6587\u4ef6\u683c\u5f0f\u9700\u8981\u4e3aunix\u683c\u5f0f\uff0c\u4e24\u8005\u7684\u6587\u4ef6\u7f16\u7801\u4e0d\u540c\u5bfc\u81f4\u811a\u672c\u8fd0\u884c\u6709\u95ee\u9898\uff0c\u901a\u8fc7dos2unix +\u811a\u672c \u89e3\u51b3\u8be5\u95ee\u9898\u3002<\/p>\n\n\n\n<p class=\"has-text-align-justify\">2.\u6211\u672c\u8eab\u6709\u591a\u4e2a\u670d\u52a1\u5668\uff0c\u6bcf\u4e2a\u670d\u52a1\u5668\u90fd\u60f3\u5b9e\u73b0\u8fd9\u6837\u7684\u63d0\u9192\uff0c\u53ef\u6211\u4e0d\u60f3\u5728\u6bcf\u4e2a\u673a\u5668\u4e0a\u90fd\u628a\u811a\u672c\u5199\u4e00\u904d\uff0c\u5982\u679c\u53ef\u4ee5\u76f4\u63a5\u628a\u811a\u672c\u5185\u5bb9\u8f6c\u79fb\u5230\u53e6\u5916\u7684\u670d\u52a1\u5668\u90a3\u5c31\u597d\u4e86\u3002\u9274\u4e8e\u6211\u53ea\u60f3\u4f20\u8f93\u4e00\u4e2a\u811a\u672c\u5185\u5bb9\uff0c\u6570\u636e\u91cf\u5e76\u4e0d\u5927\u3002\u4e8e\u662f\u5728\u8fd9\u91cc\u6211\u4f7f\u7528\u4e86scp\u547d\u4ee4\uff0cscp\u7684\u5177\u4f53\u7528\u6cd5\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><strong>scp \u3010\u6e90\u5730\u5740\u3011\u3010\u76ee\u6807\u5730\u5740\u3011<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">scp\u547d\u4ee4\u9ed8\u8ba4\u4f7f\u752822\u7aef\u53e3\uff0c\u5982\u679c\u4f60\u7684\u670d\u52a1\u5668SSH\u7aef\u53e3\u4e0d\u662f22\u7aef\u53e3\uff0c\u8bf7\u4f7f\u7528-P\u53c2\u6570\u6307\u5b9a\u7aef\u53e3\u3002\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u5730\u5740\u4f7f\u7528\u4ee5\u4e0b\u683c\u5f0f\uff1a<\/p>\n\n\n\n<p><strong>\u7528\u6237\u540d@IP\u5730\u5740\uff1a\u6587\u4ef6\u8def\u5f84<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">\u4ee5\u4e0a\uff0c\u5c31\u662f\u672c\u6559\u7a0b\u7684\u5168\u90e8\u5185\u5bb9\u5566\uff01\u5927\u5bb6\u53ef\u4ee5\u53bb\u8bd5\u8bd5\u54e6\u3002<\/p>\n        <div class=\"booster-block booster-reactions-block\">\n            <div class=\"twp-reactions-icons\">\n                \n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-1\" post-id=\"3537\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/blog.coderfan.org\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/happy.svg\" alt=\"Happy\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">\n                        Happy                    <\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">18<\/span>\n                        \n                                                <span class=\"twp-react-percent\"><span>55<\/span> %<\/span>\n                                            <\/div>\n                <\/div>\n\n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-2\" post-id=\"3537\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/blog.coderfan.org\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/sad.svg\" alt=\"Sad\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">\n                        Sad                    <\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">1<\/span>\n                                                                        <span class=\"twp-react-percent\"><span>3<\/span> %<\/span>\n                                            <\/div>\n                <\/div>\n\n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-3\" post-id=\"3537\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/blog.coderfan.org\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/excited.svg\" alt=\"Excited\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">\n                        Excited                    <\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">6<\/span>\n                                                                        <span class=\"twp-react-percent\"><span>18<\/span> %<\/span>\n                                            <\/div>\n                <\/div>\n\n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-6\" post-id=\"3537\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/blog.coderfan.org\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/sleepy.svg\" alt=\"Sleepy\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">\n                        Sleepy                    <\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">1<\/span>\n                        \n                                                <span class=\"twp-react-percent\"><span>3<\/span> %<\/span>\n                                            <\/div>\n                <\/div>\n\n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-4\" post-id=\"3537\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/blog.coderfan.org\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/angry.svg\" alt=\"Angry\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">Angry<\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">5<\/span>\n                                                                        <span class=\"twp-react-percent\"><span>15<\/span> %<\/span>\n                        \n                    <\/div>\n                <\/div>\n\n                <div class=\"twp-reacts-wrap\">\n                    <a react-data=\"be-react-5\" post-id=\"3537\" class=\"be-face-icons un-reacted\" href=\"javascript:void(0)\">\n                        <img decoding=\"async\" src=\"https:\/\/blog.coderfan.org\/wp-content\/plugins\/booster-extension\/\/assets\/icon\/surprise.svg\" alt=\"Surprise\">\n                    <\/a>\n                    <div class=\"twp-reaction-title\">Surprise<\/div>\n                    <div class=\"twp-count-percent\">\n                                                    <span style=\"display: none;\" class=\"twp-react-count\">2<\/span>\n                                                                        <span class=\"twp-react-percent\"><span>6<\/span> %<\/span>\n                                            <\/div>\n                <\/div>\n\n            <\/div>\n        <\/div>","protected":false},"excerpt":{"rendered":"<p>\u672c\u6559\u7a0b\u5c06\u6559\u4f60\u5982\u4f55\u4f7f\u7528Telegram\u673a\u5668\u4eba\u5b9e\u73b0\u8fdc\u7a0b\u767b\u5f55\u670d\u52a1\u5668\u7684\u6d88\u606f\u63d0\u9192<\/p>","protected":false},"author":1,"featured_media":3552,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":2,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[18],"tags":[24,26,25],"class_list":["post-3537","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-operating-system","tag-telegram","tag-vps","tag-25"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[]}},"aioseo_notices":[],"featured_image_urls":{"full":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.jpg",680,390,false],"thumbnail":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-150x150.jpg",150,150,true],"medium":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-300x172.jpg",300,172,true],"medium_large":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.jpg",680,390,false],"large":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.jpg",680,390,false],"1536x1536":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.jpg",680,390,false],"2048x2048":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.jpg",680,390,false],"trp-custom-language-flag":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-18x10.jpg",18,10,true]},"post_excerpt_stackable":"<p>\u672c\u6559\u7a0b\u5c06\u6559\u4f60\u5982\u4f55\u4f7f\u7528Telegram\u673a\u5668\u4eba\u5b9e\u73b0\u8fdc\u7a0b\u767b\u5f55\u670d\u52a1\u5668\u7684\u6d88\u606f\u63d0\u9192<\/p>\n","category_list":"<a href=\"https:\/\/blog.coderfan.org\/en\/category\/operating-system\" rel=\"category tag\">\u64cd\u4f5c\u7cfb\u7edf<\/a>","author_info":{"name":"FranzKafka95","url":"https:\/\/blog.coderfan.org\/en\/author\/yushenglonely95"},"comments_num":"0 comments","featured_image_urls_v2":{"full":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.jpg",680,390,false],"thumbnail":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-150x150.jpg",150,150,true],"medium":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-300x172.jpg",300,172,true],"medium_large":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.jpg",680,390,false],"large":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.jpg",680,390,false],"1536x1536":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.jpg",680,390,false],"2048x2048":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image.jpg",680,390,false],"trp-custom-language-flag":["https:\/\/blog.coderfan.org\/wp-content\/uploads\/2021\/09\/image-18x10.jpg",18,10,true]},"post_excerpt_stackable_v2":"<p>\u672c\u6559\u7a0b\u5c06\u6559\u4f60\u5982\u4f55\u4f7f\u7528Telegram\u673a\u5668\u4eba\u5b9e\u73b0\u8fdc\u7a0b\u767b\u5f55\u670d\u52a1\u5668\u7684\u6d88\u606f\u63d0\u9192<\/p>\n","category_list_v2":"<a href=\"https:\/\/blog.coderfan.org\/en\/category\/operating-system\" rel=\"category tag\">\u64cd\u4f5c\u7cfb\u7edf<\/a>","author_info_v2":{"name":"FranzKafka95","url":"https:\/\/blog.coderfan.org\/en\/author\/yushenglonely95"},"comments_num_v2":"0 comments","_links":{"self":[{"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/posts\/3537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/comments?post=3537"}],"version-history":[{"count":5,"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/posts\/3537\/revisions"}],"predecessor-version":[{"id":3588,"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/posts\/3537\/revisions\/3588"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/media\/3552"}],"wp:attachment":[{"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/media?parent=3537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/categories?post=3537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coderfan.org\/en\/wp-json\/wp\/v2\/tags?post=3537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}