LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   connected to my server with ssh (https://www.linuxquestions.org/questions/linux-newbie-8/connected-to-my-server-with-ssh-369735/)

juanb 10-04-2005 01:17 PM

connected to my server with ssh
 
Hi,

I am conected to my linux box throw ssh client.

why is it important to issue the command exit before disconnecting from the server? and not just close the ssh window?

thanks,

Juan

The_JinJ 10-04-2005 01:44 PM

It's good practice but the session will disconnect anyway if you kill the window - may be a period of time before it times out

Micro420 10-04-2005 06:17 PM

I believe if you just close the window, your session is still logged on remotely on the computer. As mentioned, eventually it will time out and disconnect automatically since it will be idle for X minutes.

If you type 'exit', it logs you off and kills your session on the remote computer. Lets say you SSH onto a computer that has a lot of users on it. It's best to exit and log off so that you free up resources and space on the remote computer.


All times are GMT -5. The time now is 01:41 AM.