Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the jetpack domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u540705931/domains/danielbenites.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u540705931/domains/danielbenites.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wpforms-lite domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u540705931/domains/danielbenites.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the breadcrumb-navxt domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u540705931/domains/danielbenites.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the advanced-ads domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u540705931/domains/danielbenites.com/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the post-views-counter domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u540705931/domains/danielbenites.com/public_html/wp-includes/functions.php on line 6114
Como activar SSH en un CT de Proxmox VE | Daniel Benites

 Como Activar el SSH en un CT Ubuntu

Anuncios

 

Resulta que por trabajo o diversion me veo en la tarea de crear CTS muchas veces, y siempre no se por que razon olvido que instalado, hay que activar el modo que permita entrar con el root, que viene desactivado por defecto.

Si usas Proxmox tanto como yo, sabras que usar un CT es una maravilla, y que puedes tener una maquina lista solo en segundos. Esto es algo que hay que agregarle a esos segundos.

Que es esto?

Una de las mejores cosas que puedes hacer, es crear tu entorno de Laboratorio o pruebas y comenzar a aprender a usar Proxmox, como base para usar sistemas de Hypervisores mas complejos, además que en el camino se aprende Linux, siempre va a ser un Win – Win.

A esto si lo unimos con un Docker, podemos en realidad crear o desarrollar maravillas en cuestión de minutos, en dos minutos podemos tener andando más de 4 servidores a la vez.

No nos metamos tanto en el apasionante mundo de proxmox por el momento hagamos lo que vinimos ha hacer.

Ubuntu 20.04 preparativos.

Comenzamos actualizando el sistema como siempre. Y debemos hacer algunos cambios para poder acceder remotamente al CT. Para ello vamos a editar el archivo de configuracion del sshd de la siguiente forma


					
				

Y en la linea que esta marcada con #PermitRootLogin vamos a quitar el # borrar el resto y poner yes. Luego nos toca reiniciar el servicio con el siguiente comando.


					
				

Con este cambio, ya podremos acceder vía terminal o SolarWind.

Ahora actualizamos el sistema. Recordemos que en el CT ya somos root, por lo que no existe la necesidad de usar Sudo.

Otra cosa que puede pasar es que el puerto este apagado.

Para activar SSH en un contenedor de Proxmox VE, sigue estos pasos:

Accede a la interfaz web de Proxmox VE e inicia sesión.

Selecciona el contenedor en el que deseas activar SSH y haz clic en «Console» en la barra de herramientas superior.

Inicia sesión en el contenedor como usuario root.

Edita el archivo /etc/ssh/sshd_config con tu editor de texto favorito. Por ejemplo, si prefieres el editor Nano, escribe: nano /etc/ssh/sshd_config


Anuncios