<commit_before>require 'capistrano/consul/version'
require 'diplomat'
require 'net/ssh/gateway'

module Capistrano
  module Consul
    def self.setup
      return if @url
      @url = fetch(:consul_url)
      @token = fetch(:consul_token)
      return false unless @url
      @ssh_gateway = fetch(:consul_ssh_gateway)
      if @ssh_gateway
        @gateway = Net::SSH::Gateway.new(@ssh_gateway[:host], @ssh_gateway[:username], @ssh_gateway[:options] || {})
        @gateway.open('127.0.0.1', @ssh_gateway[:port], @ssh_gateway[:port])
      end
<commit_msg>ssh_option user added for consistency<commit_after>require 'capistrano/consul/version'
require 'diplomat'
require 'net/ssh/gateway'

module Capistrano
  module Consul
    def self.setup
      return if @url
      @url = fetch(:consul_url)
      @token = fetch(:consul_token)
      return false unless @url
      @ssh_gateway = fetch(:consul_ssh_gateway)
      if @ssh_gateway
        @gateway = Net::SSH::Gateway.new(@ssh_gateway[:host], @ssh_gateway[:username] || @ssh_gateway[:user], @ssh_gateway[:options] || {})
        @gateway.open('127.0.0.1', @ssh_gateway[:port], @ssh_gateway[:port])
      end

{'fraction_non_alphanumeric': 0.13977566867989646, 'fraction_numerical': 0.010353753235547885, 'mean_word_length': 3.8535564853556483, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6240376', 'n_tokens_mistral': 424, 'n_tokens_neox': 403, 'n_words': 75}