atsign-foundation / noports

Connect to any device with no external listening ports open
https://noports.com
BSD 3-Clause "New" or "Revised" License
265 stars 15 forks source link

feat: Add check for keys in .ssh #1012

Closed cpswan closed 4 months ago

cpswan commented 4 months ago

Fixes #998

- What I did

Added a function to check contents of .ssh directory and warn if no keys found

- How I did it

Contents of .ssh read into a variable, then various conditionals to test for likely scenarios where there are no keys.

- How to verify it

Tested on Ubuntu VM

- Description for the changelog

feat: Add check for keys in .ssh