aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/sshconnection.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-03-31 18:57:03 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-05-23 07:44:06 +0000
commit6b4963b5499269062e2cffe9e70df4f022c5bf8c (patch)
tree843803dfdfb23b2b238b515cd54cff5c52740053 /src/libs/ssh/sshconnection.h
parente05fbf153d98a34ddda63b12402c15642994acdc (diff)
Ssh: Implement tcp/ip forward tunneling
Change-Id: I529b3392ea7e4cbae2c736c9f55352ef6b19da98 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/libs/ssh/sshconnection.h')
-rw-r--r--src/libs/ssh/sshconnection.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libs/ssh/sshconnection.h b/src/libs/ssh/sshconnection.h
index 136c91c199..071c97c0c7 100644
--- a/src/libs/ssh/sshconnection.h
+++ b/src/libs/ssh/sshconnection.h
@@ -41,6 +41,7 @@ namespace QSsh {
class SftpChannel;
class SshDirectTcpIpTunnel;
class SshRemoteProcess;
+class SshTcpIpForwardServer;
namespace Internal { class SshConnectionPrivate; }
@@ -121,8 +122,10 @@ public:
QSharedPointer<SshRemoteProcess> createRemoteProcess(const QByteArray &command);
QSharedPointer<SshRemoteProcess> createRemoteShell();
QSharedPointer<SftpChannel> createSftpChannel();
- QSharedPointer<SshDirectTcpIpTunnel> createTunnel(const QString &originatingHost,
+ QSharedPointer<SshDirectTcpIpTunnel> createDirectTunnel(const QString &originatingHost,
quint16 originatingPort, const QString &remoteHost, quint16 remotePort);
+ QSharedPointer<SshTcpIpForwardServer> createForwardServer(const QString &remoteHost,
+ quint16 remotePort);
// -1 if an error occurred, number of channels closed otherwise.
int closeAllChannels();