![]() |
Qore ssh2 Module ..
|
abstract base class for ssh module connections
More...
#include <Ssh2Connections.qm.dox.h>
Public Member Methods | |
| void | constructor (string url, hash< auto > attributes, string name, string description, hash< auto > options) |
| creates the AbstractSsh2Connection object | |
| void | constructor (hash< auto > config, soft< hash< auto > > attr) |
| Creates the AbstractSsh2Connection object. | |
abstract base class for ssh module connections
supports the following option:
"keyfile": a path to a private key file in PEM format to use for key-based authentication | void Ssh2Connections::AbstractSsh2Connection::constructor | ( | hash< auto > | config, |
| soft< hash< auto > > | attr | ||
| ) |
Creates the AbstractSsh2Connection object.
| config | with the following keys:
|
| attr | optional connection attributes
|
| CONNECTION-OPTION-ERROR | missing or invalid connection option or attribute |
| void Ssh2Connections::AbstractSsh2Connection::constructor | ( | string | url, |
| hash< auto > | attributes, | ||
| string | name, | ||
| string | description, | ||
| hash< auto > | options | ||
| ) |
creates the AbstractSsh2Connection object
| name | the name of the connection |
| description | connection description |
| url | connection URL (potentially with password info) |
| attributes | various attributes. See below |
| options | connection options |
See AbstractConnection::constructor for attributes and options reference.