Multi Commander > Support and Feedback

SFTP connection without SSH key password fails

<< < (2/3) > >>

Mathias (Author):
It should send a blank pw to SSH if you just press ok in password dialog. You sure there is not any other error.. Any error in the Log ?
Sure you press OK in the password dialog. the error "Ask for password for keyfile failed - Aborting..." is only outputted to the log if the Ask Password dialog is cancelled

Mathias (Author):

--- Quote from: Timur Born on September 01, 2025, 22:08:57 ---I added a password to the private key file via:


--- Code: ---ssh-keygen -p -f
--- End code ---

But that leads to the following error:

> Failed to authenticate using keyfile : -19

Then I deleted the PW again via the same ssh-keygen command and now MC accepts the empty PW (no popup appears), but this still ends in the same failed authenticate error message.

--- End quote ---

-19 = ERROR_PUBLICKEY_UNVERIFIED - The username/public key combination was invalid.

Timur Born:
It's the same public key file and username I successfully used Double Commander. Both WinSCP and MuCommander don't ask for a public keyfile, just the private one and both work with that.

Mathias (Author):
I dont know what 3rd party ssh library they are using..

But sure you press OK in the ask password  dialog. because "Ask for password for keyfile failed - Aborting..." should only be outputted when canceling it.
I can't really test my self at the moment since I do not have access to any key login.

Mathias (Author):
I was able to test this.. I do not get a password dialog when having a keyfile that is not protected with password

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version