stored credentionals (e.g. cmdkey) with password authentication doesn't work #2273
Open
3 tasks done
Labels
Waiting on Author
Need more information to diagnose
Prerequisites
Steps to reproduce
This issue is very similar to #1950, #452, #996, except that password authentication also does not seem to work (any more?). I understand the limitations of accessing the Windows credential manager when using public/private key authentication with OpenSSH. However, there are numerous comments that suggest password authentication should still work, since the password is available to decrypt the DPAPI store.
But, the problem is that cmdkey and other tools still seem to be unable to use stored credentials when using password authentication. In my case, I am trying to use SMB shares that were set up by Vagrant inside of a Windows guest, which is also running sshd. Vagrant uses cmdkey to store credentials for the SMB shares, and this works fine when logging in interactively into the guest, but does not work when logging in over ssh, even when using password authentication.
sshd_config, inside the Vagrant virtual machine:
ssh_config:
Trying to use cmdkey, note that I used password authentication and I still can't access the credential store:
Expected behavior
I should be able to access DPAPI / Credential Manager over SSH when using password authentication.
Actual behavior
I cannot use commands based on Credential Manager, such as CMDKEY, when using password authentication.
Error details
See steps to reproduce, above.
Environment data
The text was updated successfully, but these errors were encountered: