Developer laptop compromise is probably the biggest security risk that any startup company faces, because the developer laptop is an uncontrolled environment with a lot of "attack surface" which may have been previously compromised. In my view there are emerging best practices in this area. There are two ways to reduce this risk and both are controversial: 1. Force developers to only develop software using an SSH ter…
(Disclaimer, unicorn employee.) I'm confused. Are you implying people write company code on personally owned laptops? That's insane! 1. Company walks you through setting up FileVault (with key escrow) and VPN client, generating and uploading SSH public key immediately after unboxing laptop. 2. OneLogin + Duo (or pick your SSO/2FA scheme) for everything - internal webapps, GMail, etc. 3. SSH keys managed by Puppet. 4.…
SSH: Best practices
111–120 of 123 posts
Re: SSH: Best practices
#112> Unfortunately ssh-keygen does not support input from stdin, so this example is slightly more complicated than it should.
Any shell that supports process substitution can fix this for you with something like;
ssh-keygen -l -f <(ssh-keyscan korell)
Re: SSH: Best practices
#113Earlier quoted context omitted.
Have each team member generate his own key. Copy everyone's key in a folder and have a script to generate an authorized_keys file. Use puppet or chef (or anything else) to dispatch the authorized_keys on every server. A single shared key is a security disaster waiting to happen.
did you read the article? ssh certificates with revokation are a much more workable solution
Re: SSH: Best practices
#114Earlier quoted context omitted.
I don't recall even remotely suggesting the sky is falling. If nobody fixes this, it doesn't affect me. I have Multiplexing disabled everywhere that I care about. The constant news of companies getting popped is actually quite entertaining. The only thing folks may be concerned about is that if too many companies get popped, there may be some heavy handed legislation that starts to affect people. Even that I am perfe…
ahem "It also means, anyone using the defaults in OpenSSH is not PCI compliant."
Re: SSH: Best practices
#115Has anyone used ProxyCommand to chain through 2 or more gateways and has a config example to show?
Re: SSH: Best practices
#116Earlier quoted context omitted.
This didn't exist in 2000. It was created and made default on the server in OpenSSH 5. OpenSSH 5 did not make it into enterprise distros for quite some time. There are literally tens of thousands of articles telling folks to enable ControlMaster (Multiplexing) on the client to "make ssh faster". You would be hard pressed to find a devops shop that isn't already using ControlMaster in their ssh client config. There ar…
This specific mechanism didn't exist in 2000; the behavior is no different from the ILOVEYOU virus: user runs code, code does something malicious, code contacts cracker. It all boils down to "if you require security, you can't have a default-open environment"; blaming a specific tool seems ... strange.
Re: SSH: Best practices
#117What amazes me about these articles is that they keep recommending NOT to use password-based logins for SSH: Why are people still using that?
Re: SSH: Best practices
#118Earlier quoted context omitted.
ahem "It also means, anyone using the defaults in OpenSSH is not PCI compliant."
I wouldn't worry. Not every auditor will catch this.
Re: SSH: Best practices
#119Earlier quoted context omitted.
did you read the article? ssh certificates with revokation are a much more workable solution
There's the up-front cost of setting them up, and perhaps tool support (pubkey/agent auth is widely supported; X.509...not so much).