Hoy usaremos el corkscrew para poder hacer ssh cuando estamos en un proxy, que tenemos que hacer, debemos instalar corkscrew


]# yum search corkscrew
Loaded plugins: langpacks, refresh-packagekit
============================================================================================= N/S matched: corkscrew ==============================================================================================
corkscrew.x86_64 : Tool for tunneling SSH through HTTP proxies

# yum install corkscrew.x86_64

ahora editamos nuestro archivo .ssh/config y agregamos lo siguiene:

$ cat .ssh/config
Host cagadaga.com b3mp.com
	ProxyCommand 	/usr/bin/corkscrew ip puerto %h %p
	ServerAliveInterval 10

y listo ya pdemos hacer ssh a los host que definamos!

Leave a comment

Your email address will not be published. Required fields are marked *