Qore ssh2 Module  ..
Ssh2Connections::AbstractSsh2Connection Class Reference

abstract base class for ssh module connections More...

Inheritance diagram for Ssh2Connections::AbstractSsh2Connection:
Ssh2Connections::SftpConnection Ssh2Connections::Ssh2ClientConnection

Public Member Methods

 constructor (string name, string description, string url, hash< auto > attributes={}, hash< auto > options={})
 creates the AbstractSsh2Connection object More...
 

Detailed Description

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

Member Function Documentation

◆ constructor()

Ssh2Connections::AbstractSsh2Connection::constructor ( string  name,
string  description,
string  url,
hash< auto >  attributes = {},
hash< auto >  options = {} 
)

creates the AbstractSsh2Connection object

Parameters
namethe name of the connection
descriptionconnection description
urlconnection URL (potentially with password info)
attributesvarious attributes. See below
optionsconnection options

See AbstractConnection::constructor() for attributes and options reference.


The documentation for this class was generated from the following file: