News for hackers. Stuff that matters.
Re:Show HN: Caddy-SSH by nodesocket on Monday March 28, 2022 @08:08PM (#30837104)
Oh really interesting. Any good guides you know of how to implement AuthorizedKeysCommand with Redis for example?
Re:Show HN: Caddy-SSH by macno on Tuesday March 29, 2022 @03:12AM (#30839704)
Hi @nodesocket, you can take a look how we solved it with Theo https://theoapp.readthedocs.io/en/latest/index.html It supports fine hosts/users grants - i.e. I can connect as "dev" user on servers "node1" and "node2" but not on "node3" - and it leverages asymmetric key signing to validate the public SSH keys. Theo supports mysql/mariadb/sqlite/postgresql(experimental) for storing data and redis/memecached for caching. Happy to answer any further questions!
Re:Show HN: Caddy-SSH by frutiger on Monday March 28, 2022 @09:17PM (#30837599)
I'm not really an expert on redis. Perhaps one can fashion something with `redis-cli`? Or write a program that links the redis client library.