Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS v. 3 > Issue <<  75 of 593 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 5339
Last update: 05-20-05
Issue:
Why do I get 'No route to host' when I try to use rlogin, rsh, or rexec to connect to a Red Hat Enterprise Linux system running rsh-server?
Resolution:

rsh, rlogin and rexec use the 'login' port, number 513 (defined in the /etc/services file). The likely cause of the problem is that the host server is running a firewall that blocks the 'login' port.

Red Hat Enterprise Linux has a firewall configured by default to not allow incoming connections to the required port for login services. In Red Hat Enterprise Linux 3, the redhat-config-securitylevel program can be used to configure the default firewall. In Red Hat Enterprise Linux 4, the equivalent program is called system-config-securitylevel.

A quick way to enable the 'login' port in a terminal or at the console is to run this command as root:

redhat-config-securitylevel-tui -q -p login:tcp

Note: If you have already customized the firewall you will have to include all of the ports in the command again. For example, if you already have port 'ssh' enabled, it must also the specified in the command:

redhat-config-securitylevel-tui -q -p login:tcp -p ssh:tcp


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS v. 3 > Issue <<   75  of  593  >>