Public bug reported: Hi,
I've been able to successfully use key-based authentication using the FISH protocol (I just run: cd sh://centos in mc's command line and it would work). centos is described in my ~/.ssh/config as follows: Host centos HostName 192.168.1.239 IdentityFile ~/.ssh/centos User centos and it successfully logs in when I provide it with the Host in my ~/.ssh/config file without prompting me for a name or password. However, the same is not true when I select SFTP instead (cd sftp://centos) and it requests a password, so it looks like the SFTP VFS is not processing all the lines in ~/.ssh/config. I checked and noticed this ticket upstream - https://www.midnight- commander.org/ticket/3238 - that says that they resolved this issue in 4.8.15. However, on 4.8.15 on Ubuntu 16.04, I still have this problem. I downloaded and installed from source code (v4.8.17) and indeed the issue was fixed in upstream. I am using the latest version of mc on Ubuntu. Here are the package details: $ apt policy mc mc: Installed: 3:4.8.15-2 Candidate: 3:4.8.15-2 Version table: *** 3:4.8.15-2 500 500 http://au.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages 100 /var/lib/dpkg/status Thanks. ** Affects: mc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629497 Title: sftp vfs support not using key-based authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mc/+bug/1629497/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs