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

Support specifying host key for ssh config #1125

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Support specifying host key for ssh config #1125

merged 1 commit into from
Jan 22, 2024

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Jan 22, 2024

Empty host key interpreted as accept-all

Fixes #804

UX would be greatly improved by implementing a "load host key" button which has server request host key from remote server & fill in ui field

Host keys can be acquired with

ssh-keyscan $HOST

@serprex serprex force-pushed the ssh-host-key branch 2 times, most recently from 109712d to 0877301 Compare January 22, 2024 17:50
@serprex
Copy link
Contributor Author

serprex commented Jan 22, 2024

As an aside, I don't like how we take private key as input. Granted, this works for when the user wants to generate everything on their end, but the ideal would be that the user doesn't even have access to the private key: we would generate a private key in handler, & give back public key to user. That'd also enforce private key never traversing internet

@serprex serprex merged commit ddca548 into main Jan 22, 2024
11 checks passed
@serprex serprex deleted the ssh-host-key branch January 22, 2024 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants