[mc] hotlist not using settings from .ssh/config
Yury V. Zaytsev
yury at shurup.com
Fri Sep 27 06:22:45 UTC 2024
> On 27. Sep 2024, at 07:52, Fourhundred Thecat via mc <mc at lists.midnight-commander.org> wrote:
>
> OK, now it works. Thanks.
This is a limitation of our ssh_config parser. Sadly, libssh2 doesn’t support ssh_config parsing, so we had to write our own. AFAIK, libssh does support ssh_config parsing, but I don’t know if this would solve your particular problem and it’s a big effort to migrate.
> pubkey authentication does not work, because mc and the server cannot
> agree on a key algorithm:
The following options are not supported by our parser:
* PubkeyAcceptedKeyTypes
* HostKeyAlgorithms
* KexAlgorithms
https://github.com/MidnightCommander/mc/blob/master/src/vfs/sftpfs/config_parser.c#L76
You can improve it (or migrate it to libssh?), or else upgrade to a more secure system :)
--
Sincerely yours,
Yury V. Zaytsev
More information about the mc
mailing list