Re: ssh atraves de un proxy.
Hola Juan,
Vaya bronca te ha caído :)
Juan Guil wrote:
> En mi casita, tengo un servidor con el ssh abierto (debian.. por
> supuesto), el router tiene el puerto 22 abierto y esta todo bien
> hecho.
Tres sencillos pasos:
En casa:
- Supongamos que el proxy te deja salir sólo por el 80 y el 443. Abres
el puerto 443. Pones al ssh a escuchar en el 443:
~-root@aenima>grep Port /etc/ssh/sshd_config
Port 22
Port 443
En el curro:
- apt-get install corkscrew
- cat .ssh/config
host micasita.com
ProxyCommand ~/bin/corkscrew proxy.curro.es 8080 %h %p
Port 443
Luego ya te miras la redirección de puertos con ssh.
Un saludo y que lo disfrutes.
--
.''`. I may not have gone where I intended to go, but I think
: :' : I have ended up where I needed to be -- Douglas Adams
`. `' Proudly running unstable Debian GNU/Linux
`- www.amayita.com www.malapecora.com www.chicasduras.com
Reply to: