ssh terminal locked after disconnected code example Example: terminal freezes ssh #press Enter (or Return for Mac) #then ~ (shift + ~ for Mac) #then .