iterm come out of dead ssh code example Example: terminal freezes ssh #press Enter (or Return for Mac) #then ~ (shift + ~ for Mac) #then .