class SSH2::KnownHosts

Included Modules

Defined in:

known_hosts.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(session : Session) #

[View source]

Instance Method Detail

def add(host, salt, key, comment, typemask : LibSSH2::TypeMask) #

[View source]
def check(host, port, key, typemask : LibSSH2::TypeMask) #

[View source]
def delete_if(&) #

[View source]
def each(&) #
Description copied from module Enumerable(SSH2::KnownHosts::Host)

Must yield this collection's elements to the block.


[View source]
def finalize #

[View source]
def read_file(filename) #

[View source]
def read_line(line) #

[View source]
def to_unsafe : Pointer(Void) #

[View source]
def write_file(filename) #

[View source]