Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

forward port with ssh

sudo nano /etc/ssh/sshd_config
Change "GatewayPorts yes"
ssh -R 80:127.0.0.1:80 root@203.0.113.1
Comment

ssh port forwarding

# forwards trafic from 127.0.0.1:8888 to intra.example.com:80 trhough gw.example.com
ssh -L 127.0.0.1:8888:intra.example.com:80 gw.example.com
Comment

PREVIOUS NEXT
Code Example
Shell :: how to push force git 
Shell :: install latest angular cli 
Shell :: compress directory with tar and bzip2 
Shell :: bash size file 
Shell :: check network card name linux 
Shell :: linux mount nfs share 
Shell :: ubuntu list disks 
Shell :: install cloudinary storage command 
Shell :: git go to previous branch 
Shell :: remove all local branches not on remote 
Shell :: how to start mongodb in linux 
Shell :: @react-navigation/stack install npm 
Shell :: linux group 
Shell :: refresh prometheus configuration 
Shell :: linux check package manager 
Shell :: find tomcat location in mac 
Shell :: git files change from commit 
Shell :: install gnome-clocks ubuntu 
Shell :: how to setup wordpress in docker 
Shell :: enable ssh ubuntu 
Shell :: powershell get value from registry key 
Shell :: scale deployment 
Shell :: Install Ubuntu WSL without Windows Store 
Shell :: how to install mongoose globally 
Shell :: Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user. 
Shell :: warning: LF will be replaced by CRLF 
Shell :: bash how to run remote command 
Shell :: generate certificate ssl 
Shell :: mongodb install ubuntu 20.04 
Shell :: install aws cli version 2 on mac 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =