Can't negotiate - no matching key

2 posts / 0 new
Last post
Anonymous
Can't negotiate - no matching key

Hi

Hope a newbie van get a little help with activating a kexalgorithm.

i have enabled this:

  bash-4.3$ ./ssh -Q kex
  diffie-hellman-group1-sha1
  diffie-hellman-group14-sha1
  diffie-hellman-group-exchange-sha1
  diffie-hellman-group-exchange-sha256
  ecdh-sha2-nistp256
  ecdh-sha2-nistp384
  ecdh-sha2-nistp521
 

I need to recive a file from a server running Java (JSCH-0.1.50), but the can't log on.

in the log i get:

  Connection from x.x.x.x port 50784 on y.y.y.y port 22
  debug1: Client protocol version 2.0; client software version JSCH-0.1.50
  debug1: no match: JSCH-0.1.50
  debug1: Enabling compatibility mode for protocol 2.0
  debug1: Local version string SSH-2.0-OpenSSH_7.1
  debug1: list_hostkey_types: ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
  debug1: SSH2_MSG_KEXINIT sent [preauth]
  debug1: SSH2_MSG_KEXINIT received [preauth]
  debug1: kex: client->server aes128-ctr hmac-sha1 zlib@openssh.com [preauth]
  debug1: kex: server->client aes128-ctr hmac-sha1 zlib@openssh.com [preauth] 
  Unable to negotiate with x.x.x.x: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1   [preauth]
  debug1: do_cleanup [preauth]
 
itefix
Offline
Last seen: 6 hours 11 min ago
Joined: 01.05.2008 - 21:33