LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Telnet error "Connection closed by foreign host" without prompting login. (https://www.linuxquestions.org/questions/linux-newbie-8/telnet-error-connection-closed-by-foreign-host-without-prompting-login-651621/)

jhilton 06-25-2008 01:29 PM

Telnet error "Connection closed by foreign host" without prompting login.
 
Hello, I'm having problems trying to get my linux machine to accept telnet connections from any other type. Whenever I try to telnet from a solaris or linux machine to the linux host machine I get a, "Connection closed by foreign host" and it returns me back to the terminal. I can Telnet/rsh/rlogin from any of the linux machines into the solaris box but the reverse can not be achieved.

On the linux machine this problem is easily solved by just using SSH, however I am unable to use SSH on the Solaris as the SSH client is not installed. On the Linux host I have telnet set to enable in my /etc/xinit.d directory and I even do a /etc/init.d/xinitd restart. xinitd is running as I can pull it out of top using grep. Any ideas as to why telnet is refusing connections

chrism01 06-25-2008 06:36 PM

Check your firewall eg

iptables -L


All times are GMT -5. The time now is 12:59 AM.