forked from qt-creator/qt-creator
SSH: Use OpenSSH tools
... instead of our own SSH library.
Advantages:
- Full compatibility with OpenSSH behavior guaranteed.
- Minimal maintenance effort.
- Less code to build.
- Big chunk of 3rd party sources can be removed from our repository.
One the downside, Windows users now need to install OpenSSH for
RemoteLinux support. Hoewever, people doing embedded development
probably have it installed anyway.
[ChangeLog] Switched SSH backend to OpenSSH
Fixes: QTCREATORBUG-15744
Fixes: QTCREATORBUG-15807
Fixes: QTCREATORBUG-19306
Fixes: QTCREATORBUG-20210
Change-Id: Ifcfefdd39401e45ba1f4aca35d2c5bf7046c7aab
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <ssh/sshremoteprocess.h>
|
||||
#include <ssh/sftpchannel.h>
|
||||
#include <ssh/sshconnection.h>
|
||||
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
@@ -91,8 +90,8 @@ private:
|
||||
// remote callgrind support
|
||||
QSsh::SshConnection *m_ssh = nullptr;
|
||||
QString m_tempDataFile;
|
||||
QSsh::SshRemoteProcess::Ptr m_findRemoteFile;
|
||||
QSsh::SftpChannel::Ptr m_sftp;
|
||||
QSsh::SshRemoteProcessPtr m_findRemoteFile;
|
||||
QSsh::SftpSessionPtr m_sftp;
|
||||
QSsh::SftpJobId m_downloadJob = 0;
|
||||
QByteArray m_remoteFile;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user