Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
User Journal

Journal eno2001's Journal: Which Type are You? 14

You have a telnet or ssh session open to a remote box. Your work is done and you want to disconnect. You...

1. Type 'exit' to disconnect from the remote session
2. Click the "close" widget on the window (if you are in a GUI)
3. Press CTRL-D to disconnect
4. Press CTRL^] to exit to the telnet prompt and then type quit
5. Press ~-CTRL-Z, grep for the ssh client process and kill it

I prefer #3 myself as it seems the most clean and graceful way to end a session. (Not to mention, respectful of the protocol) What do you think?

This discussion has been archived. No new comments can be posted.

Which Type are You?

Comments Filter:
  • ack (Score:3, Interesting)

    by nizo ( 81281 ) * on Monday December 20, 2004 @03:04PM (#11139056) Homepage Journal
    Must never use insecure telnet. That said, I always type exit, since I disable ^D as the way my shell exits (otherwise when I use ^D elsewhere I can accidentally exit my shell). I never just click on the kill button in a gui window because I want to make sure no background jobs are still running, plus I always worry some zombie ssh process will hang around sucking up resources if I do it that way.
  • I prefer `exit`. Having grown up on Apple System 1.0 (for the ][gs no less), I find most unix-like key bindings odd.

  • by tomhudson ( 43916 ) <barbara@hudson.barbara-hudson@com> on Monday December 20, 2004 @10:49PM (#11143476) Journal
    I guess you could say that this is an "Exit Poll".
  • I usually do ^D. In fact, they had that disabled on the lab computers at college, but not well; I just held down ^D and watched about 10 messages about "Don't do that, type 'exit' instead!" scroll by before it quit my session anyway. :)
  • One more vote for "Type 'exit'" It just "feels cleaner."
  • Yeah, I avoid setting up telnet servers, and use 'exit' to close an SSH session.
  • No Telnet, ssh only and exit (or occasionaly shutdown of my laptop with open ssh windows) it is.
  • by 6031769 ( 829845 )
    Always ^D, but that's probably a hangover from days gone by when some godawful csh implementations wouldn't let you "exit" from a login shell or vice-versa. ^D is the leveller. ... and of course, no telnet.
  • Used to be on the old HP-machines that ^D was a bit too easy to type, with canonical (End of Transmission) but irritating effects, so this tended to be eschewed for the more explicit "exit". And besides, I'm used to ^D meaning "page down"...

    As for telnet vs ssh, there are two old systems on the LAN here that must be talked to through telnet, the rest use ssh.

  • SSH all the way! We've got machines that use telnet/SSH at school for working on programming projects. I don't want to be transmitting my password unencrypted over the network!
  • because i tend to define keyboard shortcuts in X or Enlightenment...then forget about them. by typing 'exit' i let the other side close the connection. sometimes i mess up and type 'bye' instead. (a throw back to all the fserves i used to use on irc when i got a computer for the first time :)
  • As most others have said, I don't run telnet, but for SSH sessions I type exit to log out of the session.

Politics: A strife of interests masquerading as a contest of principles. The conduct of public affairs for private advantage. -- Ambrose Bierce

Working...