Code Monkey home page Code Monkey logo

Comments (8)

jazzychad avatar jazzychad commented on May 1, 2024

i'd like to tackle this in my next PR. was thinking of just starting simple and having one fingerprint per line to allow access to connecting. i think maybe having another sort of config file for mapping fingerprints to nicks or admin/op privileges would solve the other problem. thoughts?

from ssh-chat.

jazzychad avatar jazzychad commented on May 1, 2024

Also that way specifying the whitelist file would imply --whitelistOnly and wouldn't need to be another option

from ssh-chat.

shazow avatar shazow commented on May 1, 2024

I GUESS! I'd like to support reserving names and marking admins in a similar fashion, but we can add it later.

Also I'd suggest supporting pubkey signatures, similar to ~/.ssh/known_hosts. Easier to fill them from github profiles and whatnot.

from ssh-chat.

jazzychad avatar jazzychad commented on May 1, 2024

k, i just got the fingerprints working... can add pubkeys in a future PR?

from ssh-chat.

shazow avatar shazow commented on May 1, 2024

pubkeys for future PR is cool. :)

from ssh-chat.

shazow avatar shazow commented on May 1, 2024

Done. It accepts authorized_keys-style files now.

from ssh-chat.

Fastidious avatar Fastidious commented on May 1, 2024

So, what is the format of the admin file again? Right now, a public key starts:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDpckxI...

How to make that public key an admin on a file I will pass to ssh-chat using the --admin parameter?

from ssh-chat.

shazow avatar shazow commented on May 1, 2024

@Fastidious Added a section here: https://github.com/shazow/ssh-chat/wiki/FAQ#can-i-block-users-from-connecting-how-do-i-assign-admins

Basically it's one pubkey per line, as you wrote it.

from ssh-chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.