Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 9421  / 2 Years ago, sat, december 25, 2021, 9:58:24

I use SSH to manage a server on my local network.



ssh [email protected]


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?


More From » server

 Answers
2

Close the remote shell by running:



exit


Or press Ctrl+D.


[#31149] Sunday, December 26, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
heathree

Total Points: 157
Total Questions: 132
Total Answers: 108

Location: Honduras
Member since Mon, Apr 5, 2021
3 Years ago
;