Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH Public Key Authentication #2

Closed
msdottee opened this issue Jul 7, 2020 · 0 comments
Closed

SSH Public Key Authentication #2

msdottee opened this issue Jul 7, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@msdottee
Copy link
Owner

msdottee commented Jul 7, 2020

As a user, I want to be able to login with my SSH public key, so that access to my files is secure.

Acceptance Criteria:

  1. Database tables are created to store usernames and SSH public keys. A user can have multiple SSH public keys.
  2. Spring Data creates the tables automatically if they do not exist.
  3. A user who has a valid username and SSH public key can log in using Putty.

Notes:

  1. Initializing databases with Spring: https://docs.spring.io/spring-boot/docs/2.1.1.RELEASE/reference/html/howto-database-initialization.html#howto-initialize-a-database-using-spring-jdbc
  2. Implement PublickeyAuthenticator (https://mina.apache.org/sshd-project/apidocs/org/apache/sshd/server/auth/pubkey/PublickeyAuthenticator.html) to facilitate logging in using database-provided usernames and public keys. Once implemented, set the SSH server to use this new authenticator.
@msdottee msdottee added the enhancement New feature or request label Jul 7, 2020
This was referenced Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant