{"id":1181,"date":"2022-09-29T10:21:59","date_gmt":"2022-09-29T03:21:59","guid":{"rendered":"https:\/\/longvan.net\/cong-dong\/?p=1181"},"modified":"2022-09-29T10:27:32","modified_gmt":"2022-09-29T03:27:32","slug":"huong-dan-doi-port-ssh-tren-linux","status":"publish","type":"post","link":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux"},"content":{"rendered":"<h4>I. T\u1ed5ng quan<\/h4>\n<p>SSH vi\u1ebft \u0111\u1ea7y \u0111\u1ee7 l\u00e0 Secure Shell, \u0111\u00e2y l\u00e0 m\u1ed9t giao th\u1ee9c h\u1ed7 tr\u1ee3 c\u00e1c nh\u00e0 qu\u1ea3n tr\u1ecb m\u1ea1ng truy c\u1eadp v\u00e0o m\u00e1y ch\u1ee7 t\u1eeb xa th\u00f4ng qua m\u1ea1ng internet kh\u00f4ng b\u1ea3o m\u1eadt. SSH t\u1ea1o ra c\u01a1 ch\u1ebf x\u00e1c th\u1ef1c qua m\u1eadt kh\u1ea9u m\u1ea1nh, h\u00ecnh th\u00e0nh m\u1ed1i li\u00ean k\u1ebft giao ti\u1ebfp d\u1eef li\u1ec7u m\u00e3 h\u00f3a ra gi\u1eefa hai m\u00e1y qua m\u00f4i tr\u01b0\u1eddng internet. Ng\u00e0y nay, giao th\u1ee9c SSH \u0111\u01b0\u1ee3c qu\u1ea3n tr\u1ecb m\u1ea1ng s\u1eed d\u1ee5ng ph\u1ed5 bi\u1ebfn trong qu\u00e1 tr\u00ecnh qu\u1ea3n l\u00fd, \u0111i\u1ec1u ch\u1ec9nh \u1ee9ng d\u1ee5ng t\u1eeb xa&#8230;<\/p>\n<p>Vi\u1ec7c s\u1eed d\u1ee5ng port SSH m\u1eb7c \u0111\u1ecbnh (22) ti\u1ec1m \u1ea9n nhi\u1ec1u nguy c\u01a1 v\u1ec1 an to\u00e0n th\u00f4ng tin, nh\u01b0 b\u1ecb d\u00f2 password hay brute-force,..<\/p>\n<p>B\u00e0i vi\u1ebft h\u00f4m nay s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch \u0111\u1ed5i port SSH \u0111\u01a1n gi\u1ea3n v\u00e0 hi\u1ec7u qu\u1ea3 nh\u1ea5t.<\/p>\n<h4>II. \u0110\u1ed5i port SSH tr\u00ean Linux<\/h4>\n<p>\u0110\u1ec3 \u0111\u1ed5i port SSH tr\u00ean linux, ch\u00fang ta th\u1ef1c hi\u1ec7n c\u00e1c b\u01b0\u1edbc nh\u01b0 sau:<\/p>\n<ol>\n<li><strong>B\u01b0\u1edbc 1: Truy c\u1eadp v\u00e0o m\u00e1y ch\u1ee7 b\u1eb1ng SSH<\/strong><br \/>V\u1edbi port m\u1eb7c \u0111\u1ecbnh ban \u0111\u1ea7u s\u1ebd l\u00e0 22. Ch\u00fang ta s\u1ebd truy c\u1eadp v\u00e0o m\u00e1y ch\u1ee7 b\u1eb1ng c\u00e1c \u1ee9ng d\u1ee5ng ph\u1ed5 bi\u1ebfn nh\u01b0: Putty, Mobaxterm, Xshell, ZOC,\u2026<\/li>\n<li><strong>B\u01b0\u1edbc 2: Ki\u1ec3m tra Port SSH \u0111ang thi\u1ebft l\u1eadp<\/strong><br \/>Ki\u1ec3m tra c\u00e1c port \u0111ang ON b\u1eb1ng l\u1ec7nh sau, v\u00e0 \u0111\u1ed5i port SSH m\u1edbi tr\u00e1nh b\u1ecb tr\u00f9ng v\u1edbi c\u00e1c port n\u00e0y.\n<pre>netstat -tulpn <\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1183\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-8.png\" alt=\"\" width=\"700\" height=\"203\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-8.png 975w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-8-300x87.png 300w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-8-768x223.png 768w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/> <br \/>N\u1ebfu ch\u01b0a c\u00f3 netstat, ch\u00fang ta c\u00f3 th\u1ec3 ch\u1ea1y l\u1ec7nh sau \u0111\u1ec3 c\u00e0i b\u1eb1ng l\u1ec7nh<\/p>\n<pre>yum install net-tools -y<\/pre>\n<\/li>\n<li><strong>B\u01b0\u1edbc 3: Thay \u0111\u1ed5i Port SSH<\/strong>\n<ul>\n<li>File c\u1ea5u h\u00ecnh ssh c\u00f3 t\u00ean l\u00e0 sshd_config v\u00e0 n\u1eb1m t\u1ea1i \u0111\u01b0\u1eddng d\u1eabn \/etc\/ssh\/sshd_config. Ch\u00fang ta c\u00f3 th\u1ec3 m\u1edf b\u1eb1ng l\u1ec7nh vi, vim, nano t\u00f9y thu\u1ed9c v\u00e0o nhu c\u1ea7u c\u1ee7a b\u1ea1n. \u1ede \u0111\u00e2y m\u00ecnh s\u1ebd d\u00f9ng l\u1ec7nh vi.\n<pre>vi \/etc\/ssh\/sshd_config<\/pre>\n<\/li>\n<li>B\u1ea1n t\u00ecm \u0111\u1ebfn d\u00f2ng #Port 22 sau \u0111\u00f3 b\u1ecf d\u1ea5u # v\u00e0 s\u1eeda s\u1ed1 22 th\u00e0nh port m\u00e0 b\u1ea1n mong mu\u1ed1n. \u1ede \u0111\u00e2y m\u00ecnh ch\u1ecdn port ssh l\u00e0 36868 v\u00e0 l\u01b0u l\u1ea1i c\u1ea5u h\u00ecnh.<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1184\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-9.png\" alt=\"\" width=\"700\" height=\"560\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-9.png 941w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-9-300x240.png 300w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-9-768x615.png 768w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/li>\n<\/ul>\n<\/li>\n<li><strong>B\u01b0\u1edbc 4: M\u1edf Port firewall<\/strong>\n<ul>\n<li>M\u1ed7i h\u1ec7 \u0111i\u1ec1u h\u00e0nh s\u1ebd s\u1eed d\u1ee5ng m\u1ed9t \u1ee9ng d\u1ee5ng firewall kh\u00e1c nhau. Do \u0111\u00f3 b\u1ea1n h\u00e3y x\u00e1c \u0111\u1ecbnh lo\u1ea1i firewall \u0111ang s\u1eed d\u1ee5ng \u0111\u1ec3 c\u1ea5u h\u00ecnh m\u1edf port cho ph\u00f9 h\u1ee3p.<\/li>\n<li>V\u1edbi m\u00e1y ch\u1ee7 s\u1eed d\u1ee5ng firewalld, th\u1ef1c hi\u1ec7n 2 l\u1ec7nh sau:\n<pre>firewall-cmd --zone=public --add-port=36868\/tcp --permanent<br \/>firewall-cmd --reload<\/pre>\n<\/li>\n<li>V\u1edbi m\u00e1y ch\u1ee7 s\u1eed d\u1ee5ng iptables:\n<pre>iptables -A INPUT -p tcp -m tcp --dport 36868 -j ACCEPT<br \/>service iptables restart<br \/>iptables -L -n<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>B\u01b0\u1edbc 5: Kh\u1edfi \u0111\u1ed9ng l\u1ea1i d\u1ecbch v\u1ee5 SSH<br \/><\/strong>\n<ul>\n<li>\u0110\u1ea3m b\u1ea3o port SSH m\u1edbi \u0111\u00e3 \u0111\u01b0\u1ee3c c\u1ea5u h\u00ecnh cho ph\u00e9p truy c\u1eadp tr\u00ean firewall tr\u01b0\u1edbc khi ti\u1ebfn h\u00e0nh restart l\u1ea1i service SSH.<\/li>\n<li>Th\u1ef1c hi\u1ec7n restart l\u1ea1i services SSH v\u1edbi l\u1ec7nh sau:\n<pre>systemctl restart sshd<\/pre>\n<p>ho\u1eb7c<\/p>\n<pre>systemctl restart sshd<\/pre>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>III. Ki\u1ec3m tra<\/p>\n<ul>\n<li>Sau khi \u0111\u1ed5i port SSH , th\u1eed truy c\u1eadp SSH b\u1eb1ng port m\u1eb7c \u0111\u1ecbnh s\u1ebd th\u1ea5y b\u00e1o l\u00e0 connection failed<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1211\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-15.png\" alt=\"\" width=\"592\" height=\"219\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-15.png 592w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-15-300x111.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/><\/li>\n<li>Th\u1eed k\u1ebft n\u1ed1i b\u1eb1ng port m\u1edbi \u0111\u1ed5i (36868) , k\u1ebft qu\u1ea3 k\u1ebft n\u1ed1i th\u00e0nh c\u00f4ng<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1210\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-14.png\" alt=\"\" width=\"670\" height=\"186\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-14.png 670w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-14-300x83.png 300w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/li>\n<\/ul>\n<p>Nh\u01b0 v\u1eady, Long V\u00e2n \u0111\u00e3 ho\u00e0n th\u00e0nh h\u01b0\u1edbng d\u1eabn Qu\u00fd kh\u00e1ch c\u00e1ch \u0111\u1ed5i port SSH tr\u00ean Linux, Ch\u00fac Qu\u00fd kh\u00e1ch th\u00e0nh c\u00f4ng !<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I. T\u1ed5ng quan SSH vi\u1ebft \u0111\u1ea7y \u0111\u1ee7 l\u00e0 Secure Shell, \u0111\u00e2y l\u00e0 m\u1ed9t giao th\u1ee9c h\u1ed7 tr\u1ee3 c\u00e1c nh\u00e0 qu\u1ea3n tr\u1ecb m\u1ea1ng truy c\u1eadp v\u00e0o m\u00e1y ch\u1ee7 t\u1eeb xa th\u00f4ng qua m\u1ea1ng internet kh\u00f4ng b\u1ea3o m\u1eadt. SSH t\u1ea1o ra c\u01a1 ch\u1ebf x\u00e1c th\u1ef1c qua m\u1eadt kh\u1ea9u m\u1ea1nh, h\u00ecnh th\u00e0nh m\u1ed1i li\u00ean k\u1ebft giao ti\u1ebfp d\u1eef [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_oasis_is_in_workflow":0,"_oasis_original":0,"footnotes":""},"categories":[4],"tags":[117,118,5,119,120,116],"class_list":["post-1181","post","type-post","status-publish","format-standard","hentry","category-linux","tag-brute-force","tag-doi-port-ssh","tag-linux","tag-port-ssh","tag-secure-port-ssh","tag-ssh"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux - Long V\u00e2n<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux - Long V\u00e2n\" \/>\n<meta property=\"og:description\" content=\"I. T\u1ed5ng quan SSH vi\u1ebft \u0111\u1ea7y \u0111\u1ee7 l\u00e0 Secure Shell, \u0111\u00e2y l\u00e0 m\u1ed9t giao th\u1ee9c h\u1ed7 tr\u1ee3 c\u00e1c nh\u00e0 qu\u1ea3n tr\u1ecb m\u1ea1ng truy c\u1eadp v\u00e0o m\u00e1y ch\u1ee7 t\u1eeb xa th\u00f4ng qua m\u1ea1ng internet kh\u00f4ng b\u1ea3o m\u1eadt. SSH t\u1ea1o ra c\u01a1 ch\u1ebf x\u00e1c th\u1ef1c qua m\u1eadt kh\u1ea9u m\u1ea1nh, h\u00ecnh th\u00e0nh m\u1ed1i li\u00ean k\u1ebft giao ti\u1ebfp d\u1eef [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Long V\u00e2n\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-29T03:21:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-29T03:27:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-8.png\" \/>\n\t<meta property=\"og:image:width\" content=\"975\" \/>\n\t<meta property=\"og:image:height\" content=\"283\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nguy\u1ec5n Anh Tu\u1ea5n\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nguy\u1ec5n Anh Tu\u1ea5n\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/\"},\"author\":{\"name\":\"Nguy\u1ec5n Anh Tu\u1ea5n\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/person\\\/c825036e26c010c482307bd8e50e0ecd\"},\"headline\":\"H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux\",\"datePublished\":\"2022-09-29T03:21:59+00:00\",\"dateModified\":\"2022-09-29T03:27:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/\"},\"wordCount\":670,\"publisher\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/image-8.png\",\"keywords\":[\"brute-force\",\"\u0111\u1ed5i port ssh\",\"Linux\",\"port ssh\",\"secure port ssh\",\"ssh\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"vi\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/\",\"name\":\"H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux - Long V\u00e2n\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/image-8.png\",\"datePublished\":\"2022-09-29T03:21:59+00:00\",\"dateModified\":\"2022-09-29T03:27:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/image-8.png\",\"contentUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/image-8.png\",\"width\":975,\"height\":283},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-doi-port-ssh-tren-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trang ch\u1ee7\",\"item\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#website\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\",\"name\":\"Long V\u00e2n\",\"description\":\"C\u1ed9ng \u0110\u1ed3ng\",\"publisher\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\",\"name\":\"Long V\u00e2n\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/cropped-logo-longvancloudsolution.png\",\"contentUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/cropped-logo-longvancloudsolution.png\",\"width\":1300,\"height\":330,\"caption\":\"Long V\u00e2n\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/person\\\/c825036e26c010c482307bd8e50e0ecd\",\"name\":\"Nguy\u1ec5n Anh Tu\u1ea5n\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3463c0dc931e262defbb2bd74733160a7258dd8c62e85170bb0efa6d7117ed18?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3463c0dc931e262defbb2bd74733160a7258dd8c62e85170bb0efa6d7117ed18?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3463c0dc931e262defbb2bd74733160a7258dd8c62e85170bb0efa6d7117ed18?s=96&d=mm&r=g\",\"caption\":\"Nguy\u1ec5n Anh Tu\u1ea5n\"},\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/author\\\/anhtuan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux - Long V\u00e2n","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/","og_locale":"vi_VN","og_type":"article","og_title":"H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux - Long V\u00e2n","og_description":"I. T\u1ed5ng quan SSH vi\u1ebft \u0111\u1ea7y \u0111\u1ee7 l\u00e0 Secure Shell, \u0111\u00e2y l\u00e0 m\u1ed9t giao th\u1ee9c h\u1ed7 tr\u1ee3 c\u00e1c nh\u00e0 qu\u1ea3n tr\u1ecb m\u1ea1ng truy c\u1eadp v\u00e0o m\u00e1y ch\u1ee7 t\u1eeb xa th\u00f4ng qua m\u1ea1ng internet kh\u00f4ng b\u1ea3o m\u1eadt. SSH t\u1ea1o ra c\u01a1 ch\u1ebf x\u00e1c th\u1ef1c qua m\u1eadt kh\u1ea9u m\u1ea1nh, h\u00ecnh th\u00e0nh m\u1ed1i li\u00ean k\u1ebft giao ti\u1ebfp d\u1eef [&hellip;]","og_url":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/","og_site_name":"Long V\u00e2n","article_published_time":"2022-09-29T03:21:59+00:00","article_modified_time":"2022-09-29T03:27:32+00:00","og_image":[{"width":975,"height":283,"url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-8.png","type":"image\/png"}],"author":"Nguy\u1ec5n Anh Tu\u1ea5n","twitter_card":"summary_large_image","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"Nguy\u1ec5n Anh Tu\u1ea5n","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"3 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/#article","isPartOf":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/"},"author":{"name":"Nguy\u1ec5n Anh Tu\u1ea5n","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/person\/c825036e26c010c482307bd8e50e0ecd"},"headline":"H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux","datePublished":"2022-09-29T03:21:59+00:00","dateModified":"2022-09-29T03:27:32+00:00","mainEntityOfPage":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/"},"wordCount":670,"publisher":{"@id":"https:\/\/longvan.net\/cong-dong\/#organization"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-8.png","keywords":["brute-force","\u0111\u1ed5i port ssh","Linux","port ssh","secure port ssh","ssh"],"articleSection":["Linux"],"inLanguage":"vi"},{"@type":"WebPage","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/","url":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/","name":"H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux - Long V\u00e2n","isPartOf":{"@id":"https:\/\/longvan.net\/cong-dong\/#website"},"primaryImageOfPage":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/#primaryimage"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-8.png","datePublished":"2022-09-29T03:21:59+00:00","dateModified":"2022-09-29T03:27:32+00:00","breadcrumb":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/#primaryimage","url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-8.png","contentUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2022\/09\/image-8.png","width":975,"height":283},{"@type":"BreadcrumbList","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-doi-port-ssh-tren-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Trang ch\u1ee7","item":"https:\/\/longvan.net\/cong-dong\/"},{"@type":"ListItem","position":2,"name":"H\u01b0\u1edbng d\u1eabn \u0111\u1ed5i port SSH tr\u00ean Linux"}]},{"@type":"WebSite","@id":"https:\/\/longvan.net\/cong-dong\/#website","url":"https:\/\/longvan.net\/cong-dong\/","name":"Long V\u00e2n","description":"C\u1ed9ng \u0110\u1ed3ng","publisher":{"@id":"https:\/\/longvan.net\/cong-dong\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/longvan.net\/cong-dong\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/longvan.net\/cong-dong\/#organization","name":"Long V\u00e2n","url":"https:\/\/longvan.net\/cong-dong\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/logo\/image\/","url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2025\/11\/cropped-logo-longvancloudsolution.png","contentUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2025\/11\/cropped-logo-longvancloudsolution.png","width":1300,"height":330,"caption":"Long V\u00e2n"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/person\/c825036e26c010c482307bd8e50e0ecd","name":"Nguy\u1ec5n Anh Tu\u1ea5n","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/secure.gravatar.com\/avatar\/3463c0dc931e262defbb2bd74733160a7258dd8c62e85170bb0efa6d7117ed18?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3463c0dc931e262defbb2bd74733160a7258dd8c62e85170bb0efa6d7117ed18?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3463c0dc931e262defbb2bd74733160a7258dd8c62e85170bb0efa6d7117ed18?s=96&d=mm&r=g","caption":"Nguy\u1ec5n Anh Tu\u1ea5n"},"url":"https:\/\/longvan.net\/cong-dong\/author\/anhtuan\/"}]}},"_links":{"self":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/1181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/comments?post=1181"}],"version-history":[{"count":9,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/1181\/revisions"}],"predecessor-version":[{"id":1223,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/1181\/revisions\/1223"}],"wp:attachment":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/media?parent=1181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/categories?post=1181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/tags?post=1181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}