August 5th, 2013

This guide leans heavily on the work of — what I’ve done is collect his work into something a little more manageable for our environment.


This guide assumes a few things are set up:

  1. That you’ve got ssh keys pushed around to do passwordless logins between your machine and your intermediate client machine
  2. That you’ve got cassandra up and running remotely
  3. That cassandra is listening on 8080 for it’s JMX service port

The Meat

This hunk of bash script is the meat of making this work.  Put the following in your .bashrc.  Make sure to edit proxy_host= to match your environment.

Then, either close your shell, or source your .bashrc.  Then you should be able simply to call your function like so:

Jconsole will pop up, and log you in.


Originally available at