4,512
edits
Line 343: | Line 343: | ||
! style="text-align: center;"| Description | ! style="text-align: center;"| Description | ||
! Command | ! Command | ||
! | ! 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 | ||
| The local machine's port 50010 is mapped to port 22 of 10.101.1.10 that is accessible from 64.106.170.61 | |||
|} | |} | ||