|
| int | verifyKnownhost (ssh_session session) |
| |
| int | authentication (ssh_session session, const QString szUser, const QString szPassword, const QString szPassphrase, const int nMethod=SSH_AUTH_METHOD_PASSWORD) |
| |
| int | authenticationPublicKey (ssh_session session, const QString szUser, const QString szPublicKeyFile, const QString szPrivateKeyFile, const QString szPassphrase) |
| |
| virtual int | OnOpen (ssh_session session) |
| |
| virtual void | OnClose () |
| |
|
| static void | cb_log (ssh_session session, int priority, const char *message, void *userdata) |
| |
|
|
void | sigConnected () |
| | emit when the channel is connected.
|
| |
|
void | sigDisconnected () |
| | emit when the channel is disconnected
|
| |
|
void | sigError (int nErr, const QString &szErr) |
| | emit when the channel is error
|
| |
| static int | InitTranslation () |
| | Initial translation
|
| |
| static int | RemoveTranslation () |
| | Remove translation
|
| |
| | CChannel (QObject *parent=nullptr) |
| |
| virtual qint64 | readData (char *data, qint64 maxlen) override |
| |
| virtual qint64 | writeData (const char *data, qint64 len) override |
| |
| virtual bool | isSequential () const override |
| |
◆ CChannelSSH()
| static SSH log CChannelSSH::CChannelSSH |
( |
CBackend * |
pBackend, |
|
|
CParameterSSH * |
pPara, |
|
|
bool |
bWakeUp = true, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~CChannelSSH()
| CChannelSSH::~CChannelSSH |
( |
| ) |
|
|
virtual |
◆ authentication()
| int CChannelSSH::authentication |
( |
ssh_session |
session, |
|
|
const QString |
szUser, |
|
|
const QString |
szPassword, |
|
|
const QString |
szPassphrase, |
|
|
const int |
nMethod = SSH_AUTH_METHOD_PASSWORD |
|
) |
| |
|
private |
◆ authenticationPublicKey()
| int CChannelSSH::authenticationPublicKey |
( |
ssh_session |
session, |
|
|
const QString |
szUser, |
|
|
const QString |
szPublicKeyFile, |
|
|
const QString |
szPrivateKeyFile, |
|
|
const QString |
szPassphrase |
|
) |
| |
|
private |
◆ cb_log()
| void CChannelSSH::cb_log |
( |
ssh_session |
session, |
|
|
int |
priority, |
|
|
const char * |
message, |
|
|
void * |
userdata |
|
) |
| |
|
staticprivate |
◆ close()
| void CChannelSSH::close |
( |
| ) |
|
|
overridevirtual |
◆ GetDetails()
| QString CChannelSSH::GetDetails |
( |
| ) |
|
|
overridevirtual |
◆ OnClose()
| void CChannelSSH::OnClose |
( |
| ) |
|
|
privatevirtual |
◆ OnOpen()
| int CChannelSSH::OnOpen |
( |
ssh_session |
session | ) |
|
|
privatevirtual |
◆ open()
| bool CChannelSSH::open |
( |
OpenMode |
mode | ) |
|
|
overridevirtual |
◆ verifyKnownhost()
| int CChannelSSH::verifyKnownhost |
( |
ssh_session |
session | ) |
|
|
private |
◆ WakeUp()
| int CChannelSSH::WakeUp |
( |
| ) |
|
|
virtual |
◆ m_Channel
| ssh_channel CChannelSSH::m_Channel |
|
protected |
◆ m_pBackend
◆ m_pcapFile
| ssh_pcap_file CChannelSSH::m_pcapFile |
|
private |
◆ m_pEvent
◆ m_pParameter
◆ m_Session
| ssh_session CChannelSSH::m_Session |
|
protected |
该类的文档由以下文件生成:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Src/SSH/ChannelSSH.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Src/SSH/ChannelSSH.cpp