{"id":6143,"date":"2024-08-21T00:00:00","date_gmt":"2024-08-20T17:00:00","guid":{"rendered":"https:\/\/longvan.net\/cong-dong\/?p=6143"},"modified":"2024-11-01T14:47:16","modified_gmt":"2024-11-01T07:47:16","slug":"huong-dan-cau-hinh-ssh-keys-tren-linux","status":"publish","type":"post","link":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh SSH Keys tr\u00ean linux"},"content":{"rendered":"<p>SSH Keys hay Secure Shell Keys , l\u00e0 m\u1ed9t c\u1eb7p kh\u00f3a m\u1eadt m\u00e3 g\u1ed3m Public Key v\u00e0 Private Key \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 thi\u1ebft l\u1eadp k\u1ebft n\u1ed1i an to\u00e0n gi\u1eefa client v\u00e0 server.<\/p>\n<p>Khi c\u1ea5u h\u00ecnh SSH Keys k\u1ebft n\u1ed1i SSH, server s\u1eed d\u1ee5ng Public Keys \u0111\u1ec3 m\u00e3 h\u00f3a d\u1eef li\u1ec7u, v\u00e0 ch\u1ec9 c\u00f3 Private Key m\u1edbi c\u00f3 th\u1ec3 gi\u1ea3i m\u00e3 d\u1eef li\u1ec7u \u0111\u00f3, \u0111\u1ea3m b\u1ea3o r\u1eb1ng ch\u1ec9 ng\u01b0\u1eddi d\u00f9ng c\u00f3 Private Key m\u1edbi truy c\u1eadp \u0111\u01b0\u1ee3c v\u00e0o server \u0111\u00f3.<\/p>\n<p>SSH keys th\u01b0\u1eddng \u0111\u01b0\u1ee3c d\u00f9ng \u0111\u1ec3 thay th\u1ebf cho m\u1eadt kh\u1ea9u trong vi\u1ec7c \u0111\u0103ng nh\u1eadp, gi\u00fap t\u0103ng c\u01b0\u1eddng b\u1ea3o m\u1eadt v\u00e0 \u0111\u01a1n gi\u1ea3n h\u00f3a qu\u00e1 tr\u00ecnh x\u00e1c th\u1ef1c v\u00ec kh\u00f4ng c\u1ea7n nh\u1eadp m\u1eadt kh\u1ea9u th\u1ee7 c\u00f4ng m\u1ed7i l\u1ea7n k\u1ebft n\u1ed1i. Sau \u0111\u00e2y b\u00e0i vi\u1ebft n\u00e0y long v\u00e2n s\u1ebd h\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh SSh Keys tr\u00ean linux<\/p>\n<h4>1. B\u01b0\u1edbc 1: T\u1ea1o SSH Key<\/h4>\n<p>H\u1ea7u h\u1ebft c\u00e1c c\u00f4ng c\u1ee5 SSH Client (nh\u01b0 Xshell, Putty, &#8230;) \u0111\u1ec1u c\u00f3 h\u1ed7 tr\u1ee3 tao c\u1eb7p key SSH (private v\u00e0 public key). Trong b\u00e0i h\u01b0\u1edbng d\u1eabn n\u00e0y Long V\u00e2n s\u1eed d\u1ee5ng <strong>Xshell<\/strong> \u0111\u1ec3 t\u1ea1o Key.<\/p>\n<ul>\n<li>M\u1edf <strong>Xshell<\/strong> &gt; <strong>Tools<\/strong> &gt; <strong>User Key Manager&#8230;<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6144\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/1d-e1730445954245.png\" alt=\"\" width=\"320\" height=\"389\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/1d-e1730445954245.png 386w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/1d-e1730445954245-247x300.png 247w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/strong><\/li>\n<li>Trong c\u1eeda s\u1ed5 User Keys, ch\u1ecdn <strong>Generate<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-6145 size-full aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/2-e1724050532798.png\" alt=\"\" width=\"420\" height=\"314\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/2-e1724050532798.png 420w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/2-e1724050532798-300x224.png 300w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" \/><\/strong><\/li>\n<li>Ti\u1ebfp t\u1ee5c nh\u1ea5n ch\u1ecdn <strong>Next<\/strong> , \u0111\u1ebfn c\u1eeda s\u1ed5 <strong>User Key Infomation<\/strong>, trong <strong>Passphrase<\/strong> c\u00f3 th\u1ec3 \u0111\u1ec3 tr\u1ed1ng ho\u1eb7c nh\u1eadp m\u1eadt kh\u1ea9u khi s\u1eed d\u1ee5ng Key SSH v\u00e0o server xong b\u1ea5m <strong>Next<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6148 size-full\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/4d-e1724137651585.png\" alt=\"\" width=\"461\" height=\"371\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/4d-e1724137651585.png 461w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/4d-e1724137651585-300x241.png 300w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/strong><\/li>\n<li>Sau \u0111\u00f3 nh\u1ea5n ch\u1ecdn <strong>Finish<\/strong> \u0111\u1ec3 ho\u00e0n th\u00e0nh vi\u1ec7c t\u1ea1o Key.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6149 size-full\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/5-1-e1724137621190.png\" alt=\"\" width=\"462\" height=\"374\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/5-1-e1724137621190.png 462w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/5-1-e1724137621190-300x243.png 300w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/li>\n<li>Trong c\u1eeda s\u1ed5 <strong>User Keys, <\/strong>ch\u1ecdn key v\u1eeba t\u1ea1o v\u00e0 nh\u1ea5n <strong>Properties<br \/>\n<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"wp-image-6150 size-full aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/6png-e1724137792107.png\" alt=\"\" width=\"423\" height=\"321\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/6png-e1724137792107.png 423w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/6png-e1724137792107-300x228.png 300w\" sizes=\"auto, (max-width: 423px) 100vw, 423px\" \/><\/li>\n<li>B\u1ea5m v\u00e0o <strong>Public Key\u00a0<\/strong>v\u00e0 copy n\u1ed9i dung c\u1ee7a Key<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6151 size-full\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/7d-e1724137817436.png\" alt=\"\" width=\"391\" height=\"345\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/7d-e1724137817436.png 391w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/7d-e1724137817436-300x265.png 300w\" sizes=\"auto, (max-width: 391px) 100vw, 391px\" \/><\/li>\n<\/ul>\n<h4>2. B\u01b0\u1edbc 2: Sao ch\u00e9p Public Key v\u00e0o Server<\/h4>\n<p>Truy c\u1eadp v\u00e0 d\u00e1n n\u1ed9i dung Public key c\u1ee7a b\u01b0\u1edbc 1 v\u00e0o file <strong>\/root\/.ssh\/authorized_keys <\/strong>tr\u00ean SSH server.<strong><br \/>\n<\/strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6154 size-full\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/9-e1724137834525.png\" alt=\"\" width=\"651\" height=\"135\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/9-e1724137834525.png 651w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/9-e1724137834525-300x62.png 300w\" sizes=\"auto, (max-width: 651px) 100vw, 651px\" \/><\/p>\n<h4>3. B\u01b0\u1edbc 3: B\u1eadt x\u00e1c th\u1ef1c SSH Key v\u00e0 v\u00f4 hi\u1ec7u h\u00f3a x\u00e1c th\u1ef1c b\u1eb1ng m\u1eadt kh\u1ea9u<\/h4>\n<p>V\u00e0o c\u1ea5u h\u00ecnh file <strong>\/etc\/ssh\/sshd_config<\/strong> v\u00e0 \u0111i\u1ec1u ch\u1ec9nh l\u1ea1i c\u00e1c c\u1ea5u h\u00ecnh theo h\u00ecnh b\u00ean d\u01b0\u1edbi<\/p>\n<ul>\n<li>T\u00ecm \u0111\u1ebfn <strong>PubkeyAuthentication<\/strong> ch\u1ec9nh s\u1eeda<strong>\u00a0no &gt; yes<\/strong><\/li>\n<li>Th\u00eam \u0111\u01b0\u1eddng d\u1eabn ch\u1ee9a SSH Keys <strong>AuthorizedKeysFile<\/strong> <strong>.ssh\/authorized_keys<\/strong> <strong>.ssh\/authorized_keys2<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-6157 aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/a-e1724137861930.png\" alt=\"\" width=\"550\" height=\"232\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/a-e1724137861930.png 594w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/a-e1724137861930-300x127.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/strong><\/li>\n<li>T\u00ecm \u0111\u1ebfn <strong>PasswordAuthentication\u00a0<\/strong>ch\u1ec9nh s\u1eeda\u00a0<strong>yes &gt; no<\/strong>. \u0110\u1ec3 t\u1eaft truy c\u1eadp v\u1edbi m\u1eadt kh\u1ea9u th\u00f4ng th\u01b0\u1eddng<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6158 size-full\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/Untitleasdd-e1724137881681.png\" alt=\"\" width=\"485\" height=\"253\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/Untitleasdd-e1724137881681.png 485w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/Untitleasdd-e1724137881681-300x156.png 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/li>\n<\/ul>\n<p><span style=\"font-size: revert; color: initial;\">L\u01b0u l\u1ea1i file c\u1ea5u h\u00ecnh v\u00e0 restart l\u1ea1i service SSH v\u00e0 ki\u1ec3m tra l\u1ea1i c\u1ea5u h\u00ecnh b\u1eb1ng l\u1ec7nh &#8220;<\/span>sshd -T<span style=\"font-size: revert; color: initial;\">&#8221;<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-6159 size-full aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/c-e1724137902668.png\" alt=\"\" width=\"444\" height=\"67\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/c-e1724137902668.png 444w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/c-e1724137902668-300x45.png 300w\" sizes=\"auto, (max-width: 444px) 100vw, 444px\" \/><\/span><\/p>\n<h4>4. B\u01b0\u1edbc 4: Ki\u1ec3m tra SSH t\u1edbi server b\u1eb1ng Public Key<\/h4>\n<ul>\n<li>S\u1eed d\u1ee5ng SSH Keys \u0111\u00e3 c\u00f3 tr\u00ean m\u00e1y, nh\u1eadp <strong>Passphrase<\/strong> \u0111\u00e3 thi\u1ebft \u0111\u1eb7t \u0111\u1ec3 truy c\u1eadp v\u00e0o Server<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-6155 size-full aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/10-e1724137924931.png\" alt=\"\" width=\"439\" height=\"394\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/10-e1724137924931.png 439w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/10-e1724137924931-300x269.png 300w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/li>\n<li>M\u00e0n h\u00ecnh \u0111\u0103ng nh\u1eadp \u0111\u00e3 truy c\u1eadp v\u00e0o server v\u1edbi SSH Keys th\u00e0nh c\u00f4ng<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-6156 aligncenter\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/11d.png\" alt=\"\" width=\"723\" height=\"313\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/11d.png 723w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/11d-300x130.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/li>\n<\/ul>\n<p>Nh\u01b0 v\u1eady, Long V\u00e2n \u0111\u00e3 ho\u00e0n th\u00e0nh h\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh SSH Keys tr\u00ean server Linux. Ch\u00fac Qu\u00fd kh\u00e1ch th\u00e0nh c\u00f4ng!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSH Keys hay Secure Shell Keys , l\u00e0 m\u1ed9t c\u1eb7p kh\u00f3a m\u1eadt m\u00e3 g\u1ed3m Public Key v\u00e0 Private Key \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 thi\u1ebft l\u1eadp k\u1ebft n\u1ed1i an to\u00e0n gi\u1eefa client v\u00e0 server. Khi c\u1ea5u h\u00ecnh SSH Keys k\u1ebft n\u1ed1i SSH, server s\u1eed d\u1ee5ng Public Keys \u0111\u1ec3 m\u00e3 h\u00f3a d\u1eef li\u1ec7u, v\u00e0 ch\u1ec9 c\u00f3 Private [&hellip;]<\/p>\n","protected":false},"author":8,"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":[5,116,366],"class_list":["post-6143","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-ssh","tag-xshell"],"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 c\u1ea5u h\u00ecnh SSH Keys 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-cau-hinh-ssh-keys-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 c\u1ea5u h\u00ecnh SSH Keys tr\u00ean linux - Long V\u00e2n\" \/>\n<meta property=\"og:description\" content=\"SSH Keys hay Secure Shell Keys , l\u00e0 m\u1ed9t c\u1eb7p kh\u00f3a m\u1eadt m\u00e3 g\u1ed3m Public Key v\u00e0 Private Key \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 thi\u1ebft l\u1eadp k\u1ebft n\u1ed1i an to\u00e0n gi\u1eefa client v\u00e0 server. Khi c\u1ea5u h\u00ecnh SSH Keys k\u1ebft n\u1ed1i SSH, server s\u1eed d\u1ee5ng Public Keys \u0111\u1ec3 m\u00e3 h\u00f3a d\u1eef li\u1ec7u, v\u00e0 ch\u1ec9 c\u00f3 Private [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Long V\u00e2n\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-20T17:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T07:47:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/1d-e1730445954245.png\" \/>\n\t<meta property=\"og:image:width\" content=\"386\" \/>\n\t<meta property=\"og:image:height\" content=\"469\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mai V\u0103n Chung\" \/>\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=\"Mai V\u0103n Chung\" \/>\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-cau-hinh-ssh-keys-tren-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-tren-linux\\\/\"},\"author\":{\"name\":\"Mai V\u0103n Chung\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/person\\\/0f5bb4435e991d494ff8f4b132e5ed8b\"},\"headline\":\"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh SSH Keys tr\u00ean linux\",\"datePublished\":\"2024-08-20T17:00:00+00:00\",\"dateModified\":\"2024-11-01T07:47:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-tren-linux\\\/\"},\"wordCount\":631,\"publisher\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-tren-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/1d-e1730445954245.png\",\"keywords\":[\"Linux\",\"ssh\",\"xshell\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"vi\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-tren-linux\\\/\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-tren-linux\\\/\",\"name\":\"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh SSH Keys tr\u00ean linux - Long V\u00e2n\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-tren-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-tren-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/1d-e1730445954245.png\",\"datePublished\":\"2024-08-20T17:00:00+00:00\",\"dateModified\":\"2024-11-01T07:47:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-tren-linux\\\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-tren-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-tren-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/1d-e1730445954245.png\",\"contentUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/1d-e1730445954245.png\",\"width\":386,\"height\":469},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-ssh-keys-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 c\u1ea5u h\u00ecnh SSH Keys 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\\\/0f5bb4435e991d494ff8f4b132e5ed8b\",\"name\":\"Mai V\u0103n Chung\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g\",\"caption\":\"Mai V\u0103n Chung\"},\"sameAs\":[\"http:\\\/\\\/longvan.net\"],\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/author\\\/vanchung\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh SSH Keys 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-cau-hinh-ssh-keys-tren-linux\/","og_locale":"vi_VN","og_type":"article","og_title":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh SSH Keys tr\u00ean linux - Long V\u00e2n","og_description":"SSH Keys hay Secure Shell Keys , l\u00e0 m\u1ed9t c\u1eb7p kh\u00f3a m\u1eadt m\u00e3 g\u1ed3m Public Key v\u00e0 Private Key \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 thi\u1ebft l\u1eadp k\u1ebft n\u1ed1i an to\u00e0n gi\u1eefa client v\u00e0 server. Khi c\u1ea5u h\u00ecnh SSH Keys k\u1ebft n\u1ed1i SSH, server s\u1eed d\u1ee5ng Public Keys \u0111\u1ec3 m\u00e3 h\u00f3a d\u1eef li\u1ec7u, v\u00e0 ch\u1ec9 c\u00f3 Private [&hellip;]","og_url":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/","og_site_name":"Long V\u00e2n","article_published_time":"2024-08-20T17:00:00+00:00","article_modified_time":"2024-11-01T07:47:16+00:00","og_image":[{"width":386,"height":469,"url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/1d-e1730445954245.png","type":"image\/png"}],"author":"Mai V\u0103n Chung","twitter_card":"summary_large_image","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"Mai V\u0103n Chung","\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-cau-hinh-ssh-keys-tren-linux\/#article","isPartOf":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/"},"author":{"name":"Mai V\u0103n Chung","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/person\/0f5bb4435e991d494ff8f4b132e5ed8b"},"headline":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh SSH Keys tr\u00ean linux","datePublished":"2024-08-20T17:00:00+00:00","dateModified":"2024-11-01T07:47:16+00:00","mainEntityOfPage":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/"},"wordCount":631,"publisher":{"@id":"https:\/\/longvan.net\/cong-dong\/#organization"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/1d-e1730445954245.png","keywords":["Linux","ssh","xshell"],"articleSection":["Linux"],"inLanguage":"vi"},{"@type":"WebPage","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/","url":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/","name":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh SSH Keys tr\u00ean linux - Long V\u00e2n","isPartOf":{"@id":"https:\/\/longvan.net\/cong-dong\/#website"},"primaryImageOfPage":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/#primaryimage"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/1d-e1730445954245.png","datePublished":"2024-08-20T17:00:00+00:00","dateModified":"2024-11-01T07:47:16+00:00","breadcrumb":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-tren-linux\/#primaryimage","url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/1d-e1730445954245.png","contentUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2024\/08\/1d-e1730445954245.png","width":386,"height":469},{"@type":"BreadcrumbList","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-ssh-keys-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 c\u1ea5u h\u00ecnh SSH Keys 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\/0f5bb4435e991d494ff8f4b132e5ed8b","name":"Mai V\u0103n Chung","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/secure.gravatar.com\/avatar\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g","caption":"Mai V\u0103n Chung"},"sameAs":["http:\/\/longvan.net"],"url":"https:\/\/longvan.net\/cong-dong\/author\/vanchung\/"}]}},"_links":{"self":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/6143","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/comments?post=6143"}],"version-history":[{"count":39,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/6143\/revisions"}],"predecessor-version":[{"id":6951,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/6143\/revisions\/6951"}],"wp:attachment":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/media?parent=6143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/categories?post=6143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/tags?post=6143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}