Known Hosts Controls and VIs
Owning Palette: Toolkit
Requires: LIBSSH2
Represents a libssh2lv shared library Known Hosts struct.
Class Item | Description |
---|---|
Type Definitions | Groups related files into a folder |
Utility | Groups related files into a folder |
Check | Determines if a remote host is already known. |
Create | Creates 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. |
Destroy | Deallocates, 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. |
First | Gets the first known host in an internal libssh2lv shared library linked list represented by this Known Hosts object. |
Next | Gets the next known host in an internal libssh2lv shared library linked list represented by this Known Hosts object. |
Read File | Reads a local file containing known hosts saved line by line. By convention, this is a "known_hosts" file. |
Write File | Writes the current list of known hosts to a local file. |