sshs
sshs copied to clipboard
Possible to use `know_hosts` to populate the `/ssh/config` file
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).
Any news on this?
@Plaenkler there is PR #8 but we're stuck with specifications :/