Re: [pgadmin-support] Support for non standard SSH port

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Alex Grechko <alex(dot)grechko(at)rambler(dot)ru>, Pgadmin Support <pgadmin-support(at)postgresql(dot)org>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin-support] Support for non standard SSH port
Date: 2013-11-18 11:06:24
Message-ID: CANxoLDcY7OziCi_3+t_hoo9j_rnJMhwkm4vD5-WYoiRzVbBOGA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Hi Dave

I have added support for non standard remote SSH port. I have added one
control to take input for "Default SSH port" from the user in SSH Tunnel
tab, by default it is 22, but user can modify it.

Attached is the patch file, can you please review it. If it looks good to
you can you please commit it.

On Fri, Nov 15, 2013 at 2:29 PM, Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com
> wrote:

>
>
>
> On Fri, Nov 15, 2013 at 6:38 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>> On Thu, Nov 14, 2013 at 10:06 PM, Alex Grechko <alex(dot)grechko(at)rambler(dot)ru>
>> wrote:
>> > Hello,
>> >
>> > It's very often that a default SSH port is changed to a non standard
>> value.
>> > In that case native SSH tunnels in pgAdmin are absolutely useless and
>> so we
>> > have to use old inconvenient methods for SSH tunnels.
>> >
>> >
>> > Would it be possible to add support for non standart remote SSH port?
>>
>> I thought we had that - guess I must have overlooked it when
>> reviewing. Akshay, how much effort would it be to add? I assume not
>> much. This seems like a usability bug.
>>
>
> I am working on it. We will take the default SSH port as input from the
> user in "SSH Tunnel" tab of New Server Registration dialog. It will
> take couple of hours to do that.
>
>>
>> --
>> Dave Page
>> Blog: http://pgsnake.blogspot.com
>> Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>>
>
>
>
> --
> *Akshay Joshi*
> *Principal Software Engineer *
>
>
>
> *Phone: +91 20-3058-9517 Mobile: +91 976-788-8246*
>

--
*Akshay Joshi*
*Principal Software Engineer *

*Phone: +91 20-3058-9517Mobile: +91 976-788-8246*

Attachment Content-Type Size
SSHTunnel_Non_Default_Port.patch text/x-patch 12.6 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2013-11-18 11:54:13 Re: Support for non standard SSH port
Previous Message Dinesh Kumar 2013-11-18 08:40:24 Re: Patch for EDB binary path not set by default.

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2013-11-18 11:54:13 Re: Support for non standard SSH port
Previous Message Sandeep Thakkar 2013-11-18 05:07:07 Re: How to install pgagent on linux?