Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux Networking

Linux Networking This forum is for Linux Networking Only. Routing, servers, etc.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-24-2008, 02:18 PM
Off Off is offline
Member
 
Join Date: Feb 2008
Posts: 60
Off is on a distinguished road
Default 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?
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 03-30-2008, 03:41 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 570
Jordan is on a distinguished road
Default

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.
Reply With Quote
Reply

Tags
login, ssh, wrong username

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What kind of Internet Connection do you have? Lop General/Lounge 27 12-04-2008 03:36 PM
Last Login of User Pan Linux General 2 03-24-2008 09:23 PM
Kill a logged on User Jame Linux General 3 10-23-2007 05:44 PM
Receive email on login Crop Linux Security 6 10-14-2007 09:13 AM
Kill Signal Crop Linux Applications 1 08-14-2007 07:00 PM


All times are GMT. The time now is 03:57 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.