Qore Ssh2Connections Module Reference
1.2
|
abstract base class for ssh
module connections
More...
Public Member Methods | |
deprecated | constructor (string name, string desc, string url, bool monitor, *hash opts, hash urlh) |
DEPRECATED: creates the AbstractSsh2Connection object. More... | |
constructor (string name, string description, string url, hash attributes={}, hash options={}) | |
creates the AbstractSsh2Connection object More... | |
hash | getOptions () |
returns valid options More... | |
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 deprecated Ssh2Connections::AbstractSsh2Connection::constructor | ( | string | name, |
string | desc, | ||
string | url, | ||
bool | monitor, | ||
*hash | opts, | ||
hash | urlh | ||
) |
DEPRECATED: creates the AbstractSsh2Connection object.
name | the name of the connection |
desc | connection description |
url | connection URL |
monitor | monitoring flag |
opts | connection options |
urlh | broken down URL hash (as returned by Qore::parse_url()) |
Ssh2Connections::AbstractSsh2Connection::constructor | ( | string | name, |
string | description, | ||
string | url, | ||
hash | attributes = {} , |
||
hash | 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.
hash Ssh2Connections::AbstractSsh2Connection::getOptions | ( | ) |
returns valid options
"keyfile"