Linux: Difference between revisions

Jump to navigation Jump to search
94 bytes added ,  24 April 2020
Line 343: Line 343:
! style="text-align: center;"| Description
! style="text-align: center;"| Description
! Command
! Command
! Distro
! Notes
|-
|-
| Create a SSH tunnel & connect via port 50010
| Create a SSH tunnel & connect via port 50010
| class="cli" | $ ssh -L 50010:10.101.1.10:22 mhan@64.106.170.61<br>$ ssh -p 50010 10.101.1.10
| class="cli" | $ ssh -L 50010:10.101.1.10:22 mhan@64.106.170.61<br>$ ssh -p 50010 127.0.0.1
| general
| The local machine's port 50010 is mapped to port 22 of 10.101.1.10 that is accessible from 64.106.170.61
|}
|}


Navigation menu