aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/sshconnection.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2012-06-19 13:03:48 +0200
committerChristian Kandeler <christian.kandeler@nokia.com>2012-08-28 15:12:04 +0200
commitedcf76613b82d4b04ad9d0797515dc42d983eb68 (patch)
tree5229324612e8489ebe70e304641ea0781893dfdd /src/libs/ssh/sshconnection.h
parenta57b4cf93efcb3fe30623566115b29e925367f7f (diff)
SSH: Implement tunneling.
This is the "direct-tcpip" port forwarding specified in RFC 4254. Change-Id: I1ffa2e923b4479c7211b1b4304e66895b565fb64 Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Diffstat (limited to 'src/libs/ssh/sshconnection.h')
-rw-r--r--src/libs/ssh/sshconnection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/ssh/sshconnection.h b/src/libs/ssh/sshconnection.h
index 66263c3077..3c982b197e 100644
--- a/src/libs/ssh/sshconnection.h
+++ b/src/libs/ssh/sshconnection.h
@@ -43,6 +43,7 @@
namespace QSsh {
class SftpChannel;
+class SshDirectTcpIpTunnel;
class SshRemoteProcess;
namespace Internal {
@@ -103,6 +104,7 @@ public:
QSharedPointer<SshRemoteProcess> createRemoteProcess(const QByteArray &command);
QSharedPointer<SshRemoteProcess> createRemoteShell();
QSharedPointer<SftpChannel> createSftpChannel();
+ QSharedPointer<SshDirectTcpIpTunnel> createTunnel(quint16 remotePort);
// -1 if an error occurred, number of channels closed otherwise.
int closeAllChannels();