Re: [pgAdmin4][Patch] Feature #1447 SSH Tunnel

Поиск
Список
Период
Сортировка
От Anthony Emengo
Тема Re: [pgAdmin4][Patch] Feature #1447 SSH Tunnel
Дата
Msg-id CAG8BBZOT8B6_e1igkos09dHPdG8Gk1ECoQjbV2WBxdBh50iqVw@mail.gmail.com
обсуждение исходный текст
Ответ на [pgAdmin4][Patch] Feature #1447 SSH Tunnel  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Ответы Re: [pgAdmin4][Patch] Feature #1447 SSH Tunnel  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hey Akshay 

This patch passed our test pipelines.

Anthony and Victoria

On Thu, Apr 19, 2018 at 1:48 AM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi Hackers 

I have implemented the SSH Tunnel support using https://pypi.org/project/sshtunnel/ python package. Added "SSH Tunnel" Tab in server dialog. This implementation supports user name /password and private/public key combination with Passphrase to crate SSH Tunnel. I have added regression test case to add server using SSH Tunnel options.

The given python package(https://pypi.org/project/sshtunnel/) support Python version 2.7, 3.4+.
It uses Paramiko (Python implementation of SSHv2 protocol) which actually drops support for Python 2.6. So I have added SUPPORT_SSH_TUNNEL parameter in config.py which checks the python version and set the flag accordingly. In case of Python 2.6, 3.0, 3.1, 3.2 and 3.3 control on the "SSH Tunnel" tab of server dialog will be disabled.

Please review it, and if looks good please commit the code.     

--
Akshay Joshi
Sr. Software Architect


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

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Fix python wheel dependencies.
Следующее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Fix an error in the Japanese translation thatcaused