Re: SSH Tunneling implementation

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>, Guillaume Lelarge <guillaume(at)lelarge(dot)info>, Magnus Hagander <magnus(at)hagander(dot)net>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: SSH Tunneling implementation
Date: 2012-08-01 14:36:29
Message-ID: CANxoLDdcMOX4FgVOYEyX3dTKKW9_Xi__WpeHySXifQHjZ6F9QA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Fri, Jul 20, 2012 at 6:20 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> On Fri, Jul 20, 2012 at 9:45 AM, Akshay Joshi
> <akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
> >
> >> ld: symbol(s) not found for architecture i386
> >> collect2: ld returned 1 exit status
> >> make[3]: *** [pgadmin3] Error 1
> >> make[2]: *** [all] Error 2
> >> make[1]: *** [all-recursive] Error 1
> >> make: *** [all] Error 2
> >>
> >
> > Fixed. Attached is the new patch file.
>
> Hi
>
> It compiles OK now, but I'm seeing the same problem I did with the
> first version. The log shows:
>
> 2012-07-20 13:48:19 ERROR : SSH error: bind failed
> 2012-07-20 13:48:21 ERROR : Error connecting to the server:
>
> (note the lack of an actual error message on the second line).
>

I have added the appropriate error message using error codes to first
"SSH error: bind failed", for second actual error string is empty as we are
unable to create SSH Tunnel so error message for connection object is
empty. Attached is the modified patch.

I am also facing the bind failed problem on OSX. Will continue to work on
that. On Windows and Ubuntu it works fine.

>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

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

Attachment Content-Type Size
Complete_SSH_Tunnel_v2.patch application/octet-stream 996.2 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2012-08-02 11:05:01 Re: SSH Tunneling implementation
Previous Message Guillaume Lelarge 2012-07-31 20:46:15 pgAdmin III commit: Update polish translation