Skip to content

Instantly share code, notes, and snippets.

@a-r-d
a-r-d / ssh-tunnel.sh
Last active January 29, 2018 11:07
how to open a remote tunnel for cassandra
# cassandra runs on 9042 for devCenter management
# expose it (9999 locally) running on a remote server locally:
ssh -L 9999:localhost:9042 -f -N remoteuser@remotehost