Skip to content

saving credentials with cmdkey #462

@durcom2

Description

@durcom2

I am trying to store logon credentials for sshfs using windows cmdkey command.

cmdkey /generic:\sshfs\user@mysite.com /user:user /pass:password

The cmdkey command works fine and I see the stored credentials in credential manager.
However, I can't connect to the sshfs file system using net use without a userid and password
The only way I can get windows to store the credentials correctly is interactively in windows file explorer and ticking off the "remember" checkbox.

Would like a command line solution if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions