Eu preciso conectar ao banco de dados via Navicat (software de gerenciamento de banco de dados). Existe uma conexão com o tunelamento ssh no meu Debian 9 (com o MySQL)
Eu usei o Debian 7 antes e esses algoritmos kex funcionaram corretamente toda vez:
KexAlgorithms diffie-hellman-group-exchange-sha256,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1
KexAlgorithms ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256
KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
Agora, quando estou na Deb 9, aparece um problema na conexão do Navicat. Eu estou usando putty também e está funcionando bem.
Minha pergunta é como obter uma lista correta de algoritmos?
Eu habilitei a depuração do sshd e isso está mostrando os logs:
[..]
Mar 22 13:33:09 stock sshd[28441]: debug2: languages ctos: [preauth]
Mar 22 13:33:09 stock sshd[28441]: debug2: languages stoc: [preauth]
Mar 22 13:33:09 stock sshd[28441]: debug2: first_kex_follows 0 [preauth]
Mar 22 13:33:09 stock sshd[28441]: debug2: reserved 0 [preauth]
Mar 22 13:33:09 stock sshd[28441]: debug1: kex: algorithm: diffie-hellman-group-exchange-sha256 [preauth]
Mar 22 13:33:09 stock sshd[28441]: debug1: kex: host key algorithm: ssh-rsa [preauth]
Mar 22 13:33:09 stock sshd[28441]: debug1: kex: client->server cipher: aes256-ctr MAC: hmac-sha1 compression: none [preauth]
Mar 22 13:33:09 stock sshd[28441]: debug1: kex: server->client cipher: aes256-ctr MAC: hmac-sha1 compression: none [preauth]
Mar 22 13:33:09 stock sshd[28441]: debug1: expecting SSH2_MSG_KEX_DH_GEX_REQUEST [preauth]
Mar 22 13:33:09 stock sshd[28441]: error: kex protocol error: type 30 seq 1 [preauth]
Mar 22 13:33:09 stock sshd[28441]: Connection closed by xxx port xxx [preauth]