Created
February 24, 2012 13:52
-
-
Save georgepalmer/1901068 to your computer and use it in GitHub Desktop.
Red iTerm2 console when using ssh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Edit your ~/.ssh/config: | |
Host myserver | |
HostName www.yourserver.com | |
User deploy | |
LocalCommand echo -e "\033]Phff0000\033\\" | |
PermitLocalCommand yes | |
Then: | |
ssh myserver | |
Only downside is the red doesn't go when you log off the server. Any ideas on how to solve this appreciated (although personally I tend to clean up ssh windows by habit so it's not a massive problem for me) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment