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

sshnp - list devices #184

Closed
4 of 5 tasks
Tracked by #135
XavierChanth opened this issue Jun 9, 2023 · 6 comments
Closed
4 of 5 tasks
Tracked by #135

sshnp - list devices #184

XavierChanth opened this issue Jun 9, 2023 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@XavierChanth
Copy link
Member

XavierChanth commented Jun 9, 2023

Is your feature request related to a problem? Please describe.

Can't really tell what devices can be connected to, especially in an organization where you may have had an admin setup sshnpd for you.

Describe the solution you'd like

A subcommand / flag which allows you to list available devices for connecting to.

Describe alternatives you've considered

No response

Additional context

Depending on the implementation, the client may have to state that only devices with version greater than x.x.x will be listed...

Tasks

  1. XavierChanth gkc
@XavierChanth XavierChanth added the enhancement New feature or request label Jun 9, 2023
@XavierChanth
Copy link
Member Author

A notification from clients which daemons respond to, or put an atKey shared with the client/manager atsign

@cconstab
Copy link
Member

I like the notification route best.. This way only listening sshnpd's respond.. using an atKey could leave some "junk" in place.

@gkc
Copy link
Contributor

gkc commented Jun 26, 2023

I'd like to see a list of all of my devices, with the ones which respond marked as such

Junk is a valid concern but could be mitigated with a suitable ttl e.g. N days?

i.e. a combination of

  • sshnpd makes a key for the device saying what version it is running and when it was last started
  • sshnp retrieves that list
  • sshnp also sends a 'ping' notification which all sshnpds listen for
  • running sshnpds respond to ping notifications

@XavierChanth
Copy link
Member Author

I've started the work on this based on what @gkc listed above. Will resume in this sprint after addressing some of the other issues first.

@XavierChanth
Copy link
Member Author

The initial implementation is available in #285
Enough to allow me to progress with #234

@XavierChanth
Copy link
Member Author

Last step is less related to this issue so I've made it a separate issue so that this can be closed

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

No branches or pull requests

3 participants