{"id":721,"date":"2011-01-26T16:50:04","date_gmt":"2011-01-26T15:50:04","guid":{"rendered":"http:\/\/blog.unelink.es\/?p=721"},"modified":"2019-10-25T14:36:52","modified_gmt":"2019-10-25T12:36:52","slug":"migracion-desde-plesk-de-un-servidor-que-no-tiene-acceso-root-por-ssh","status":"publish","type":"post","link":"https:\/\/hosting.airetech.es\/blog\/wiki\/migracion-desde-plesk-de-un-servidor-que-no-tiene-acceso-root-por-ssh\/","title":{"rendered":"Migraci\u00f3n desde PLESK de un servidor que no tiene acceso root por ssh"},"content":{"rendered":"<p>Cuando desde nuestro panel de control <strong>Plesk<\/strong> queremos usar el <strong>Plesk Migration Manager<\/strong> ( PMM ) debemos asegurarnos que el servidor origen de los datos tiene el acceso v\u00eda SSH del usuario root accesible. Esto se debe a que el PMM necesita un usuario con privilegios suficientes en el sistema origen remoto para poder realizar acciones necesarias para la migraci\u00f3n.<\/p>\n<p>Escenario:<\/p>\n<p>Intentamos una migraci\u00f3n desde un servidor Ubuntu 9 con panel de control 9.2.2.<\/p>\n<p>Este sistema no permit\u00eda el acceso v\u00eda SSH del usuario root.<\/p>\n<p>Soluci\u00f3n<\/p>\n<p>1. Editamos el fichero de configuraci\u00f3n ssh:<\/p>\n<pre>\/etc\/ssh\/sshd_config<\/pre>\n<p>Asegurandonos que la siguiente linea este incluida:<\/p>\n<pre># Authentication:\r\nPermitRootLogin yes<\/pre>\n<p>Grabamos los cambios y salimos de la edici\u00f3n.<\/p>\n<p>2. Paramos el servicio SSH:<\/p>\n<pre>\/etc\/init.d\/ssh stop<\/pre>\n<p>Esto debemos hacerlo debido a que muchos servicios ssh no tienen en cuenta el fichero de configuraci\u00f3n y lo que queremos es iniciar el servicio de ssh con este fichero ( \/etc\/ssh\/sshd_config )<\/p>\n<p>3. Iniciamos el servicio SSH:<\/p>\n<pre>\/usr\/sbin\/sshd -f \/etc\/ssh\/sshd_config<\/pre>\n<p>Con estos sencillos pasos ya se puede iniciar el Plesk Migration Manager, el cual debemos ponerle preferentemente la IP en lugar del nombre del Host y como usuario de acceso root.<\/p>\n","protected":false},"excerpt":{"rendered":"Cuando desde nuestro panel de control Plesk queremos usar el Plesk Migration Manager ( PMM ) debemos asegurarnos que el servidor origen de los datos tiene el acceso v\u00eda SSH del usuario root accesible. Esto se debe a que el PMM necesita un usuario con privilegios suficientes en el sistema origen remoto para poder realizar acciones necesarias para la migraci\u00f3n.&nbsp;<a href=\"https:\/\/hosting.airetech.es\/blog\/wiki\/migracion-desde-plesk-de-un-servidor-que-no-tiene-acceso-root-por-ssh\/\" class=\"read-more\">Seguir leyendo<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,31,464,349,6],"tags":[],"class_list":["post-721","post","type-post","status-publish","format-standard","hentry","category-linux","category-paneles-plesk","category-sistema-paneles-plesk","category-ssh","category-wiki","cat-10-id","cat-31-id","cat-464-id","cat-349-id","cat-6-id"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/comments?post=721"}],"version-history":[{"count":8,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/721\/revisions"}],"predecessor-version":[{"id":8387,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/721\/revisions\/8387"}],"wp:attachment":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/media?parent=721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/categories?post=721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/tags?post=721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}