Xamal.SSH.ConnectionPool (xamal v0.3.0)

Copy Markdown View Source

GenServer managing pooled SSH connections.

Keys connections by {hostname, port, user}. Idle connections are closed after the configured timeout (default 900s).

Summary

Functions

checkin(host, port, user)

checkout(host, port, user, connect_opts \\ [])

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

close_all()

start_link(opts \\ [])