Macos – Exit SSH session in OSX Terminal

macosterminal

I connected to a server via SSH in Terminal (OSX), but now anytime I open Terminal, it logs me back in. If I logout, I cannot type anything or do anything.

How do I exit back to the regular terminal so I can run a script on my mac?
I realize this is probably a really noob question.

Best Answer

You can press Ctrl+D that will exit the terminal.

Related Question