Skip site navigation (1) Skip section navigation (2)

Re: SSH Tunneling implementation

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: SSH Tunneling implementation
Date: 2012-07-12 12:14:01
Message-ID: CABUevEzfbo7XuAgpmr7aXBmhrdHbRt1YQbe7z5aNjEZfnpU+oQ@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
On Thu, Jul 12, 2012 at 2:06 PM, Akshay Joshi
<akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
>
>
> On Thu, Jul 12, 2012 at 5:21 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>
>> On Thu, Jul 12, 2012 at 12:04 PM, Akshay Joshi
>> <akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
>> > Hi All
>> >
>> > I have tried a lot to figure out libssh2 is compiled with which crypto
>> > library, but unable to find it. Can someone guide/help me or do we
>> > continue
>> > with the public key option on UI?
>>
>> The libssh2 guys couldn't tell you how?
>
>
>     I'll post this on mailing list, but I have found one solution to the
> problem is checking the function "libssh2_md5" using AC_CHECK_LIB as below
>    AC_CHECK_LIB(ssh2, libssh2_md5, [IS_LIBSSH2_OPENSSL_CRYPTO=yes],
> [IS_LIBSSH2_OPENSSL_CRYPTO=no])
>
>    I have analyze libssh2 source code and found "libssh2_md5" is implemented
> only for openssl version not for the gcrypt. I have tested it with both
>    the version of libssh2.so.
>
>    Thoughts? Comments?

Is there a way to test the actual function that we want to call
instead? Will it fail right away, or does it actually require there to
be a server somewhere that we can connect to? (If it requires a server
we can't use that one in configure, but if it will fail right away,
that seems like a better way to test it.

-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

pgadmin-hackers by date

Next:From: Vinicius SantosDate: 2012-07-12 15:13:54
Subject: More information about the selected objects
Previous:From: Akshay JoshiDate: 2012-07-12 12:06:12
Subject: Re: SSH Tunneling implementation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group