Skip to content

Instantly share code, notes, and snippets.

@claudijd
Created December 15, 2016 18:12
Show Gist options
  • Save claudijd/dd8587ccc1f690c8749b2b2a7ff0ce3e to your computer and use it in GitHub Desktop.
Save claudijd/dd8587ccc1f690c8749b2b2a7ff0ce3e to your computer and use it in GitHub Desktop.
test
2.2.3 :003 > YAML.load_file('test.yml')
=> {"rules"=>{"openssh_2"=>{"and"=>{"ssh_lib"=>"openssh", "ssh_lib_version_gte"=>2.0, "ssh_lib_version_lt"=>3.0}}, "openssh_3"=>{"and"=>{"ssh_lib"=>"openssh", "ssh_lib_version_gte"=>3.0}}}, "defaults"=>{"auth_methods"=>["publickey"], "kex"=>["algo1", "algo2"]}, "openssh_2"=>{"auth_methods"=>["publickey"], "kex"=>["algo1", "algo2"], "encryption"=>["algo3"]}, "openssh_3"=>{"auth_methods"=>["publickey"], "kex"=>["algo1", "algo2"], "encryption"=>["algo4"]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment