-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Jun 09, 2018 at 03:23:06PM +0300, Georgi Naplatanov wrote: > Hi, > > I'm using Debian Stretch and I'm trying to connect to PostgreSQL server > (Debian 9) with PgAdmin (Debian 9) through SSH tunnel. > > PgAdmin has built-in SSH support but when I try to connect to remote > PostgreSQL server I get this error in PgAdmin: > > Error: SSH error: Error when starting up SSH session with error code -8 > [Unable to exchange encryption keys] > > I use key pair for OpenSSH authentication.
You could try to ssh into it with -v (or even -vvv) to increase the client's verbosity (or perhaps there's a corresponding option in PgAdmin's client). That might give you more insight into what's going on. Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlsc1OEACgkQBcgs9XrR2kYS4ACdEJXMpUtrCxMOXhkrQE9+hYIp dREAn3c/Gr6NQCo75vCilLSDN32Pg119 =h8DB -----END PGP SIGNATURE-----