<commit_before>#!/bin/bash
source ~/.bash_functions 

tunnelcmd="ssh -f -N sshtunnel"
# ssh -R 22223:localhost:22 <EMAIL>

# http://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/
# ssh args: -f means go to background, -N means don't run a remote command
numtunnels=$( ps aux | grep -v grep | grep -c "$tunnelcmd" ) 
debugmsg "$numtunnels" tunnels 
if [ "$numtunnels" == "0" ]
then
	# start the tunnel
	debugmsg "starting ssh tunnel"
	$tunnelcmd
fi<commit_msg>remove specific host string and add stuff about ssh config file alias<commit_after>#!/bin/bash
source ~/.bash_functions 

# http://nerderati.com/2011/03/17/simplify-your-life-with-an-ssh-config-file/
# ssh args: -f means go to background, -N means don't run a remote command
# you need to have a host alias setup in ~/.ssh/config called sshtunnel
tunnelcmd="ssh -f -N sshtunnel"

numtunnels=$( ps aux | grep -v grep | grep -c "$tunnelcmd" ) 
debugmsg "$numtunnels" tunnels 
if [ "$numtunnels" == "0" ]
then
	# start the tunnel
	debugmsg "starting ssh tunnel"
	$tunnelcmd
fi
{'fraction_non_alphanumeric': 0.13377609108159394, 'fraction_numerical': 0.023719165085388995, 'mean_word_length': 4.023809523809524, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6924541', 'n_tokens_mistral': 423, 'n_tokens_neox': 374, 'n_words': 120}