I'm using Mac's Terminal App and I know how to connect to an external server via ssh (ssh -l username domain.com). But how do I close the connection once I'm done? Thanks.

link|improve this question
feedback

migrated from serverfault.com Feb 9 at 19:51

This question came from our site for system administrators and desktop support professionals.

2 Answers

On the terminal window, you'll simply need to type "exit". It looks like this;

[username@mail0 ~]$ exit
logout
Connection to [IPADDRESS] closed.
link|improve this answer
Great, thank you. – Hope4You Feb 9 at 18:13
feedback

Just close the window or press Ctrl-D, which will terminate the session.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown