{"id":1739,"date":"2019-08-13T14:53:23","date_gmt":"2019-08-13T07:53:23","guid":{"rendered":"https:\/\/tino.vn\/?post_type=ht_kb&#038;p=1739"},"modified":"2019-09-15T10:34:57","modified_gmt":"2019-09-15T03:34:57","slug":"linux-huong-dan-truy-cap-ssh-vao-cloud-vps","status":"publish","type":"ht_kb","link":"https:\/\/tino.vn\/blog\/docs\/linux-huong-dan-truy-cap-ssh-vao-cloud-vps\/","title":{"rendered":"[Linux] H\u01b0\u1edbng d\u1eabn truy c\u1eadp SSH v\u00e0o Cloud VPS"},"content":{"rendered":"<p>\u0110\u1ed1i v\u1edbi vi\u1ec7c s\u1eed d\u1ee5ng d\u1ecbch v\u1ee5 Cloud VPS th\u00ec vi\u1ec7c s\u1eed d\u1ee5ng SSH d\u01b0\u1eddng nh\u01b0 l\u00e0 b\u1eaft bu\u1ed9c \u0111\u1ec3 c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng ( D\u01b0\u1eddng nh\u01b0 \u1edf \u0111\u00e2y \u0111\u01b0\u1ee3c xem l\u00e0 95% n\u1ebfu kh\u00f4ng t\u00ednh t\u1edbi tr\u01b0\u1eddng h\u1ee3p s\u1eed d\u1ee5ng Template \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t s\u1eb3n m\u00e0 \u0111\u1ed9i ng\u0169 k\u1ef9 thu\u1eadt c\u1ee7a TinoHost x\u00e2y d\u1ef1ng nh\u01b0 Direct Admin, VestaCP, CyberPanel v.v )<\/p>\n<p>SSH, ho\u1eb7c \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 Secure Shell, l\u00e0 m\u1ed9t giao th\u1ee9c \u0111i\u1ec1u khi\u1ec3n t\u1eeb xa cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng ki\u1ec3m so\u00e1t v\u00e0 ch\u1ec9nh s\u1eeda server t\u1eeb xa qua Internet. D\u1ecbch v\u1ee5 \u0111\u01b0\u1ee3c t\u1ea1o ra nh\u1eb1m thay th\u1ebf cho tr\u00ecnh Telnet v\u1ed1n kh\u00f4ng c\u00f3 m\u00e3 h\u00f3a v\u00e0 s\u1eed d\u1ee5ng k\u1ef9 thu\u1eadt cryptographic \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o t\u1ea5t c\u1ea3 giao ti\u1ebfp g\u1eedi t\u1edbi v\u00e0 g\u1eedi t\u1eeb server t\u1eeb xa di\u1ec5n ra trong t\u00ecnh tr\u1ea1ng m\u00e3 h\u00f3a. N\u00f3 cung c\u1ea5p thu\u1eadt to\u00e1n \u0111\u1ec3 ch\u1ee9ng th\u1ef1c ng\u01b0\u1eddi d\u00f9ng t\u1eeb xa, chuy\u1ec3n input t\u1eeb client t\u1edbi host, v\u00e0 relay k\u1ebft qu\u1ea3 tr\u1ea3 v\u1ec1 t\u1edbi kh\u00e1ch h\u00e0ng.<\/p>\n<p>\u0110\u1ec3 c\u00f3 th\u1ec3 truy c\u1eadp th\u00f4ng qua SSH hi\u1ec7n nay \u0111\u1ed1i v\u1edbi Windown, Ubuntu, MACOS th\u00ec \u0111a ph\u1ea7n \u0111\u1ec1u \u0111\u00e3 c\u00f3 h\u1ed7 tr\u1ee3 c\u00e1c c\u00f4ng c\u1ee5 Terminal, n\u1ebfu b\u1ea1n s\u1eed d\u1ee5ng Windown th\u00ec c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng <strong><a href=\"https:\/\/the.earth.li\/~sgtatham\/putty\/latest\/w64\/putty.exe\" rel=\"nofollow noopener\" target=\"_blank\">PUTTY<\/a><\/strong> ho\u1eb7c v\u1edbi nhi\u1ec1u ch\u1ee9c n\u0103ng h\u1ed7 tr\u1ee3 h\u01a1n nh\u01b0 <a href=\"https:\/\/mobaxterm.mobatek.net\/\" rel=\"nofollow noopener\" target=\"_blank\"><strong>MobaXtem<\/strong><\/a>, <a href=\"https:\/\/www.netsarang.com\/en\/xshell\/\" rel=\"nofollow noopener\" target=\"_blank\"><strong>Xshell<\/strong><\/a> v.v .<\/p>\n<p>L\u1ec7nh SSH s\u1ebd g\u1ed3m :<\/p>\n<pre class=\"line-numbers\"><code class=\"language-markup\">ssh [user]@[host]<\/code><\/pre>\n<p>SSH key command cho h\u1ec7 th\u1ed1ng bi\u1ebft l\u00e0 b\u1ea1n mu\u1ed1n m\u1edf m\u1ed9t k\u1ebft n\u1ed1i \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a Secure Shell Connection. <strong>[user]<\/strong>\u00a0\u0111\u1ea1i di\u1ec7n cho t\u00e0i kho\u1ea3n ng\u01b0\u1eddi d\u00f9ng b\u1ea1n mu\u1ed1n d\u00f9ng \u0111\u1ec3 truy c\u1eadp. V\u00ed d\u1ee5, b\u1ea1n mu\u1ed1n truy c\u1eadp user\u00a0<strong>root<\/strong>, th\u00ec thay root t\u1ea1i \u0111\u00e2y. User root l\u00e0 user qu\u1ea3n tr\u1ecb h\u1ec7 th\u1ed1ng v\u1edbi to\u00e0n quy\u1ec1n \u0111\u1ec3 ch\u1ec9nh s\u1eeda b\u1ea5t k\u1ef3 \u0111i\u1ec1u g\u00ec tr\u00ean h\u1ec7 th\u1ed1ng. <strong>[host]<\/strong> \u0111\u1ea1i di\u1ec7n cho m\u00e1y t\u00ednh \/ VPS b\u1ea1n mu\u1ed1n d\u00f9ng \u0111\u1ec3 truy c\u1eadp ( l\u00e0 \u0111\u1ecba ch\u1ec9 IP m\u00e0 b\u1ea1n mu\u1ed1n k\u1ebft n\u1ed1i ).<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1740\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2019\/08\/UCScreenshot20190813145127.png\" alt=\"\" width=\"591\" height=\"253\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2019\/08\/UCScreenshot20190813145127.png 591w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2019\/08\/UCScreenshot20190813145127-300x128.png 300w\" sizes=\"(max-width: 591px) 100vw, 591px\" \/><\/p>\n<p>Th\u00f4ng th\u01b0\u1eddng khi y\u00eau c\u1ea7u nh\u1eadp m\u1eadt kh\u1ea9u, c\u00e1c thao t\u00e1c nh\u1eadp c\u1ee7a b\u1ea1n kh\u00f4ng hi\u1ec3n th\u1ecb tr\u00ean m\u00e0n h\u00ecnh, nh\u01b0ng khi b\u1ea1n nh\u1eadp v\u00e0 h\u1ec7 th\u1ed1ng s\u1ebd nh\u1eadn v\u00e0 khi b\u1ea1n ho\u00e0n t\u1ea5t thao t\u00e1c v\u1edbi ENTER, n\u1ebfu \u0111\u00fang m\u1eadt kh\u1ea9u b\u1ea1n c\u00f3 th\u1ec3 truy c\u1eadp v\u00e0o VPS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0110\u1ed1i v\u1edbi vi\u1ec7c s\u1eed d\u1ee5ng d\u1ecbch v\u1ee5 Cloud VPS th\u00ec vi\u1ec7c s\u1eed d\u1ee5ng SSH d\u01b0\u1eddng nh\u01b0 l\u00e0 b\u1eaft bu\u1ed9c \u0111\u1ec3 c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng ( D\u01b0\u1eddng nh\u01b0 \u1edf \u0111\u00e2y \u0111\u01b0\u1ee3c xem l\u00e0 95% n\u1ebfu kh\u00f4ng t\u00ednh t\u1edbi tr\u01b0\u1eddng h\u1ee3p s\u1eed d\u1ee5ng Template \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t s\u1eb3n m\u00e0 \u0111\u1ed9i ng\u0169 k\u1ef9 thu\u1eadt c\u1ee7a TinoHost x\u00e2y d\u1ef1ng [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1740,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"tags":[],"ht_kb_category":[17],"class_list":["post-1739","ht_kb","type-ht_kb","status-publish","format-standard","has-post-thumbnail","hentry","ht_kb_category-huong-dan-ve-cloud-vps"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/1739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=1739"}],"version-history":[{"count":0,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/1739\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/1740"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=1739"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=1739"},{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb_category?post=1739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}