Known Hosts Controls and VIs

Owning Palette: Toolkit

Requires: LIBSSH2

Represents a libssh2lv shared library Known Hosts struct.

Class ItemDescription
Type DefinitionsGroups related files into a folder
UtilityGroups related files into a folder
CheckDetermines if a remote host is already known.
CreateCreates a new Known Hosts object that represents a libssh2lv shared library Known Hosts struct. This VI must be called, or executed, before using any other Known Hosts-related VIs. This VI allocates memory within the libssh2lv shared library that must be explicitly deallocated, or freed, at the end of the application using the Destroy VI to avoid memory leaks or running Out-of-Memory (OOM) on a resource contrained system. A Known Hosts object represents a linked list of entries in a known hosts file on the local host.
DestroyDeallocates, or frees, the memory allocated for the libssh2lv shared library Known Hosts struct represented by this Known Hosts object. After this is called, the object can no longer be used in the application without causing a segmentation fault, i.e. crashing LabVIEW. This VI must be called to avoid leaking memory or running Out-of-Memory (OOM) on resource-constrained systems.
FirstGets the first known host in an internal libssh2lv shared library linked list represented by this Known Hosts object.
NextGets the next known host in an internal libssh2lv shared library linked list represented by this Known Hosts object.
Read FileReads a local file containing known hosts saved line by line. By convention, this is a "known_hosts" file.
Write FileWrites the current list of known hosts to a local file.