SSH Tunneling implementation - Mailing list pgadmin-hackers

From Akshay Joshi
Subject SSH Tunneling implementation
Date
Msg-id CANxoLDemnw1bhfeDsW=cHqcaDkSNj-cfop7gDzQ-3RA2ONc_WA@mail.gmail.com
Whole thread Raw
Responses Re: SSH Tunneling implementation
Re: SSH Tunneling implementation
List pgadmin-hackers
Hi All

I have implemented SSH tunneling using libssh2 library and added the logic into pgAdmin3. With current implementation SSH tunnel will be created using password as authentication mode. I'll work on the certificate based authentication. I have attached two patch files 1) SSHTunnel.patch 2) vcxproj.patch (Only for Windows).

Below are the steps to build pgadmin
On Windows:- 
  • Compile libssh2 library on Windows
    • "libssh2.dsw" file is available in win32 folder.
    • Specify path of the OpenSSL's include folder in "Properties->C++->General->Additional Include Directories"
    • Specify path of the OpenSSL and Zlib's lib folder in "Properties->Linker->General->Additional Library Directories"
  • Create new environment variable LIBSSH2 and set the path of the libssh2 folder.
  • Compile pgAdmin3.  
On Linux:- 
  • To compile libssh2 run ./configure, make and make install.
  • Compile pgAdmin3.
Please review the patch and let me know the review comments.

--
Akshay Joshi
Senior Software Engineer 
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Phone: +91 20-3058-9522
Mobile: +91 976-788-8246

Attachment

pgadmin-hackers by date:

Previous
From: "pgAdmin Trac"
Date:
Subject: [pgAdmin III] #368: Add a replication report to the server status
Next
From: Guillaume Lelarge
Date:
Subject: Re: SSH Tunneling implementation