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