lib/ztk/ssh/private.rb
# Builds our SSH gateway options hash.
Builds our SSH gateway options hash.
Builds our SSH gateway options hash .
def gateway_options
        process_keys
        options = base_options
        config.proxy_port.nil? or     options.merge!(:port => config.proxy_port)
        config.proxy_password.nil? or options.merge!(:password => config.proxy_password)
        config.proxy_keys.nil? or     options.merge!(:keys => config.proxy_keys)
        config.ui.logger.debug { "gateway_options(#{options.inspect})" }
        options
      end
def gateway_options process_keys options = base_options config . proxy_port . nil? or options . merge! ( :port => config . proxy_port ) config . proxy_password . nil? or options . merge! ( :password => config . proxy_password ) config . proxy_keys . nil? or options . merge! ( :keys => config . proxy_keys ) config . ui . logger . debug { "gateway_options(#{options.inspect})" } options end
Builds our SSH gateway options hash.
Builds our SSH gateway options hash .