I executed this command on the Brocade switch with management IP (10.1.1.101) to copy the firmware (spz10106.bin) from the SSH server (10.1.1.111)
SSH@TEST-SW1-7250#copy scp flash 10.1.1.111 spz10106.bin primary
Jan 8 17:57:13 linux_server sshd: fatal: Unable to negotiate with 10.1.1.101 port 7509: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 [preauth]
Since Brocade will take awhile to address this issue with a new firmware release, there are workarounds for this key exchange to be supported. This can be done by re-configuring the Linux SSH service.
Modify the SSH service config (/etc/ssh/sshd_config) and include this at the bottom of the config.
# ssh-keygen -A
# systemctl restart sshd
This workaround will allow the SSH service to accept this "weak" key exchange. However, if this is applied to production environments, it is recommended to ensure to secure (restrict) access to this service as well as the network device.
Hope this helps!