Re:AWS Tips I Wish I'd Known Before I Started
by michaelmior on Monday February 03, 2014 @04:29PM
(#7173621)
Disabling SSH is an interesting tip. I guess the OP doesn't do any automation via SSH.
[ Parent
| on HN ]
Re:AWS Tips I Wish I'd Known Before I Started
by richadams on Monday February 03, 2014 @06:22PM
(#7174291)
Just disabling inbound SSH connections, the servers can still SSH out to other systems to pull in files, configurations, clone git repos, etc.
It's just a way to stop yourself from cheating and SSHing in just to fix that one thing, instead of automating it.
Re:AWS Tips I Wish I'd Known Before I Started
by milkshakes on Monday February 03, 2014 @07:17PM
(#7174583)
except that some automation frameworks rely on inbound ssh access to the machines. ansible would be an example of such a framework, in its default configuration at least.
Re:AWS Tips I Wish I'd Known Before I Started
by richadams on Tuesday February 04, 2014 @12:08AM
(#7175632)
Ah, I wasn't aware of that, very good point!
The goal of the tip is really to stop users SSHing in just to fix that one little thing, so you could still allow your automation frameworks SSH access and just disable it for users.
Re:AWS Tips I Wish I'd Known Before I Started
by michaelmior on Tuesday February 04, 2014 @11:17PM
(#7181857)
It can also be useful to SSH into a system to check what's going on with a specific problem. Sometimes weird things happen that you can't always anticipate or automate away.
Re:AWS Tips I Wish I'd Known Before I Started
by jamiesonbecker on Tuesday February 04, 2014 @04:41PM
(#7180427)
Userify is awesome for this - disable SSH user accounts at any time and then re-enable when you realize you still need SSH to find out why your instance stopped sending logs!! ;)
Re:AWS Tips I Wish I'd Known Before I Started
by michaelmior on Tuesday February 04, 2014 @11:00PM
(#7181812)
Thanks Userify CEO! :)