-
Stopping Ssh in SuSE 8.2
Hi,
I have a dual boot pc with Win XP and SuSE 8.2 home, I have only recently installed the Linux installation and am still getting to grips with it.
the PC is on a small home network, I have just scanned the PC using my laptop with GFI LANguard and noticed that port 22 was open (Ssh) , I "Putty'd" into it and obviously as I know the root passwd, I had root in a few seconds, my line of thinking now is that if I can do it someone else can do it too!
I have no need for this service and would like to disable it!
I have just spent the last hour trying to disable this Ssh server but i cant find the bloody thing anywhere, could anyone let me know how to close port 22 and disable Ssh?
Thanks in advance!
\\also port 111 (SunRPC) is open, do I need this open and if i do what does it do?
Im just about to go and google this but thought i would ask here aswell
Thanks!
-
Hey Hey,
Since no one has answered you and I'm on a short break between classes.. I'll throw ya a short answer.
check in /etc/x.inetd you'll find SSH in there just disable it from there (look at the syntax of the file and you'll figure it out)... If you need more help let me know and i'll tell ya how to do it, but I'd rather point ya in the right direction and let you learn for yourself.... You could also use YaST to disable SSH
Peace,
HT
-
comment ssh entry at /etc/xinetd.conf and restart service
-
hey, that sorted it!
Thanks guys!
-
For future reference, turning of services in SuSE Linux is easy:
Open YAST2, go to the run level editor, and open up the properties, and shut down any services you want to in it.
-
In addition to all that, in SuSE Linux, you can stop/start every service (well, almost 'every') by logging into a shell as root, then:
rcsshd start/stop to start/stop the ssh daemon
rcpostfix start/stop to start/stop postfix
rcblablabla start/stop etc......
Cheers.