I use SSH to manage a server on my local network.
Which works great. When I am finished in the server I normally just X out the command line window which fires a prompt telling me a process is running and closing will kill it. Which is fine.
I would however prefer a command I can use to gracefully close the ssh connect and bring the command line back to my local machine.
Is there such a thing? Or is X-ing out of the window the only way?