Fill these in once
- Open the tunnel
ssh -N -L 5433:localhost:5432 ubuntu@203.0.113.10Leave it running. Press Ctrl + C to close it.
Check it worked
- In a second terminal, check the tunnel is open
nc -vz localhost 5433Then point your app or database tool at localhost and that port.
- Open the tunnel
ssh -N -L 5433:localhost:5432 ubuntu@203.0.113.10Leave it running. Press Ctrl + C to close it.
Check it worked
- In a second terminal, check the tunnel is open
nc -vz localhost 5433Then point your app or database tool at localhost and that port.
- Open the tunnel
ssh -N -L 5433:localhost:5432 ubuntu@203.0.113.10Leave it running. Press Ctrl + C to close it.
Check it worked
- In a second window, check the tunnel is open
Test-NetConnection localhost -Port 5433Then point your app or database tool at localhost and that port.