70 points · by crunk · 10y ago · 49 comments
This honestly seems like a terrible default. I want an explicit something when I'm about to lock myself out of my systems.
OTOH, the prerequisites are substantial enough that you're hardly likely to install it by accident. I suppose it's a better fit for brand-new hosts on both fronts. (But then, as I see it, all the hard parts around key management are around getting it reliably deployed across the entire system, which means also on old, long-running boxes. If we could all wipe our prod infra and start again from read-only media ((which we should probably do more often, to the extent that circumstances permit)) it wouldn't nearly as hard of a problem.)
Okay: you connect with your browser to the server over tls and from there via ssh to the server ... where does the layering come into play?
This seems to make an assumption that the security is equal to these two (web I/F w/ TLS plus SSH) combined in a chain, when in fact I think it now introduces a possibly weaker link.
And now I'm the one making an assumption that: if you can break into KeyBox, then you have full control over the OpenSSH connection too. Ultimately it comes down to which you trust more: KeyBox or OpenSSH.
(Note that this is also partly true of things that just create user accounts and sudo roles like Userify, but Userify provides a much lower degree of direct control over the remote server as opposed to a channel straight into that server. Even if you broke Userify, you'd still need to gain access to SSH, which might not even be possible from your network, and certainly all of that would show up in your logs anyway, since it's pure SSH turtles all the way down...)
http://guacamole.incubator.apache.org/
The main dev had a wonderful interview on SE Daily.
http://softwareengineeringdaily.com/2016/06/27/apache-guacam...
If you're interested in centralized key management that doesn't compromise private key security, I have written this for EC2: https://github.com/kislyuk/keymaker. It uses IAM to store public keys, and each instance fetches them on demand.
Additionally OpenSSH supports CA signing of public keys with user metadata, which I've found to pair nicely with LDAP.
Windows AD in all its subtle brokenness is a great deal easier to use.
Java is always a mess to debug/troubleshoot. It eats memory worse than a bloated browser, and is slooooooow. I personally avoid projects that require java if I can help it.