Possible to use know_hosts
to populate the /ssh/config
file
#6
Labels
enhancement
New feature or request
know_hosts
to populate the /ssh/config
file
#6
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. Sinceknow_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 fromknown_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 (myknown_hosts
file has over 50 lines as as example).The text was updated successfully, but these errors were encountered: