Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-04-2005, 01:17 PM   #1
Registered: May 2002
Posts: 401

Rep: Reputation: 30
connected to my server with ssh


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?


Old 10-04-2005, 01:44 PM   #2
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
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
Old 10-04-2005, 06:17 PM   #3
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with accessing other network server when connected from a dial-in server radatan71 Linux - Networking 0 11-22-2005 02:20 AM
who is connected to my ftp server? limiter Linux - General 1 05-03-2005 03:59 AM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
Tunnel all internet traffic through a ssh connected remote computer Bateman Linux - Networking 12 12-10-2004 05:53 AM
Is it possible to ssh into a box connected to linksys WRT54G Tyir Linux - Networking 7 02-09-2004 07:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration