Random parts of SSH that I often forget.
Local Port Forwarding
Forward remote port 8123
to local port 3000
:
ssh -L 3000:localhost:8123 user@remote
Testing Connection
Test SSH connection to a remote server:
ssh -T git@github.com
Random parts of SSH that I often forget.
Forward remote port 8123
to local port 3000
:
ssh -L 3000:localhost:8123 user@remote
Test SSH connection to a remote server:
ssh -T git@github.com