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

feature authorized_keys parser #589

Open
DEvil0000 opened this issue Sep 9, 2024 · 0 comments
Open

feature authorized_keys parser #589

DEvil0000 opened this issue Sep 9, 2024 · 0 comments

Comments

@DEvil0000
Copy link

authorized_keys files parser e.g. ~/.ssh/authorized_keys.
maybe asciitable parser or ssh/sshd parser could do that when extended.

third column "comment" is optional as well as the last lines trailing new line is optional.

example input:
ssh-rsa AAAhdhkfjhsfsgsfkjhgkufsghru= optionalComment

example output:
[{"type": "ssh-rsa", "key": "AAAhdhkfjhsfsgsfkjhgkufsghru=", "comment": "optionalComment"}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants