-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description:
Currently, ssh-grades only supports username/password authentication with DUO, which makes login slower and less convenient. It would be useful to allow SSH key-based authentication so users can log in with their existing SSH keys instead of typing credentials every time.
Proposed changes:
-
Add support for authenticating with a private key (via ssh2::Session::userauth_pubkey_file or some other lib)
-
Introduce a simple config file (e.g., ~/.ssh-grades/config.json) that can store location of ssh key
-
On startup, the tool should:
- Attempt to log in using the configured SSH key.
- Fall back to username/password? or maybe just fail
Benefits:
- Faster login (skip DUO for every run).
- Aligns with best practices for SSH authentication.
- Reduces friction for frequent users.
Metadata
Metadata
Assignees
Labels
No labels