Changes

Jump to navigation Jump to search
75 bytes added ,  08:58, 5 April 2016
Line 31: Line 31:  
This is used for example to connect to a database on a server that has the database port closed but ssh port open.<br />
 
This is used for example to connect to a database on a server that has the database port closed but ssh port open.<br />
 
*ssh -N -L localport:remotehost:remoteport remoteuser@remotehost
 
*ssh -N -L localport:remotehost:remoteport remoteuser@remotehost
 +
*ssh ip_maq_intermedia -L puerto_local_kali:ip_destino_real:puerto_remoto
 
Example:
 
Example:
 
  ssh -i .ssh/MySshKey.pem -N -L 8888:localhost:3306 ubuntu@myserver.com
 
  ssh -i .ssh/MySshKey.pem -N -L 8888:localhost:3306 ubuntu@myserver.com

Navigation menu