Closed Thread
Results 1 to 2 of 2

Thread: SSH Login: Kill Connection

  1. #1
    Off
    Off is offline Learning Programmer
    Join Date
    Feb 2008
    Posts
    83
    Rep Power
    0

    SSH Login: Kill Connection

    So I work on a server that is in a physical location different than I am. I maintain the server but I don't actually "own" the server per se. Their are 2 other administrators to the server other than me and they have more control about what happens than I do.

    Often I connect via SSH from my Windows box here. I administer all of the Linux machines here are my local office and I generally login with root (I know, your not suppose to login with root.... but I do).

    When I connect to this server up north I login with a different username and then su to root (or use my sudo powers). Often, I type in the incorrect user name.

    Code:
    # login as: someuser
    someuser@xx.xx.xxx.xxx's password:
    Access denied
    someuser@xx.xx.xxx.xxx's password:
    Access denied
    And then I realize, I'm using the wrong user to login with. So I hit a ctrl-z, ctrl-x and ctrl-c. My putty window disappears.

    My question is..... Does this leave a connection on the server? Will this make the other admins angry?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest
    No, it doesn't leave a connection on the server. In 30 seconds (or so) the connection will automatically time out on the Linux server and the PID will die.

    What causes you to login using the wrong username? In putty, you can set the background color for the server you are connecting to. I do this for certain test and production servers. My production server has a different background to alert me that I am in that session. This keeps me from modifying production thinking it is test.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 02-10-2011, 02:09 AM
  2. Replies: 0
    Last Post: 08-21-2010, 01:59 AM
  3. Help or I'll kill this puppy!
    By williamevanl in forum C# Programming
    Replies: 1
    Last Post: 04-27-2010, 07:30 AM
  4. kill process
    By ostudioo in forum C# Programming
    Replies: 9
    Last Post: 06-25-2008, 11:48 AM
  5. Kill Signal
    By Crop in forum Linux Applications
    Replies: 1
    Last Post: 08-14-2007, 11:00 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts