Files
amnezia-client/client/configurators/ssh_configurator.h
T

23 lines
497 B
C++
Raw Normal View History

2021-06-12 11:59:36 +03:00
#ifndef SSH_CONFIGURATOR_H
#define SSH_CONFIGURATOR_H
#include <QObject>
#include <QProcessEnvironment>
2022-08-25 17:35:28 +03:00
#include "configurator_base.h"
2021-06-12 11:59:36 +03:00
#include "core/defs.h"
2022-08-25 17:35:28 +03:00
class SshConfigurator : ConfiguratorBase
2021-06-12 11:59:36 +03:00
{
2022-08-25 17:35:28 +03:00
Q_OBJECT
2021-06-12 11:59:36 +03:00
public:
SshConfigurator(std::shared_ptr<Settings> settings, QObject *parent = nullptr);
2022-08-25 17:35:28 +03:00
QProcessEnvironment prepareEnv();
QString convertOpenSShKey(const QString &key);
void openSshTerminal(const ServerCredentials &credentials);
2021-06-12 11:59:36 +03:00
};
#endif // SSH_CONFIGURATOR_H