LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Locked out of my server (https://www.linuxquestions.org/questions/linux-networking-3/locked-out-of-my-server-211846/)

sfcgunner 07-31-2004 11:45 AM

Locked out of my server
 
I was working in the setup utility on a linux server as root and checked the map network button in the setup, now I cannot acces the machine at all through ssh, plesk, or anything...Any ideas on how I can get in? The machine was manually rebooted and that didnt solve the problem either btw...HELP

RolledOat 07-31-2004 12:20 PM

I am not familiar with the map network function you mention, however, can you ping it? Did selecting that option break your connection. About the only way to figure it out if you can't get in is to be at the machine and log in, investigate.

RO

sfcgunner 07-31-2004 12:30 PM

Yes selecting that option disconnected me, and being physically present at the machine is impossible...Any ideas? O yeah it still pings fine so it is physically running but not for me...lol

win32sux 07-31-2004 12:33 PM

if you know what you changed, you can boot a live cd and change it back from there...

however, it sounds like for some reason you were using a graphical user interface on your server... so i'm not sure if you know what that button actually changed... right??

do you have the ability of booting a live cd on the server??

if you do, then we can help you change it to the way it was, as long as you explain to us a little more thoroughly what exactly you were doing...

"checked the map network button in the setup" doesn't really tell us much... we don't even know what distro you are using... what's "setup"??

win32sux 07-31-2004 12:34 PM

Quote:

Originally posted by sfcgunner
Yes selecting that option disconnected me, and being physically present at the machine is impossible...Any ideas? O yeah it still pings fine so it is physically running but not for me...lol
okay i guess the live cd thing is out of the question...

sfcgunner 07-31-2004 12:42 PM

I myself am not completely sure what purpose the button I selected served, I believed it would show me the ports that were open on my machine but what actually occured was it shut every port down. Is there a program that I can use to find out which ports may still be open so that I can access them to fix my problem?

win32sux 07-31-2004 12:57 PM

Quote:

Is there a program that I can use to find out which ports may still be open
do an nmap to your servers ip or domain name... for example:

nmap www.microsoft.com

how did you get a "button"?? you were using a graphical interface remotely??

WHAT DISTRO ARE YOU USING???


sfcgunner 07-31-2004 01:05 PM

I was using ssh as root and entered the setup menu. The distro is unknown to me I believe its a UNIX box

sfcgunner 07-31-2004 01:07 PM

I found a sniffer program and ran it, is it possible to use ssh through a UDP port?

RolledOat 07-31-2004 01:23 PM

Quote:

Originally posted by sfcgunner
I was using ssh as root and entered the setup menu. The distro is unknown to me I believe its a UNIX box
There is something seriously fishy about this. You don't know what version it is, you think it is Unix and it is impossible for you to get to the server? I would like a little more information about what exactly you are doing servicing or running a server that you don't know what it is running, etc. Just a little paranoid, but wouldn't want to help someone who might be hacking (Edit: apologies to others, Cracking:Edit) someone else's server get ahead. If it is yours, then the obvious question is, what are you doing 'playing' with options as root on a server you know so little about.

If this is on the up and up, my apologies, I would just like a little more to go on. Running setup tells me the distro, but how can you not know?

RO

win32sux 07-31-2004 01:25 PM

Quote:

Originally posted by sfcgunner
I found a sniffer program and ran it
ummm... okay... what did you sniff?? what was the program??

i thought you wanted to portscan your server...

Quote:

is it possible to use ssh through a UDP port?
not if you don't have root access to the server...


sfcgunner 07-31-2004 01:33 PM

Sigh....I have root access but I cannot connect to the server. Typically I connect using putty but the connection keeps timing out meaning I guess that the ports are closed. I dont know the version because I am typically a Windows guy, I recently rented this server from a company in San Diego to use as a dedicated gaming server, and their damn dedicated server technical staff doesnt work on the weekends so I am SOL. I used the program Advanced Administartive Tools to sniff the ports, It showed alot of possible trojans in the UDP ports, could these be causing my issues?
Sigh...

win32sux 07-31-2004 01:43 PM

Quote:

Originally posted by sfcgunner
the connection keeps timing out meaning I guess that the ports are closed.
you guess?? this is an exact science, man... check-it-out (an example of a happy ssh daemon):

Quote:

bash-2.05b# nmap -p 22 192.168.0.1
Starting nmap 3.45 ( http://www.insecure.org/nmap/ ) at 2004-07-31 13:56 EST
Interesting ports on 192.168.0.1:
PORT STATE SERVICE
22/tcp open ssh

Nmap run completed -- 1 IP address (1 host up) scanned in 0.531 seconds
ssh only needs one port (by default, port 22)... if it's closed or filtered there's nothing you can do except wait for the tech staff to return... and they'll probably do a bare-metal restore in which case say goodbye to your data...

i think by now you realized that doing stuff you're not sure of as root can have dire consequences...

=(


sfcgunner 07-31-2004 01:44 PM

Down with LINUX long live the retard proof WINDOWS box...LOL...Damnit

win32sux 07-31-2004 01:51 PM

i wouldn't run windows even if you paid me to do it... LOL...


All times are GMT -5. The time now is 04:32 PM.