{"id":790,"date":"2021-10-03T08:59:42","date_gmt":"2021-10-03T01:59:42","guid":{"rendered":"https:\/\/doc.dncloud.net\/?p=790"},"modified":"2023-07-13T16:04:59","modified_gmt":"2023-07-13T09:04:59","slug":"huong-dan-dang-nhap-vao-vps-linux","status":"publish","type":"post","link":"https:\/\/dncloud.net\/blog\/huong-dan-dang-nhap-vao-vps-linux\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn \u0111\u0103ng nh\u1eadp v\u00e0o VPS Linux"},"content":{"rendered":"<p>\u0110\u1ec3 k\u1ebft n\u1ed1i t\u1edbi m\u1ed9t m\u00e1y ch\u1ee7 ho\u1eb7c m\u1ed9t VPS h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux ch\u00fang ta ph\u1ea3i k\u1ebft n\u1ed1i theo giao th\u1ee9c SSH.<\/p>\n<h2>V\u1eady giao th\u1ee9c SSH l\u00e0 g\u00ec?<\/h2>\n<p><strong>SSH<\/strong> t\u00ean \u0111\u1ea7y \u0111\u1ee7 l\u00e0 <strong>Secure Socket Shell<\/strong> l\u00e0 m\u1ed9t giao th\u1ee9c m\u1ea1ng d\u00f9ng \u0111\u1ec3 thi\u1ebft l\u1eadp k\u1ebft n\u1ed1i m\u1ea1ng m\u1ed9t c\u00e1ch b\u1ea3o m\u1eadt s\u1eed d\u1ee5ng \u0111\u1ec3 \u0111\u0103ng nh\u1eadp m\u1ed9t m\u00e1y t\u00ednh t\u1eeb xa trong m\u00f4 h\u00ecnh ph\u00e2n l\u1edbp TCP\/IP. C\u00e1c d\u1eef li\u1ec7u m\u00e0 b\u1ea1n g\u1eedi \u0111i ho\u1eb7c nh\u1eadn th\u00f4ng qua giao th\u1ee9c SSH s\u1ebd \u0111\u1ec1u \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a l\u1ea1i \u0111\u1ec3 b\u1ea3o m\u1eadt th\u00f4ng tin an to\u00e0n h\u01a1n.<\/p>\n<h2>C\u00e1ch \u0111\u0103ng nh\u1eadp v\u00e0o m\u00e1y ch\u1ee7 Linux<\/h2>\n<p>B\u1ea1n h\u00e3y \u0111\u1ea3m b\u1ea3o r\u1eb1ng ph\u1ea3i c\u00f3 \u0111\u1ea7y \u0111\u1ee7 c\u00e1c th\u00f4ng tin sau \u0111\u1ec3 k\u1ebft n\u1ed1i t\u1edbi m\u00e1y ch\u1ee7 linux:<\/p>\n<ul>\n<li>\u0110\u1ecba ch\u1ec9 IP<\/li>\n<li>Port (m\u1eb7c \u0111\u1ecbnh l\u00e0 22)<\/li>\n<li>User name (m\u1eb7c \u0111\u1ecbnh l\u00e0 root)<\/li>\n<li>Password<\/li>\n<\/ul>\n<h3>\u0110\u1ed1i v\u1edbi Windows<\/h2>\n<p>Ta c\u1ea7n ph\u1ea3i t\u1ea3i c\u00e1c ph\u1ea7m m\u1ec1m \u0111\u1ec3 k\u1ebft n\u1ed1i t\u1edbi VPS ch\u00fang ta nh\u01b0 putty, zoc7, termius,&#8230; trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n k\u1ebft n\u1ed1i t\u1edbi VPS Linux b\u1eb1ng ph\u1ea7n m\u1ec1n putty.<\/p>\n<p>B\u1ea1n c\u00f3 th\u1ec3 t\u1ea1i putty t\u1ea1i \u0111\u00e2y: <a href=\"https:\/\/www.putty.org\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.putty.org\/<\/a><\/p>\n<p>Sau khi b\u1ea1n \u0111\u00e3 c\u00e0i \u0111\u1eb7t ho\u00e0n t\u1ea5t h\u00e3y m\u1edf ph\u1ea7n m\u1ec1n putty v\u00e0 \u0111i\u1ec1n IP v\u00e0 port (m\u1eb7c \u0111\u1ecbnh l\u00e0 22) c\u1ee7a VPS v\u00e0 nh\u1ea5n Open.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-791 size-full\" src=\"https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/open-putty.png.webp\" alt=\"putty\" width=\"454\" height=\"437\" srcset=\"https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/open-putty.png.webp 454w, https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/open-putty-300x289.png.webp 300w, https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/open-putty-150x144.png.webp 150w\" sizes=\"(max-width: 454px) 100vw, 454px\" data-smush-webp-fallback=\"{&quot;src&quot;:&quot;https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/open-putty.png&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/open-putty.png 454w, https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/open-putty-300x289.png 300w, https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/open-putty-150x144.png 150w&quot;}\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Nh\u1ea5n <strong>Accept<\/strong> \u0111\u1ec3 \u0111\u1ed3ng \u00fd \u0111\u0103ng nh\u1eadp v\u00e0o m\u00e1y ch\u1ee7.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-792 size-full\" src=\"https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/nhan-accept-e1633226305667.png.webp\" alt=\"b\u1ea5m accept\" width=\"663\" height=\"419\" srcset=\"https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/nhan-accept-e1633226305667.png.webp 663w, https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/nhan-accept-e1633226305667-300x190.png.webp 300w, https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/nhan-accept-e1633226305667-150x95.png.webp 150w, https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/nhan-accept-e1633226305667-585x370.png.webp 585w\" sizes=\"(max-width: 663px) 100vw, 663px\" loading=\"lazy\" data-smush-webp-fallback=\"{&quot;src&quot;:&quot;https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/nhan-accept-e1633226305667.png&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/nhan-accept-e1633226305667.png 663w, https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/nhan-accept-e1633226305667-300x190.png 300w, https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/nhan-accept-e1633226305667-150x95.png 150w, https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/nhan-accept-e1633226305667-585x370.png 585w&quot;}\" \/><\/p>\n<p>B\u01b0\u1edbc ti\u1ebfp theo b\u1ea1n nh\u1eadp <strong>User name<\/strong> v\u00e0 <strong>m\u00e2t kh\u1ea9u<\/strong> c\u1ee7a m\u00e1y ch\u1ee7. B\u1ea1n c\u00f3 th\u1ec3 copy m\u1eadt kh\u1ea9u r\u1ed3i nh\u1ea5n chu\u1ed9t ph\u1ea3i \u0111\u1ec3 d\u00e1n v\u00e0o putty<\/p>\n<p>L\u01b0u \u00fd: \u00a0khi nh\u1eadp trong putty th\u00ec <strong>m\u1eadt kh\u1ea9u kh\u00f4ng hi\u1ec3n th\u1ecb<\/strong>. B\u1ea1n ch\u1ec9 c\u1ea7n nh\u1eadp \u0111\u00fang v\u00e0 \u0111\u1ee7 m\u1eadt kh\u1ea9u r\u1ed3i b\u1ea5m Enter \u0111\u1ec3 k\u1ebft n\u1ed1i.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-793 size-full\" src=\"https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/dang-nhap-vps-linux.png.webp\" alt=\"\u0111\u0103ng nh\u1eadp\" width=\"664\" height=\"425\" srcset=\"https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/dang-nhap-vps-linux.png.webp 664w, https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/dang-nhap-vps-linux-300x192.png.webp 300w, https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/dang-nhap-vps-linux-150x96.png.webp 150w, https:\/\/dncloud.net\/blog\/wp-content\/smush-webp\/dang-nhap-vps-linux-585x374.png.webp 585w\" sizes=\"(max-width: 664px) 100vw, 664px\" loading=\"lazy\" data-smush-webp-fallback=\"{&quot;src&quot;:&quot;https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/dang-nhap-vps-linux.png&quot;,&quot;srcset&quot;:&quot;https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/dang-nhap-vps-linux.png 664w, https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/dang-nhap-vps-linux-300x192.png 300w, https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/dang-nhap-vps-linux-150x96.png 150w, https:\\\/\\\/dncloud.net\\\/blog\\\/wp-content\\\/uploads\\\/dang-nhap-vps-linux-585x374.png 585w&quot;}\" \/><\/p>\n<h3 id=\"mcetoc_1dgkr29a75\"><strong>\u0110\u0103ng nh\u1eadp t\u1eeb Linux\/macOS<\/strong><\/h2>\n<div class=\"MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-8\">\n<div class=\"MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-6\">\n<div class=\"jss168\">N\u1ebfu b\u1ea1n s\u1eed d\u1ee5ng h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux ho\u1eb7c macOS, b\u1ea1n \u0111\u00e3 c\u00f3 m\u1ed9t c\u00f4ng c\u1ee5 Terminal c\u00f3 th\u1ec3 ch\u1ea1y c\u00e1c l\u1ec7nh Unix. T\u1ea1i terminal, b\u1ea1n \u0111\u0103ng nh\u1eadp b\u1eb1ng l\u1ec7nh sau:<\/div>\n<div>\n<pre class=\"body\">ssh root@35.220.222.227<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>Trong \u0111\u00f3 root l\u00e0 user name v\u00e0 35.220.222.227 thay th\u1ebf b\u1eb1ng IP m\u00e1y ch\u1ee7 c\u1ee7a b\u1ea1n.<\/p>\n<p>Ch\u00fac b\u1ea1n th\u00e0nh c\u00f4ng.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0110\u1ec3 k\u1ebft n\u1ed1i t\u1edbi m\u1ed9t m\u00e1y ch\u1ee7 ho\u1eb7c m\u1ed9t VPS h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux ch\u00fang ta&hellip;<\/p>\n","protected":false},"author":1,"featured_media":791,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[130],"tags":[181,197],"class_list":["post-790","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-huong-dan-vps","tag-linux","tag-ssh"],"_links":{"self":[{"href":"https:\/\/dncloud.net\/blog\/wp-json\/wp\/v2\/posts\/790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dncloud.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dncloud.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dncloud.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dncloud.net\/blog\/wp-json\/wp\/v2\/comments?post=790"}],"version-history":[{"count":0,"href":"https:\/\/dncloud.net\/blog\/wp-json\/wp\/v2\/posts\/790\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dncloud.net\/blog\/wp-json\/wp\/v2\/media\/791"}],"wp:attachment":[{"href":"https:\/\/dncloud.net\/blog\/wp-json\/wp\/v2\/media?parent=790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dncloud.net\/blog\/wp-json\/wp\/v2\/categories?post=790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dncloud.net\/blog\/wp-json\/wp\/v2\/tags?post=790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}