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.
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.Code:# login as: someuser someuser@xx.xx.xxx.xxx's password: Access denied someuser@xx.xx.xxx.xxx's password: Access denied
My question is..... Does this leave a connection on the server? Will this make the other admins angry?
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks