Operating System - HP-UX
1832541 Members
4888 Online
110043 Solutions
New Discussion

Re: SSH is now installed, so how deactivate port 23 ?

 
Juan Manuel López
Valued Contributor

SSH is now installed, so how deactivate port 23 ?

Hi all.
I have installed SSH server on my hp/ux 11.0 and it works very well.
Now I want to deactivate port 23 ( telnet port ).
Please help !.

Thanks in advance.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
3 REPLIES 3
Rainer von Bongartz
Honored Contributor

Re: SSH is now installed, so how deactivate port 23 ?


edit /etc/inetd.conf and comment out the line shown below
#telnet stream tcp nowait root /usr/lbin/telnetd telnetd


make inetd re-read its configuration

inetd -c

and telnet will be blocked

Regards
Rainer

He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Juan Manuel López
Valued Contributor

Re: SSH is now installed, so how deactivate port 23 ?

Thanks Rainer !.
So If I do that, I can NOT access to the machine ussing ssh port 22...because telnet is down...so what can I do ?
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
Juan Manuel López
Valued Contributor

Re: SSH is now installed, so how deactivate port 23 ?

Sorry, I was wrong...I can connect by port 22 SSH port.
Thanks in advance.
Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.