moore_it Well-Known Member Licensed User Longtime User Mar 12, 2024 #1 Hi, i've an app that download a file from a SFTP server. If i try in debug mode the download work fine. if i create a package standalone (.exe) the download not start because the server SFTP is not found. It's very strange have any suggestions. Thanks Found this error: net.schmizz.sshj.transport.TransportException: Unable to reach a settlement: [diffie-hellman-group1-sha1, diffie-hellman-group-exchange-sha1] and [[email protected], ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256] Last edited: Mar 12, 2024
Hi, i've an app that download a file from a SFTP server. If i try in debug mode the download work fine. if i create a package standalone (.exe) the download not start because the server SFTP is not found. It's very strange have any suggestions. Thanks Found this error: net.schmizz.sshj.transport.TransportException: Unable to reach a settlement: [diffie-hellman-group1-sha1, diffie-hellman-group-exchange-sha1] and [[email protected], ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256]
A ajk Active Member Licensed User Longtime User Aug 27, 2024 #2 old openSSH ... possible fix in centos stream: add /etc/ssh/sshd_config in sshd_config add KexAlgorithms +diffie-hellman-group1-sha1 Ciphers +aes128-cbc regenerate keys: ssh-keygen -A restart ssh: service ssh restart Last edited: Sep 3, 2024 Upvote 0
old openSSH ... possible fix in centos stream: add /etc/ssh/sshd_config in sshd_config add KexAlgorithms +diffie-hellman-group1-sha1 Ciphers +aes128-cbc regenerate keys: ssh-keygen -A restart ssh: service ssh restart