class Net::SSH::Verifiers::NoSaveStrict

This is similar to Net::SSH::Verifiers::Strict, but does not save the host key if it does not already exist in the known hosts file(s), making it ideal for repeat provisions of varied VMs that re-use IP addresses.

It still goes through normal verification for those keys that do exist in the known hosts files, however.

Public Instance Methods

verify(arguments) click to toggle source

Verify the connection. See NoSaveStrict.

Calls superclass method
# File lib/net/ssh/verifiers/no_save_strict.rb, line 26
def verify(arguments)
  super
rescue HostKeyUnknown
  return true
end