News for hackers. Stuff that matters.
Re:Using a single AWS account is a serious risk by tomschlick on Saturday August 08, 2015 @05:20AM (#10026769)
Any advice/tutorials on how to set this up? Ideally I'd like just that ssh session to change the text to red for prod boxes but then go back to my normal iTerm theme after exit...
Re:Using a single AWS account is a serious risk by def- on Saturday August 08, 2015 @06:38AM (#10026884)
In the .bashrc/.zshrc of the remote machine add this:

    echo '\033]11;#440000\007'
On the local machine add this to reset the terminal color:

    ssh () {/usr/bin/ssh "$@"; echo '\033]11;#000000\007'}
Re:Using a single AWS account is a serious risk by eru on Saturday August 08, 2015 @05:44AM (#10026803)
You can muck around with your bashrc, if you use that shell.