{"id":126144,"date":"2025-03-11T11:14:02","date_gmt":"2025-03-11T11:14:02","guid":{"rendered":"https:\/\/peraltafinancing.com\/business\/internet-business\/how-to-enable-root-access-via-ssh-on-your-vps-for-migration\/"},"modified":"2025-03-11T11:14:02","modified_gmt":"2025-03-11T11:14:02","slug":"how-to-enable-root-access-via-ssh-on-your-vps-for-migration","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=126144","title":{"rendered":"How to Enable Root Access via SSH on Your VPS for Migration"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div>\n<h3><strong>Step 1: Create an SSH User for a Domain<\/strong><\/h3>\n<p>Before you can log in via SSH, ensure you have an SSH user set up for the domain. There are two ways to do this:<\/p>\n<h4><strong>Option 1: Enable SSH Access for a Specific Domain<\/strong><\/h4>\n<ol start=\"1\" data-spread=\"false\">\n<li>Log in to Plesk.<\/li>\n<li>Navigate to <strong>Websites &amp; Domains<\/strong>.<\/li>\n<li>Click on the domain you want to enable SSH access for.<\/li>\n<li>Go to <strong>Hosting &amp; DNS<\/strong> &gt; <strong>Hosting Settings<\/strong>.<\/li>\n<li>Scroll to the bottom of the page.<\/li>\n<li>Locate the <strong>SSH access<\/strong> setting and change the type from <code>Forbidden<\/code> to <code>\/bin\/bash\/<\/code>.<\/li>\n<\/ol>\n<h4><strong>Option 2: Create a Temporary Domain Package<\/strong><\/h4>\n<p>Alternatively, if you need a temporary SSH user, you can create a new domain package and enable SSH access when setting up the package.<\/p>\n<h3><strong>Step 2: Gain Superuser Access<\/strong><\/h3>\n<p>Once SSH access is enabled for the domain, follow these steps to gain superuser privileges:<\/p>\n<ol start=\"1\" data-spread=\"false\">\n<li>Open your SSH client and connect to the server using the domain\u2019s SSH username and password.<\/li>\n<li>Run the following command to switch to a superuser:\n<pre><code>su<\/code><\/pre>\n<\/li>\n<li>Enter the password for the Plesk Administrator when prompted.<\/li>\n<\/ol>\n<h3><strong>Step 3: Modify SSH Configuration<\/strong><\/h3>\n<p>To ensure root login is permitted, follow these steps:<\/p>\n<ol start=\"1\" data-spread=\"false\">\n<li>Open the SSH configuration file using a text editor such as <code>vim<\/code> or <code>nano<\/code>:\n<pre><code>vim \/etc\/ssh\/sshd_config<\/code><\/pre>\n<p>or<\/p>\n<pre><code>nano \/etc\/ssh\/sshd_config<\/code><\/pre>\n<\/li>\n<li>Locate the line that reads:\n<pre><code>#PermitRootLogin prohibit-password<\/code><\/pre>\n<\/li>\n<li>Modify it to:\n<pre><code>PermitRootLogin yes<\/code><\/pre>\n<p>(If there is a <code>#<\/code> at the beginning of the line, remove it.)<\/p>\n<\/li>\n<li>Save the changes and exit the editor.<\/li>\n<\/ol>\n<h3><strong>Step 4: Restart the SSH Service<\/strong><\/h3>\n<p>After modifying the configuration, restart the SSH service to apply the changes:<\/p>\n<pre><code>systemctl restart sshd<\/code><\/pre>\n<p>This will disconnect you from the server temporarily. Wait for about a minute, then attempt to reconnect. At this point, the Plesk Migration Tool should work as expected.<\/p>\n<h3><strong>Step 5: Restart SSHD from the Recovery Console (If Needed)<\/strong><\/h3>\n<p>If you are unable to log back in after restarting SSH, manually restart the SSH service using the recovery console:<\/p>\n<ol start=\"1\" data-spread=\"false\">\n<li>Navigate to your VPS dashboard.<\/li>\n<li>Click the drop-down menu <strong>Server Actions<\/strong> and select <strong>Recovery Console<\/strong>.<\/li>\n<li>Log in as the root user when prompted.<\/li>\n<li>Use the Plesk admin password when asked.<\/li>\n<li>Restart the SSH service manually by running:\n<pre><code>systemctl restart sshd<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>This should resolve any connection issues and allow the Plesk Migration Tool to function correctly.<\/p>\n<p>With SSH access properly configured, you can efficiently manage your Plesk environment and carry out migrations smoothly. If you run into any issues, don\u2019t hesitate to contact our support team for assistance. You can reach out via your <a href=\"https:\/\/customer.heartinternet.uk\/manage\/login.cgi\">Customer Area<\/a>.<\/p>\n<footer>\n<div class=\"row visible-md visible-lg visible-xl social-bar\">\n<div class=\"col-lg-6 col-md-6 col-sm-6 col-xs-5\">\n<p>\n\t\t\t\t\tBy Eliot<br \/>in \t<a href=\"https:\/\/www.heartinternet.uk\/blog\/category\/misc\/\" rel=\"category tag\">Misc<\/a><br \/>on 11\/03\/2025\t\t\t\t<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p>\t\t<!--\n\t\t\n\n<div class=\"row visible-sm visible-xs bio-bar\">\n\n\t\t\t\n\n<div class=\"col-xs-12\">\n\t\t\t\t\n\n<div class=\"alignleft\"><\/div>\n\n\n\t\t\t\t\n\n<h5>By <a href=\"https:\/\/www.heartinternet.uk\/blog\/author\/\">Eliot<\/a><\/h5>\n\n\n\t\t\t\t\n\n\n\n\n\t\t\t<\/div>\n\n\n\n\t\t<\/div>\n\n\n\t\t--><br \/>\n\t<\/footer>\n<\/p><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Step 1: Create an SSH User for a Domain Before you can log in via SSH, ensure you have an SSH user set up for the domain. There are two ways to do this: Option 1: Enable SSH Access for a Specific Domain Log in to Plesk. Navigate to Websites &amp; Domains. Click on the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[95],"tags":[1846,16445,15927,16751,21000,12825],"dealstore":[],"offerexpiration":[],"class_list":["post-126144","post","type-post","status-publish","format-standard","hentry","category-internet-business","tag-access","tag-enable","tag-migration","tag-root","tag-ssh","tag-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Enable Root Access via SSH on Your VPS for Migration - Som2ny Network<\/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:\/\/fivemor.com\/?p=126144\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Enable Root Access via SSH on Your VPS for Migration - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"Step 1: Create an SSH User for a Domain Before you can log in via SSH, ensure you have an SSH user set up for the domain. There are two ways to do this: Option 1: Enable SSH Access for a Specific Domain Log in to Plesk. Navigate to Websites &amp; Domains. Click on the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=126144\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-11T11:14:02+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=126144#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=126144\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"How to Enable Root Access via SSH on Your VPS for Migration\",\"datePublished\":\"2025-03-11T11:14:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=126144\"},\"wordCount\":409,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"keywords\":[\"Access\",\"Enable\",\"migration\",\"Root\",\"SSH\",\"VPS\"],\"articleSection\":[\"Internet Business\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=126144#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=126144\",\"url\":\"https:\/\/fivemor.com\/?p=126144\",\"name\":\"How to Enable Root Access via SSH on Your VPS for Migration - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"datePublished\":\"2025-03-11T11:14:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=126144#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=126144\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=126144#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable Root Access via SSH on Your VPS for Migration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fivemor.com\/#website\",\"url\":\"https:\/\/fivemor.com\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fivemor.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fivemor.com\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/fivemor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/fivemor.com\"],\"url\":\"https:\/\/fivemor.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Enable Root Access via SSH on Your VPS for Migration - Som2ny Network","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:\/\/fivemor.com\/?p=126144","og_locale":"en_US","og_type":"article","og_title":"How to Enable Root Access via SSH on Your VPS for Migration - Som2ny Network","og_description":"Step 1: Create an SSH User for a Domain Before you can log in via SSH, ensure you have an SSH user set up for the domain. There are two ways to do this: Option 1: Enable SSH Access for a Specific Domain Log in to Plesk. Navigate to Websites &amp; Domains. Click on the [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=126144","og_site_name":"Som2ny Network","article_published_time":"2025-03-11T11:14:02+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=126144#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=126144"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"How to Enable Root Access via SSH on Your VPS for Migration","datePublished":"2025-03-11T11:14:02+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=126144"},"wordCount":409,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"keywords":["Access","Enable","migration","Root","SSH","VPS"],"articleSection":["Internet Business"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=126144#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=126144","url":"https:\/\/fivemor.com\/?p=126144","name":"How to Enable Root Access via SSH on Your VPS for Migration - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"datePublished":"2025-03-11T11:14:02+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=126144#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=126144"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=126144#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"How to Enable Root Access via SSH on Your VPS for Migration"}]},{"@type":"WebSite","@id":"https:\/\/fivemor.com\/#website","url":"https:\/\/fivemor.com\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fivemor.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fivemor.com\/#organization","name":"Som2ny Network","url":"https:\/\/fivemor.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/fivemor.com"],"url":"https:\/\/fivemor.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/126144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=126144"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/126144\/revisions"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=126144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=126144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=126144"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=126144"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=126144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}