Multi Commander > Support and Feedback
SFTP problem
Mathias (Author):
Sorry. I don't know.
I use it daily. And it works for me. But the whole thing is messy. There are so many different algorithm and cryptos. Maybe you using some that the SSH code used in MC does not support or something.
I actually does not know. MC is using libssh2 with WinCNG for the SSH access https://libssh2.org/ , There are information there on what crypto/algorithm it support on that page
Btw
Something is not correct with the logs..
There is no
"Auth via public key for user" that is shown when trying to login using public key.
And there is no error from the verify of the keyfile..
I see if I can add some more error logging with the login phase. that can give hits on why it does not want to login
Mathias (Author):
This is how I created keys
On Linux
1. Generate keys on Linux
ssh-keygen -t rsa -b 4096
Specify names for the file : id_mc (example)
Specify password if wanted
Keys are generate with the name id_mc and id_mc.pub
2. Add public Key to authorized keys on the linux server, so you can login
cat ~/id_mc.pub >> ~/.ssh/authorized_keys
3. Copy keys to host
4. in MC specify the Public Key (id_mc.pub) and Private Key (id_mc )
Enter keypassword if you set any at #1
Yearling:
Hello,
there is a description in the attachement, how I generated the certificate. Unfortunately, I am currently unable to try a different method :-(
PuttyGen was installed and used on Windows, SFTP server is running on Linux.
Mathias (Author):
I think it is because that you use ECDSA keys
looks like libssh2 support that, but only if the code is build to minimal support Windows 10. (since it require Windows functions that does not exists on Windows 7/8)
Problem is that for now MC is built to run on Windows 7.
That might change soon.. More and more issues is poping up to support Win7/8
Navigation
[0] Message Index
[*] Previous page
Go to full version