lib/ztk/ssh/private.rb
# Iterate the keys and proxy_keys, converting them as needed.
Iterate the keys and proxy_keys, converting them as needed.
Iterate the keys and proxy_keys converting them as needed .
def process_keys
        if (!config.keys.nil? && !config.keys.empty?)
          config.keys = [config.keys].flatten.compact.collect do |key|
            process_key(key)
          end
        end
        if (!config.proxy_keys.nil? && !config.proxy_keys.empty?)
          config.proxy_keys = [config.proxy_keys].flatten.compact.collect do |proxy_key|
            process_key(proxy_key)
          end
        end
      end
def process_keys if ( ! config . keys . nil? && ! config . keys . empty? ) config . keys = [ config . keys ] . flatten . compact . collect do | key | process_key ( key ) end end if ( ! config . proxy_keys . nil? && ! config . proxy_keys . empty? ) config . proxy_keys = [ config . proxy_keys ] . flatten . compact . collect do | proxy_key | process_key ( proxy_key ) end end end
Iterate the keys and proxy_keys, converting them as needed.
Iterate the keys and proxy_keys converting them as needed .