{"id":5171,"date":"2026-01-07T15:14:50","date_gmt":"2026-01-07T07:14:50","guid":{"rendered":"https:\/\/www.servergigabit.com\/guide\/?post_type=kb&#038;p=5171"},"modified":"2026-01-13T17:30:07","modified_gmt":"2026-01-13T09:30:07","slug":"access-your-linux-vps-using-xshell","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/access-your-linux-vps-using-xshell","title":{"rendered":"How to Access Your Linux VPS using Xshell?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">This article explains how to connect or access your <a href=\"https:\/\/www.servergigabit.com\/linux-vps-hosting\/\">Linux VPS<\/a> using<a href=\"https:\/\/www.netsarang.com\/en\/xshell-download\/\" rel=\"nofollow noopener\" target=\"_blank\"> Xshell<\/a> via SSH. It is suitable for Linux-based VPS servers.<\/span><\/p>\n<p><b>Step 1: Open Xshell<\/b><\/p>\n<p><span style=\"font-weight: 400;\">1) Launch Xshell on your computer.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">2) Click New to create a new session.<\/span><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-5172 \" src=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-094546-300x207.png\" alt=\"Access Your Linux VPS using Xshell\" width=\"593\" height=\"409\" srcset=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-094546-300x207.png 300w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-094546-768x529.png 768w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-094546-370x255.png 370w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-094546-800x551.png 800w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-094546-390x268.png 390w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-094546.png 844w\" sizes=\"(max-width: 593px) 100vw, 593px\" \/><\/p>\n<p><b>Step 2: Create a New Session<\/b><\/p>\n<p><span style=\"font-weight: 400;\">In the New Session windows, please enter:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Name<\/b><span style=\"font-weight: 400;\">: you can enter any name (e.g. VPS 1)<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Protocol<\/b><span style=\"font-weight: 400;\">: please select SSH<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Host<\/b><span style=\"font-weight: 400;\">: Enter your VPS IP address<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Port Number<\/b><span style=\"font-weight: 400;\">: 22 (default SSH port)<\/span><\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone wp-image-5173\" src=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095050-300x251.png\" alt=\"\" width=\"510\" height=\"427\" srcset=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095050-300x251.png 300w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095050-370x310.png 370w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095050-390x327.png 390w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095050.png 655w\" sizes=\"(max-width: 510px) 100vw, 510px\" \/><\/p>\n<p><b>Step 3: Enter Login Credentials<\/b><\/p>\n<p><span style=\"font-weight: 400;\">1) Click on the name created for your VPS just now.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-5174\" src=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095331-300x207.png\" alt=\"\" width=\"514\" height=\"355\" srcset=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095331-300x207.png 300w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095331-768x530.png 768w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095331-370x255.png 370w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095331-800x552.png 800w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095331-390x269.png 390w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095331.png 838w\" sizes=\"(max-width: 514px) 100vw, 514px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">2) For first time access, it will appear as an <\/span><b>SSH Security Warning<\/b><span style=\"font-weight: 400;\">. You can choose to<\/span><b> accept once<\/b><span style=\"font-weight: 400;\"> or <\/span><b>accept and save<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5175\" src=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095345-300x300.png\" alt=\"\" width=\"517\" height=\"517\" srcset=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095345-300x300.png 300w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095345-150x150.png 150w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095345-370x371.png 370w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095345-90x90.png 90w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095345-390x391.png 390w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095345.png 447w\" sizes=\"(max-width: 517px) 100vw, 517px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">3) Enter your username to login<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Username: root (default)<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5176\" src=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095410-300x165.png\" alt=\"\" width=\"524\" height=\"288\" srcset=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095410-300x165.png 300w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095410.png 352w\" sizes=\"(max-width: 524px) 100vw, 524px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Then there are 2 option,\u00a0<\/span><\/p>\n<p><b>Option 1: Password Login<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Password: Enter your VPS password<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Then, click <\/span><b>OK<\/b><span style=\"font-weight: 400;\"> to connect<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5177\" src=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095504-300x269.png\" alt=\"\" width=\"533\" height=\"478\" srcset=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095504-300x269.png 300w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095504-370x332.png 370w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095504-390x350.png 390w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2026\/01\/Screenshot-2026-01-07-095504.png 440w\" sizes=\"(max-width: 533px) 100vw, 533px\" \/><\/p>\n<p><b>Option 2: SSH Key Login (If applicable)<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select public key<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Browse and select your private key file<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>OK<\/b><span style=\"font-weight: 400;\"> and connect<\/span><\/li>\n<\/ul>\n<p><b>Step 4: Successful Connection<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Once connected, you will see a terminal window. Show:<\/span><\/p>\n<p><b>[root@hostname ~]#<\/b><\/p>\n<p><span style=\"font-weight: 400;\">This means your VPS is now accessible and ready to use.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article explains how to connect or access your Linux VPS using Xshell via SSH. It is suitable for Linux-based VPS servers. Step 1: Open Xshell 1) Launch Xshell on your computer. 2) Click New to create a new session. Step 2: Create a New Session In the New Session windows, please enter: Name: you can enter any name (e.g.&hellip;<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[50],"kbtag":[1579,1581],"class_list":["post-5171","kb","type-kb","status-publish","hentry","kbtopic-how-to","kbtag-linux-vps","kbtag-xshell"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/5171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=5171"}],"version-history":[{"count":4,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/5171\/revisions"}],"predecessor-version":[{"id":6198,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/5171\/revisions\/6198"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=5171"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=5171"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=5171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}