Re: hotlist not using settings from .ssh/config
Fourhundred Thecat via mc <[email protected]> Fri, 27 Sep 2024 07:52:59 +0200
| Newsgroups | gmane.comp.gnome.apps.mc.general |
|---|---|
| Message-ID | <[email protected]> |
On 26/09/2024 09.49, Yury V. Zaytsev via mc wrote: > >> On 26. Sep 2024, at 08:36, Fourhundred Thecat via mc <[email protected]> wrote: >> >> does mc not use my ssh config, when connecting to sftp connection >> defined in hotlist file? > > It does for me. Be sure to specify only sftp://hostname, where hostname must match the "Host hostname" entry in ~/.ssh/config. OK, now it works. Thanks. it is very sensitive. not only must the hotlist entry be exactly sftp://hostname without trailing / but also, .ssh/config line must not contain host alias: Host myserver.com foo.myserver.com >> also, can mc use pubkey authentication as defined in .ssh/config ? but now I have different problem: pubkey authentication does not work, because mc and the server cannot agree on a key algorithm: sshd: debug1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521,ssh-ed25519 [preauth] sshd: debug1: SSH2_MSG_KEXINIT sent [preauth] sshd: debug1: SSH2_MSG_KEXINIT received [preauth] sshd: debug1: kex: algorithm: diffie-hellman-group-exchange-sha256 [preauth] sshd: debug1: kex: host key algorithm: (no match) [preauth] sshd: Unable to negotiate with 178.255.75.22 port 36626: no matching host key type found. Their offer: ssh-rsa,ssh-dss [preauth] sshd: debug1: do_cleanup [preauth] -- mc mailing list [email protected] https://lists.midnight-commander.org/mailman/listinfo/mc