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
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: client->server aes128-ctr hmac-sha1 zlib@openssh.com
debug1: kex: server->client aes128-ctr hmac-sha1 zlib@openssh.com
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
debug1: do_cleanup
Did you follow our instructions at https://www.itefix.net/content/connection-fails-fatal-unable-negotiate-k... ?