![]() |
Qore ssh2 Module ..
|
abstract base class for ssh module connections
More...
#include <Ssh2Connections.qm.dox.h>
Public Member Methods | |
| constructor (string name, string description, string url, hash< auto > attributes={}, hash< auto > options={}) | |
| creates the AbstractSsh2Connection object | |
| constructor (hash< auto > config, *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 | Ssh2Connections::AbstractSsh2Connection::constructor | ( | hash< auto > | config, |
| *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 |
| Ssh2Connections::AbstractSsh2Connection::constructor | ( | string | name, |
| string | description, | ||
| string | url, | ||
| hash< auto > | attributes = {}, |
||
| 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.