lib/bolt/transport/ssh/connection.rb
# Add all default algorithms if the 'defaults' key is present and filter
# out any unsupported algorithms.
Add all default algorithms if the 'defaults' key is present and filter
out any unsupported algorithms.
Add all default algorithms if the ' defaults ' key is present and filter out any unsupported algorithms .
def net_ssh_algorithms(type, algorithms)
          if algorithms.include?('defaults')
            defaults = Net::SSH::Transport::Algorithms::DEFAULT_ALGORITHMS[type]
            algorithms += defaults
          end
          known = Net::SSH::Transport::Algorithms::ALGORITHMS[type]
          algorithms & known
        end
def net_ssh_algorithms ( type , algorithms ) if algorithms . include? ( 'defaults' ) defaults = Net :: SSH :: Transport :: Algorithms :: DEFAULT_ALGORITHMS [ type ] algorithms += defaults end known = Net :: SSH :: Transport :: Algorithms :: ALGORITHMS [ type ] algorithms & known end
Add all default algorithms if the 'defaults' key is present and filter
out any unsupported algorithms.
Add all default algorithms if the ' defaults ' key is present and filter out any unsupported algorithms .
type
<not_specific>
algorithms
<not_specific>