Belt v0.5.1 Belt.Provider.SFTP.ClientKeyBehaviour View Source

Implements the :ssh_client_key_api behaviour for Belt.Provider.SFTP

Link to this section Summary

Functions

Dynamically adding host keys is not supported

Creates a new :public_key.private_key record by calling openssl

Verifies host keys if enabled through verify_host_key in key_cb_private

Processes and returns user_key if provided in key_cb_private

Link to this section Functions

Link to this function add_host_key(host_names, key, connect_options) View Source

Dynamically adding host keys is not supported

Creates a new :public_key.private_key record by calling openssl.

Link to this function is_host_key(key, host, algorithm, connect_options) View Source

Verifies host keys if enabled through verify_host_key in key_cb_private.

Otherwise accepts all keys

Link to this function user_key(algorithm, connect_options) View Source

Processes and returns user_key if provided in key_cb_private.

Otherwise generates one-time private key.