Skip to content

Instantly share code, notes, and snippets.

View Johnstedt's full-sized avatar
:shipit:

John-John Markstedt Johnstedt

:shipit:
View GitHub Profile
@EnigmaCurry
EnigmaCurry / remote_bitcoind.sh
Created February 10, 2015 02:27
Bitcoin remote RPC client
#!/bin/bash
# Remote bitcoind RPC client through SSH tunnel
#
# If you have a remote bitcoind you'd like to query it's RPC interface
# from, this script will help you maintain the SSH tunnel to do so.
#
# Set REMOTE_HOST to the user@server your remote bitcoind is running on
# Set LOCAL_FORWARD_PORT to the port you want to run the tunnel on
# Set the RPC_PASSWORD to the rpc password bitcoind is set to use.