This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |