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

Possible to use know_hosts to populate the /ssh/config file #6

Open
jarrodCoombes opened this issue Feb 7, 2022 · 2 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@jarrodCoombes
Copy link

jarrodCoombes commented Feb 7, 2022

Since the known_hosts file includes all the hosts you connect to, it would be nice to somehow use that as the basis to build out the menu. Since know_hosts lacks things that sshs needs, the user would still need to add info, but it would be a solid start.

Thinking something like

sshs --buildconfig

Would produce or append to the \.ssh\config with as much info in to as it could possible get from known_hosts and then the user could edit from there, could comment out all the new lines to start. This would greatly speed up implementation, especially for people who have a lot of SSH servers they deal with (my known_hosts file has over 50 lines as as example).

@Plaenkler
Copy link

Any news on this?

@quantumsheep
Copy link
Owner

@Plaenkler there is PR #8 but we're stuck with specifications :/

@quantumsheep quantumsheep self-assigned this Apr 14, 2022
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

Successfully merging a pull request may close this issue.

3 participants