SSH connection problem

Поиск
Список
Период
Сортировка
Искать

SSH connection problem

От:
Marcin Krawczyk <jankes.mk@gmail.com>
Дата:
Hi, I'm trying to setup SSH connection in pgAdmin but i get this error:

Unable to extract public key from private key file: Wrong passphrase or invalid/unrecognized private file format

I'm running pgAdmin 1.22.1 (Feb 29 2016, rev: REL-1_22_1), windows 8.1
and authentication with private key file

The passphrase I provide is of course correct, the connection works in putty with this file. I generated it in puttygen.

Re: SSH connection problem

От:
Marcin Krawczyk <jankes.mk@gmail.com>
Дата:
No it's the private key. Exactly the same as with my putty configuration which works.


pt., 11.03.2016 o 14:23 użytkownik Wolfe, Andrew <awolfe@silversky.com> napisał:
Did you perhaps give pgAdmin the public key instead of the private key file?

> On Mar 11, 2016, at 06:46, Marcin Krawczyk <jankes.mk@gmail.com> wrote:
>
> Hi, I'm trying to setup SSH connection in pgAdmin but i get this error:
>
> Unable to extract public key from private key file: Wrong passphrase or invalid/unrecognized private file format
>
> I'm running pgAdmin 1.22.1 (Feb 29 2016, rev: REL-1_22_1), windows 8.1
> and authentication with private key file
>
> The passphrase I provide is of course correct, the connection works in putty with this file. I generated it in puttygen.
>


Please consider the environment before printing this email. This message should be regarded as confidential. If you have received this email in error, please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorized signatory. The contents of this email may relate to dealings with other companies under the control of BAE Systems Applied Intelligence Limited, details of which can be found at http://www.baesystems.com/Businesses/index.htm.

Re: SSH connection problem

От:
Dave Page <dpage@pgadmin.org>
Дата:
On Fri, Mar 11, 2016 at 1:27 PM, Marcin Krawczyk  wrote:
> No it's the private key. Exactly the same as with my putty configuration
> which works.

If memory serves, Putty uses keys that are in an unusual format.
pgAdmin needs standard SSH formatted keys - I believe one of the Putty
tools will convert for you.

> pt., 11.03.2016 o 14:23 użytkownik Wolfe, Andrew 
> napisał:
>>
>> Did you perhaps give pgAdmin the public key instead of the private key
>> file?
>>
>>
>> > On Mar 11, 2016, at 06:46, Marcin Krawczyk  wrote:
>> >
>> > Hi, I'm trying to setup SSH connection in pgAdmin but i get this error:
>> >
>> > Unable to extract public key from private key file: Wrong passphrase or
>> > invalid/unrecognized private file format
>> >
>> > I'm running pgAdmin 1.22.1 (Feb 29 2016, rev: REL-1_22_1), windows 8.1
>> > and authentication with private key file
>> >
>> > The passphrase I provide is of course correct, the connection works in
>> > putty with this file. I generated it in puttygen.
>> >
>>
>>
>> Please consider the environment before printing this email. This message
>> should be regarded as confidential. If you have received this email in
>> error, please notify the sender and destroy it immediately. Statements of
>> intent shall only become binding when confirmed in hard copy by an
>> authorized signatory. The contents of this email may relate to dealings with
>> other companies under the control of BAE Systems Applied Intelligence
>> Limited, details of which can be found at
>> http://www.baesystems.com/Businesses/index.htm.



-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Re: SSH connection problem

От:
Marcin Krawczyk <jankes.mk@gmail.com>
Дата:

Thank you, it works with open ssh format. I've converted with puttygen.

pt., 11 mar 2016, 15:30 użytkownik Dave Page <dpage@pgadmin.org> napisał:
On Fri, Mar 11, 2016 at 1:27 PM, Marcin Krawczyk <jankes.mk@gmail.com> wrote:
> No it's the private key. Exactly the same as with my putty configuration
> which works.

If memory serves, Putty uses keys that are in an unusual format.
pgAdmin needs standard SSH formatted keys - I believe one of the Putty
tools will convert for you.

> pt., 11.03.2016 o 14:23 użytkownik Wolfe, Andrew <awolfe@silversky.com>
> napisał:
>>
>> Did you perhaps give pgAdmin the public key instead of the private key
>> file?
>>
>>
>> > On Mar 11, 2016, at 06:46, Marcin Krawczyk <jankes.mk@gmail.com> wrote:
>> >
>> > Hi, I'm trying to setup SSH connection in pgAdmin but i get this error:
>> >
>> > Unable to extract public key from private key file: Wrong passphrase or
>> > invalid/unrecognized private file format
>> >
>> > I'm running pgAdmin 1.22.1 (Feb 29 2016, rev: REL-1_22_1), windows 8.1
>> > and authentication with private key file
>> >
>> > The passphrase I provide is of course correct, the connection works in
>> > putty with this file. I generated it in puttygen.
>> >
>>
>>
>> Please consider the environment before printing this email. This message
>> should be regarded as confidential. If you have received this email in
>> error, please notify the sender and destroy it immediately. Statements of
>> intent shall only become binding when confirmed in hard copy by an
>> authorized signatory. The contents of this email may relate to dealings with
>> other companies under the control of BAE Systems Applied Intelligence
>> Limited, details of which can be found at
>> http://www.baesystems.com/Businesses/index.htm.



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
FAQ