kill ssh process mac code example Example: terminal freezes ssh #press Enter (or Return for Mac) #then ~ (shift + ~ for Mac) #then .