added processing of private ssh keys

This commit is contained in:
vladimir.kuznetsov 2023-08-02 20:37:43 +09:00
parent 925fd9f268
commit ebcca0c3b8
10 changed files with 137 additions and 8 deletions

View file

@ -39,6 +39,8 @@ public slots:
bool checkSshConnection();
void setEncryptedPassphrase(QString passphrase);
signals:
void installContainerFinished(QString finishMessage);
void installServerFinished(QString finishMessage);
@ -55,6 +57,9 @@ signals:
void serverAlreadyExists(int serverIndex);
void passphraseRequestStarted();
void passphraseRequestFinished();
private:
void installServer(DockerContainer container, QJsonObject &config);
void installContainer(DockerContainer container, QJsonObject &config);
@ -68,6 +73,8 @@ private:
bool m_shouldCreateServer;
QString m_privateKeyPassphrase;
#ifndef Q_OS_IOS
QList<QSharedPointer<QProcess>> m_sftpMountProcesses;
#endif