sshfs-win-manager
sshfs-win-manager copied to clipboard
port 22: no matching key exchange method found.
Hello, when I try to connect to server I get this error: "no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1"
conn: {b5fd3365-d338-46e8-9587-18ce5482daeb} (test )
conntype: password
cmd: "C:\Program Files\SSHFS-Win\bin\sshfs.exe" "username"@"hostname":/0095/ R: -p22 -ovolname=test -odebug -ologlevel=debug1 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oidmap=user -ouid=-1 -ogid=-1 -oumask=000 -ocreate_umask=000 -omax_readahead=1GB -oallow_other -olarge_read -okernel_cache -ofollow_symlinks -oPreferredAuthentications=password -opassword_stdin
{b5fd3365-d338-46e8-9587-18ce5482daeb} stderr: SSHFS version 3.5.2
{b5fd3365-d338-46e8-9587-18ce5482daeb} stderr: executing <ssh> <-x>
{b5fd3365-d338-46e8-9587-18ce5482daeb} stderr: <-a> <-oClearAllForwardings=yes> <-oPort=22> <-ologlevel=debug1> <-oStrictHostKeyChecking=no> <-oUserKnownHostsFile=/dev/null> <-oPreferredAuthentications=password> <-oNumberOfPasswordPrompts=1> <-2> <"username"@"hostname"> <-s> <sftp>
{b5fd3365-d338-46e8-9587-18ce5482daeb} stderr: debug1: Connecting to "hostname" [X.X.X.X] port 22.
{b5fd3365-d338-46e8-9587-18ce5482daeb} stderr: debug1: identity file /cygdrive/c/Users/username/.ssh/id_xmss-cert type -1
{b5fd3365-d338-46e8-9587-18ce5482daeb} stderr: debug1: Local version string SSH-2.0-OpenSSH_8.4
debug1: Remote protocol version 2.0, remote software version WS_FTP-SSH_8.6.1.1504
debug1: no match: WS_FTP-SSH_8.6.1.1504
debug1: Authenticating to "hostname":22 as '"username"'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: (no match)
Unable to negotiate with X.X.X.X port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
read: Connection reset by peer
{b5fd3365-d338-46e8-9587-18ce5482daeb} exit: 1
Hi evsar3,
I'm having the same problem. I can connect using SiriKali via the mount options field which is free text so adding KexAlgorithms isn't a problem.
KexAlgorithms is not listed as a custom command line params and I can't find any way to set it when using sshfs-win manager.
Can you add KexAlgorithms to the list of custom command line params? Or provide an option to name params that aren't listed?
Thanks Chris
I've solved this issue by using the custom command line param ssh_command with value ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -o KexAlgorithms=diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
With the exception of idmap, create_file_umask, create_dir_umask and umask (these were also set via custom command line params), the options above were copied from the SiriKali Mount Options.