zlacker

[return to "Ask HN: How do you safely give LLMs SSH/DB access?"]
1. Terr_+k5[view] [source] 2026-01-14 19:22:26
>>nico+(OP)
I imagine your best bet are exactly the same tools for a potentially-malicious human user: Separate user account, file permissions, database user permissions, etc.
◧◩
2. nico+xm[view] [source] 2026-01-14 20:14:53
>>Terr_+k5
This is probably the safest thing to do, also the most time consuming

It would be nice to just be able to solve it through instructions to the agent, instead of having to apply all the other things for each application/server/database that I'd like to give it access to

◧◩◪
3. ahepp+Sq1[view] [source] 2026-01-15 01:02:17
>>nico+xm
Shouldn't you already be using low privilege accounts for stuff like gathering information about prod?

Overprivileged accounts is a huge anti-pattern for humans too. People make mistakes. Insider threats happen. Part of ops is making it so users don't have privileges to do damage without appropriate authorization.

[go to top]