Open CookedMelon opened 1 year ago
Same problem for me. It must be a sshfs-win-manage problem since in SiriKali I can specify my path to the key and it works fine.
[Edit] I did some more testing and it seems as soon as you add a second entry to the connections it uses your specified path to e key file just fine, even if you delete the etries again.
I think I've the same issue:
date: 2023-11-06T18:27:07.681Z conn: {aa4d0e80-8993-4d61-adf3-bb6d333f535d} (FL-BANK-SFTP) conntype: key-file {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: SSHFS version 3.5.2 {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: -oStrictHostKeyChecking=no> <-oUserKnownHostsFile=/dev/null> <-oPreferredAuthentications=publickey> <-oIdentityFile="C:/Users/admin/.ssh/OLD/id_rsa_empty"> <-2> <auser@XX.XX.XX.XX> <-s> <sftp> {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: debug1: Connection established. {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: debug1: identity file C:/Users/admin/.ssh/OLD/id_rsa_empty type 0 {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: debug1: identity file C:/Users/admin/.ssh/OLD/id_rsa_empty-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.4 {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: debug1: expecting SSH2_MSG_KEX_ECDH_REPLY {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: debug1: Server host key: ecdsa-sha2-nistp256 SHA256:eJYm5c3SenRqA2slQXQKEbG1zvbOai/YitasPUvCU90 {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: debug1: SSH2_MSG_SERVICE_ACCEPT received {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: debug1: Authentications that can continue: password,publickey,keyboard-interactive debug1: Next authentication method: publickey {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: debug1: Offering public key: C:/Users/admin/.ssh/OLD/id_rsa_empty RSA SHA256:ICQ4zrkZC019t1HB5Bl5mn1vw4VqmWPrzno0Py85g4s explicit {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: debug1: Server accepts key: C:/Users/admin/.ssh/OLD/id_rsa_empty RSA SHA256:ICQ4zrkZC019t1HB5Bl5mn1vw4VqmWPrzno0Py85g4s explicit Load key "C:/Users/admin/.ssh/OLD/id_rsa_empty": invalid format debug1: No more authentication methods to try. auser@XX.XX.XX.XX: Permission denied (password,publickey,keyboard-interactive). {aa4d0e80-8993-4d61-adf3-bb6d333f535d} stderr: read: Connection reset by peer {aa4d0e80-8993-4d61-adf3-bb6d333f535d} exit: 1
I tried with no passphrase, with passphrase it is the same
I tried with key generated byopenssh and putty, it is the same...
However whith SFTP Drive it works.... so key and configuration are goods.
With Notepad++, please :
That has solved my problem.
I'm not quite sure if this issue belongs to GUI or SSHFS itself. I've noticed that when I mount the machine using the SSH login key located at C:/User/.ssh/id_rsa, it mounts successfully. However, if I use a different file as my login key, such as id_rsa_linux, it fails to establish a connection (even though I can use id_rsa_linux to log in to SSH successfully and have correctly specified the key's path in the GUI).
success when I use "C:/Users/cc241/.ssh/id_rsa" to login
fail when I use "C:/Users/cc241/.ssh/id_rsa_linux" to login
You can see that I can login SSH with both key
Regarding the error messages, I ran the commands for both the failed login and the successful login, which were printed in the DEBUG OUTPUT. Here are the results:
Error report(Actually, regardless of whether I use the command that succeeded or failed in the GUI, it fails when I enter it in the command prompt (cmd), and I don't know why.)