Re: hotlist not using settings from .ssh/config

"Yury V. Zaytsev via mc" <[email protected]> Fri, 27 Sep 2024 08:22:45 +0200
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
> On 27. Sep 2024, at 07:52, Fourhundred Thecat via mc <[email protected]> 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


-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc