On 2024-10-07 06:03, David C. Rankin wrote:
All,
Patrick was having issues with ssh/sftp in MC on TW so I was troubleshooting on my TW install.
The F1 "help" says mc will check ~/.ssh/known_hosts and use public/private keys. However, on first connection with mc, the password dialog is shown and a password is required. This doesn't fly if sshd/PasswordAuthentication is set to No to disable password auth.
So that you can compare, I tried on Leap 15.5. I open sftp via menu right/sftp to another local machine. I simply enter user@machine and I enter with no password nor phrase, because at some point in the graphical session I have logged in with ssh, or maybe in another 'mc' with sftp, and the password agent remembers the passphrase. In reverse direction it asks for my password. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)