{"id":596,"date":"2022-10-08T12:16:45","date_gmt":"2022-10-08T04:16:45","guid":{"rendered":"http:\/\/blog.nonot.cn\/?p=596"},"modified":"2024-07-08T12:46:40","modified_gmt":"2024-07-08T04:46:40","slug":"%e5%86%8d%e8%ae%ae-linux%e7%b3%bb%e7%bb%9f%e4%bf%ae%e6%94%b9%e8%bf%9c%e7%a8%8b%e8%bf%9e%e6%8e%a522%e7%ab%af%e5%8f%a3","status":"publish","type":"post","link":"https:\/\/blog.nonot.cn\/index.php\/2022\/10\/08\/%e5%86%8d%e8%ae%ae-linux%e7%b3%bb%e7%bb%9f%e4%bf%ae%e6%94%b9%e8%bf%9c%e7%a8%8b%e8%bf%9e%e6%8e%a522%e7%ab%af%e5%8f%a3\/","title":{"rendered":"\u518d\u8bae-Linux\u7cfb\u7edf\u4fee\u6539\u8fdc\u7a0b\u8fde\u63a522\u7aef\u53e3"},"content":{"rendered":"<p>1\u3001\u68c0\u67e5Linux\u7cfb\u7edf\u662f\u5426\u5b89\u88c5<a class=\"hl hl-1\" href=\"https:\/\/so.csdn.net\/so\/search?q=SSH&amp;spm=1001.2101.3001.7020\" target=\"_blank\" rel=\"noopener noreferrer\" data-report-click=\"{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https:\/\/so.csdn.net\/so\/search?q=SSH&amp;spm=1001.2101.3001.7020&quot;,&quot;extra&quot;:&quot;{&quot;searchword&quot;:&quot;SSH&quot;}&quot;}\" data-tit=\"SSH\" data-pretit=\"ssh\">SSH<\/a>\u8f6f\u4ef6\u5305\uff0crpm -qa| grep ssh<br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/7be8680f9df9f479ee9d7c4a8e8f1e44.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5982\u679c\u6ca1\u6709\u5b89\u88c5\u4f7f\u7528yum\u5b89\u88c5ssh\u670d\u52a1 \uff1ayum install -y openssh-server<br \/>\n\u67e5\u770b\u5b89\u88c5\u7684 ssh\u670d\u52a1\u5305 \uff1a # yum list installed |\u00a0<a class=\"hl hl-1\" href=\"https:\/\/so.csdn.net\/so\/search?q=grep&amp;spm=1001.2101.3001.7020\" target=\"_blank\" rel=\"noopener noreferrer\" data-report-click=\"{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;dest&quot;:&quot;https:\/\/so.csdn.net\/so\/search?q=grep&amp;spm=1001.2101.3001.7020&quot;,&quot;extra&quot;:&quot;{&quot;searchword&quot;:&quot;grep&quot;}&quot;}\" data-tit=\"grep\" data-pretit=\"grep\">grep<\/a>\u00a0ssh<br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/6ddff4836d98f0c3330bf1d1def610c6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>2\u3001\u627e\u5230SSh\u670d\u52a1\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\u4e00\u822c\u90fd\u662f\u5728 \/etc\/ssh\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u9762 sshd_config \u8fd9\u4e2a\u6587\u4ef6<br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/6c7af0193e156ae2af51761b472876ff.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>3\u3001\u5c06\u7aef\u53e3\u4fee\u6539\u4e3a66<br \/>\n\u4ee5root\u8eab\u4efd\u7f16\u8f91\u6587\u4ef6 \/etc\/ssh\/sshd_config\u6587\u4ef6\uff0c<\/p>\n<p>\u627e\u5230 #Port 22 \uff0c\u5c06\u4e95\u53f7\u53bb\u6389\uff0c\u7136\u540e\u5c0622\u6539\u4e3a66\u3002\u540e\u4fdd\u5b58\u3002<br \/>\n<strong>\u6700\u597d\u662f\u5728#Port 22 \u4e0b\u9762\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u7aef\u53e3\u3002\u4ee5\u514d\u65b0\u7684\u7aef\u53e3\u548c22\u7aef\u53e3\u90fd\u8fde\u4e0d\u4e0a\u3002<\/strong><br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/c44249344e1ee0065e0965edc3bb8680.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>4\u3001\u4fee\u6539iptables \u9632\u706b\u5899\uff1a\/etc\/sysconfig\/iptables<br \/>\n\u5f00\u653e\u7279\u5b9a\u7aef\u53e3<\/p>\n<p>#vi \/etc\/sysconfig\/iptables<br \/>\n-A INPUT -p tcp -m state &#8211;state NEW -m tcp &#8211;dport 22 -j ACCEPT<\/p>\n<p>-A INPUT -p tcp -m state &#8211;state NEW -m tcp &#8211;dport 66 -j ACCEPT<br \/>\n-A INPUT -m state \u2013state NEW -m tcp -p tcp \u2013dport 66 -j ACCEPT #66\u7aef\u53e3\u662f\u6dfb\u52a0\u7684\u6dfb\u52a0\u6b64\u7aef\u53e3\u53f7\u81f3\u9632\u706b\u5899\uff0c\u5141\u8bb8\u7aef\u53e3\u53f7\u901a\u8fc7\u9632\u706b\u5899<\/p>\n<p>\u6216\u8005<br \/>\n#firewall-cmd &#8211;zone=pulic &#8211;add-port=77\/tcp &#8211;permanent<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/96a0481b522aaeb21a01c8bb015f9de1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<strong>\u6ce8\u610f\u672b\u5c3e\u7684success\uff0c\u8868\u793a\u6dfb\u52a0\u6210\u529f\uff01<br \/>\n\u91cd\u65b0\u52a0\u8f7d\u9632\u706b\u5899\uff0c\u5e76\u91cd\u542f\u9632\u706b\u5899\u670d\u52a1<\/strong><br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/476adc7ffea683d12850c42393f179d6.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u5e76\u6ca1\u6709\u62a5\u9519\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u67e5\u770b\u4e00\u4e0b\u9632\u706b\u5899\u8fd0\u884c\u72b6\u6001.<br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/771551da9adf91dfdefbab199dcfb238.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<strong>\u68c0\u67e5SELinux\u670d\u52a1\u662f\u5426\u8fd0\u884c<\/strong><br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/ed68cd04ce0a62250934a1cd9e7d0fa8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u5982\u4e0a\u56fe\u663e\u793aenabled\u8868\u793aSELinux\u5df2\u542f\u7528<\/p>\n<p>\u4fee\u6539\/etc\/sysconfig\/iptables\u6587\u4ef6\uff0c\u589e\u52a0\u5982\u4e0b\u4e00\u884c\uff1a<\/p>\n<p>-A RH-Firewall-1-INPUT -m state &#8211;state NEW -m tcp -p tcp &#8211;dport 8080 -j ACCEPT<\/p>\n<p>iptables\u9632\u706b\u5899<\/p>\n<p>systemctl stop iptables<\/p>\n<p>systemctl start iptables<\/p>\n<p>\u67e5\u770b\u9632\u706b\u5899\u5f00\u673a\u542f\u52a8\u72b6\u6001\uff1achkconfig iptables &#8211;list<br \/>\nsystemctl status iptables<\/p>\n<p>\u5173\u95ed\u5f00\u673a\u542f\u52a8\uff1achkconfig iptables off<\/p>\n<p>firewalld\u9632\u706b\u5899\uff1a<\/p>\n<p>\u5173\u95edfirewalld\u670d\u52a1\uff1asystemctl stop firewalld.service<\/p>\n<p>\u67e5\u770b\u9632\u62a4\u5899\u72b6\u6001\uff1asystemctl status firewalld.servicee<\/p>\n<p>\u5728\u5f00\u673a\u65f6\u7981\u7528\uff1asystemctl disable firewalld.service<\/p>\n<p>\u67e5\u770b\u670d\u52a1\u662f\u5426\u5f00\u673a\u542f\u52a8\uff1asystemctl is-enabled firewalld.service<\/p>\n<p>\u67e5\u770b\u5df2\u542f\u52a8\u7684\u670d\u52a1\u5217\u8868\uff1asystemctl list-unit-files|grep enabled<\/p>\n<p>\u91cd\u542fsshd<\/p>\n<p>systemctl status sshd.service<br \/>\nsystemctl enable sshd.service<br \/>\nsystemctl restart sshd.service<\/p>\n<p>5\u3001\u5728\u5411SELinux\u4e2d\u6dfb\u52a0\u7aef\u53e3\u4e4b\u524d\u9700\u8981\u5148\u5b89\u88c5SELinux\u7684\u7ba1\u7406\u5de5\u5177 semanage (\u5982\u679c\u5df2\u7ecf\u5b89\u88c5\u4e86\u5c31\u76f4\u63a5\u5230\u4e0b\u4e00\u6b65) : yum provides semanage\u3002<br \/>\n\u5728\u8fd9\u91cc\u6211\u4eec\u770b\u5230\u8fd0\u884c semanage \u9700\u8981\u5148\u5b89\u88c5\u5176\u4f9d\u8d56\u5de5\u5177\u5305 policycoreutils-python : yum install policycoreutils-python<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/4b12e8f48446f783208aac73739ea21d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5b89\u88c5\u597d\u4e4b\u540e\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528 semanage \u547d\u4ee4:<\/p>\n<p>\u67e5\u8be2\u5f53\u524d ssh \u670d\u52a1\u7aef\u53e3: semanage port -l | grep ssh<\/p>\n<p>\u5411 SELinux \u4e2d\u6dfb\u52a0 ssh \u7aef\u53e3: semanage port -a -t ssh_port_t -p tcp 66<\/p>\n<p>\u9a8c\u8bc1 ssh \u7aef\u53e3\u662f\u5426\u6dfb\u52a0\u6210\u529f: semanage port -l | grep ssh<\/p>\n<p>\u6dfb\u52a0\u6210\u529f\u4e4b\u540e\u5c31\u53ef\u4ee5\u91cd\u542f ssh \u670d\u52a1\u4e86: systemctl restart sshd.service<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/4a0b9a68789ca24e91a1da1c2d0017b9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>6\u3001\u67e5\u770bssh\u670d\u52a1\u72b6\u6001\u548c\u7aef\u53e3\u5360\u7528\u60c5\u51b5\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/6786455cf76b137d2a646ebf4be32aaf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\nnetstat -antulp | grep ssh #\u7aef\u53e3\u5360\u7528\u60c5\u51b5<br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/57ecba32ba2678604082ac1d415db7be.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6d4b\u8bd5\u662f\u5426\u80fd\u672c\u673a\u8054\u901a<\/p>\n<p>ssh localhost -p 77<br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/6c7a014efe4a605f3d74f5dc8c65cbee.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u67e5\u770b\u65b0\u914d\u7f6e\u7684\u7aef\u53e3\u662f\u5426\u751f\u6548\u3002<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/539a5b774ffbf24459e1db4ef1143548.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>6\u3001\u4f7f\u7528\u65b0\u7684\u7aef\u53e3\u8fdc\u7a0b\u8fde\u63a5\u670d\u52a1\u5668<br \/>\n#ssh root@x.x.x.x -p66<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/029a4c6d0c4c2e0637c0273c4324f605.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/e1d580a26064cb0bd49036ffeec61ba9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/0e3b5fdb04a79bc789495cfc4edcd0e1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u67e5\u770b\u5e76\u4fee\u6539 \u9632\u706b\u5899\u914d\u7f6e\u6587\u4ef6\u4e2d \u8fdc\u7a0b\u8fde\u63a5\u7684\u7aef\u53e3<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/0e3b5fdb04a79bc789495cfc4edcd0e1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u91cd\u65b0\u8f7d\u5165\u914d\u7f6e\uff0c\u914d\u7f6e\u751f\u6548<\/p>\n<p>firewall-cmd &#8211;complete-reload<\/p>\n<p>\u5907\u6ce8\uff1a\u9ed8\u8ba4firewalld\u4f1a\u4f18\u5148\u8bfb\u53d6\/etc\/firewalld\/services\/ssh.xml\u914d\u7f6e\u6587\u4ef6\uff0c\u5f53\u8be5\u914d\u7f6e\u6587\u4ef6\u4e0d\u5b58\u5728\u65f6\uff0c\u5c06\u4f1a\u8bfb\u53d6\u914d\u7f6e\u5e93\u4e2d\u7684\u914d\u7f6e\/lib\/firewalld\/services\/ssh.xml\u4f5c\u4e3a\u751f\u6548\u914d\u7f6e<\/p>\n<p>\u6ce8\u610f \uff1a<br \/>\n1\u3001\u5728 \/etc\/ssh\/sshd_config \u914d\u7f6e\u6587\u4ef6 \u4e2d\uff0c\u4e0d\u80fd\u4fee\u6539\u5c06UseDNS yes \u6539\u4e3a no\uff0c\u4fdd\u6301\u9ed8\u8ba4\u503c\u3002<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/d5500d579dc3c096b6b5e92e1573f2d8.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>2\u3001\u5728\u5de5\u4f5c\u4e2d\uff0c\u53ef\u4ee5\u572822\u7aef\u53e3\u4e0b\u9762\u6dfb\u52a0\u4e00\u4e2a\u7aef\u53e3\uff0c\u4ee5\u514d22\u7aef\u53e3\u65ad\u4e86\u8fde\u4e0d\u4e0a\uff0c\u53c8\u8981\u5230\u673a\u623f\u4fee\u6539\u56de22\u6216\u8005\u627e\u673a\u623f\u4eba\u5458\u8fdc\u7a0b\u534f\u52a9\u4e86\u3002<\/p>\n<p>\u5e38\u89c1\u95ee\u9898 \uff1a<\/p>\n<p>1\u3001\u7aef\u53e3\u6ca1\u6709\u6743\u9650<br \/>\nLinux\u4fee\u6539ssh Port\u7aef\u53e3\u540e\uff0c\u65e0\u6cd5\u542f\u52a8ssh\u8bbf\u95ee\u3002<\/p>\n<p>\u5177\u4f53\u4fee\u6539 \/etc\/ssh\/sshd_config \u91cc\u7684 Port \u7aef\u53e3\uff0c\u7136\u540e\u67e5\u65e5\u5fd7\u540e\u51fa\u73b0\uff1a<\/p>\n<p>error: Bind to port 77 on 0.0.0.0 failed: Permission denied.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/c800162ac68fad06cc97623b791353fc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/2e4792eded3d0c60a3cb399406bde3a2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u6700\u540e\u53d1\u73b0\u662fSELinux\u7684\u95ee\u9898\uff0c\u5173\u95edSELinux\u7684\u4e24\u79cd\u65b9\u6cd5<\/p>\n<p>\u7136\u540e\u91cd\u542fssh\u8bbf\u95ee\u5373\u53ef\u3002<br \/>\n2\u3001SSH\u767b\u9646\u5176\u4ed6\u4e3b\u673a\u65f6\u62a5\u9519\uff1assh: connect to host 192.168.46.190 port 22: No route to host\u3002\u65b0\u7684\u7aef\u53e3\u5df2\u7ecf\u5b58\u5728\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/71c995768399da2c9b772b6fe1084fd1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.nonot.cn\/wp-content\/uploads\/replace\/81d97ddd285f145a63106b9f18ad9442.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u89e3\u51b3\u529e\u6cd5 \uff1a<br \/>\n\u67e5\u770b\u9632\u706b\u5899\u72b6\u6001<\/p>\n<p>firewalld\uff1a<\/p>\n<p>\u5173\u95edfirewalld\u670d\u52a1\uff1asystemctl stop firewalld.service<br \/>\n\u67e5\u770b\u9632\u62a4\u5899\u72b6\u6001\uff1asystemctl status firewalld.servicee<\/p>\n<p>\u5728\u5f00\u673a\u65f6\u7981\u7528\uff1asystemctl disable firewalld.service<\/p>\n<p>\u67e5\u770b\u670d\u52a1\u662f\u5426\u5f00\u673a\u542f\u52a8\uff1asystemctl is-enabled firewalld.service<\/p>\n<p>\u67e5\u770b\u5df2\u542f\u52a8\u7684\u670d\u52a1\u5217\u8868\uff1asystemctl list-unit-files|grep enabled<br \/>\n\u91cd\u542fsshd\u670d\u52a1<\/p>\n<p>#systemctl enable sshd.service<br \/>\n#netstat -anp | grep 77 #\u67e5\u770b77\u7aef\u53e3\u662f\u5426\u5df2\u7ecf\u5b58\u5728<br \/>\n#netstat -anput #77\u7aef\u53e3\u5df2\u7ecf\u5b58\u5728\/\u6253\u5f00<br \/>\n#ssh root@192.168.163.130 #\u5728\u53e6\u4e00\u53f0\u673a\u5668\u4e0a\u6d4b\u8bd5\uff0c\u8fde\u63a5\u65b0\u7684\u7aef\u53e3\u3002<\/p>\n<p>\u53c2\u8003\u94fe\u63a5 \uff1a<br \/>\nhttps:\/\/blog.csdn.net\/weixin_38628533\/article\/details\/80943956<br \/>\nhttps:\/\/blog.csdn.net\/oba_gaga\/article\/details\/80684051<br \/>\nhttps:\/\/www.linuxidc.com\/Linux\/2018-05\/152372.htm<br \/>\nCentOS7\u589e\u52a0\u6216\u4fee\u6539SSH\u7aef\u53e3\u53f7\u7684\u65b9\u6cd5 \uff1a https:\/\/www.jb51.net\/article\/144599.htm<\/p>\n<p>CentOS7 \u7cfb\u7edf\u9632\u706b\u5899firewalld\u5de5\u5177\u624b\u518c : https:\/\/www.jianshu.com\/p\/fd29623cf882<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u68c0\u67e5Linux\u7cfb\u7edf\u662f\u5426\u5b89\u88c5SSH\u8f6f\u4ef6\u5305\uff0crpm -qa|&hellip;<\/p>\n","protected":false},"author":1,"featured_media":1186,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-596","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/posts\/596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/comments?post=596"}],"version-history":[{"count":1,"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/posts\/596\/revisions"}],"predecessor-version":[{"id":1179,"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/posts\/596\/revisions\/1179"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/media\/1186"}],"wp:attachment":[{"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/media?parent=596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/categories?post=596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nonot.cn\/index.php\/wp-json\/wp\/v2\/tags?post=596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}