Closed fekir closed 4 months ago
implementation leverages libssh2, not OpenSSH directly; currently only ~/.ssh/known_hosts is utilized. libssh2 does support using OpenSSH as an agent.
One should use Shell link... submenu instead of SFTP link... Type something like this in the address field: sh://myhostalias/~.
MC: https://midnight-commander.org/ticket/3039. https://midnight-commander.org/ticket/4506 long pending issue.
I'm not sure about the status of https://midnight-commander.org/ticket/3039 and https://midnight-commander.org/ticket/4506, but I use use daily mc (version 4.8.31) with sftp + ssh keys + aliases in ~/.ssh/config, both on linux and windows (with cygwin)
Try running the OpenSSH agent
Hello, it seems that mc does not use my ssh key located at
~/.ssh
I've an entry in ~/.ssh/config with
HostName
,User
andIdentityFile
, and I can use ssh for logging in successfully to the remote.According to https://github.com/adamyg/mcwin32/issues/1, ssh keys should be supported.
Are there known limitations? Is there something I can do (logging?) for debugging this issue?