This client application can be used to simplify ssh tunnel creation from BATM server to your node. Application is listening on port 22222 and is waiting for BATM server connection. Using ssh tunnels is recomended when BATM server wants to communicate to bitcoind or similar node as it adds additional layer of encryption.
- Install Java 8 (used for compilation of client and running)
apt update
apt install openjdk-8-jdk-headless
- Clone this repository to download source code
git clone https://github.com/GENERALBYTESCOM/batm_public.git
- Compile application from sources
cd batm_public
./gradlew build
- Install service making sure it runs after start of the server
cd batm_ssh_tunnel
./batm_ssh_tunnel_install.sh