SSHTunnel man page

SSHTunnel

Synopsis

Inherits SSHConnection.

Public Member Functions

SSHTunnel (const std::string &sshHost, const std::string &remoteHost, const std::string &localPortFrom, const std::string &remotePortTo, const std::string &remotePortFrom, const std::string &localPortTo, const bool createTo=true, const bool createFrom=true, const std::string &sshPath='/usr/bin/ssh', const std::string &sshPort='22', const std::string &login=userLogin(), const std::string &keyPath=userKey())
SSHTunnel (const std::string &sshHost, const std::string &remoteHost, const std::string &localPortFrom, const std::string &remotePortTo, const bool createTo=true, const std::string &sshPath='/usr/bin/ssh', const std::string &serverPort='22', const std::string &login=userLogin(), const std::string &keyPath=userKey())
void open ()
void close ()
const std::string & getRemoteHost () const
int getLocalPortFrom () const
int getLocalPortTo () const
int getRemotePortFrom () const
int getRemotePortTo () const
void setRemoteHost (const std::string &host)
void setLocalPortFrom (const std::string &port)
void setLocalPortFrom (const int port)
void setRemotePortTo (const std::string &port)
void setRemotePortTo (const int port)
void setRemotePortFrom (const std::string &port)
void setRemotePortFrom (const int port)
void setLocalPortTo (const std::string &port)
void setLocalPortTo (const int port)
void setWaitingTime (const unsigned int time)
void createTunnelTo (const bool create)
void createTunnelFrom (const bool create)

Additional Inherited Members

Author

Generated automatically by Doxygen for LogService from the source code.

Info

Wed Aug 2 2017 LogService