[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh local to OpenVZ VM host



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Lista, tengo un problema al tratar de conectar via ssh a un servidor
> proxmox, la vm esta virtualizada en OpenVZ
> 
>  intento numero 1:
> ssh root@192.168.1.139 <mailto:root@192.168.1.139>
> ssh_exchange_identification: Connection closed by remote host
> 
> intento numero 2:
> Permission denied (publickey,keyboard-interactive).
> 
> inteno numero 3:
> ssh root@192.168.1.139 <mailto:root@192.168.1.139>
> ssh_exchange_identification: Connection closed by remote host
> 
> En el log de la vm muestra lo siguiente:
> 
> sshd[1516]: Server listening on:: port 22
> sshd[1516]: Server listening on 0.0.0.0 port 22
> sshd[1516]: Error: reexec socketpair: Cannot allocate memory
> sshd[1527]: error writing /proc/self/oom_adj: Operation not permited
> sshd[1527]: error: PAM: failed create sockets: Cannot allocate memory
> sshd[1516]: Error: reexec socketpair: Cannot allocate memory
> 
> Lo raro es que aveces te deja entrar sin problemas y otras no, no lo
> entiendo.
> 
> Muchas gracias!
> Saludos

Buenas...

	Si se te da bien el ingles la lista de proxmox es muy buena. Marc esta
por ahi creo :D ....

	Me parece que todo depende de como tengas el tipo de conexion en el
servidor, si por nat, el venet , etc. Yo tengo 3 servidores en openvz y
con la red puesta manualmente en ellos. De esta forma no tengo problemas.

######## Mi red #########
	vmbr0	yes	eth0		192.168.120.52	255.255.255.0	192.168.120.8
	vmbr1	yes	eth1		192.168.120.60	255.255.255.0	192.168.120.216
########################

Se que esta mal hecho, pero me vale XD. No reconoce la ip, porque toque
manualmente el archivo interfaces

###### Extraido via web sobre una maquina #####
Estado:	running	
ReiniciarApagarDetenerRemove
Nombre de Host:	VMwiki57.cosmantenimiento.com	Tiempo de actividad: 1 dia
06:38:48
Dirección IP:	desconocido	Open VNC console
###########

############## Aqui mi intefaces ###########
proxmox:~# cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
	address  192.168.120.52
	netmask  255.255.255.0
	gateway  192.168.120.8
	bridge_ports eth0
	bridge_stp off
	bridge_fd 0

auto vmbr1
iface vmbr1 inet static
	address  192.168.120.60
	netmask  255.255.255.0
	gateway  192.168.120.216
	bridge_ports eth1
	bridge_stp off
	bridge_fd 0

#############

Siento no poder ayudarte mas... a ver si con esto te da alguna pista.

Un saludo




- -- 
"Si los tontos volaran, el cielo se oscurecería"

No me envié correos en formatos propietarios
http://www.gnu.org/philosophy/no-word-attachments.es.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJM4rBlAAoJEOWNzQnqy+fz4VoH/AkLuTXsVkztNQigMi0J20pC
H/k+5nNLc49ThvGbhbf7yWlcYsk7x4YT2jKAlwpQw3x0J4y9lBjxCrLFu5I9Gj9I
1V1XG+vvyFg16C6Vt3dxW5qybN6QosrQFwR5hca8hkzHqA9xojjHUpFW3k3d5kSJ
20Hyt1yCRd+xeegJm/zHzAlWjMjTDO+yrgTEbY5BI3yfCBqPfUakZPgxLg5x6U8F
Y1dB4w+To79+10vMoNiZOxURW1qZzLgf+2pywvgDucsXS/1OkS35tR1Kj98DbD5M
QZMM8yIuuP5SB5649dNdqIUo91QZjHMxlUQhujrZ7nyhOQ62BQhURuKXvrfip9I=
=QOdS
-----END PGP SIGNATURE-----


Reply to: