LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unecrypted connection refused. Goodbye fc5 (https://www.linuxquestions.org/questions/linux-newbie-8/unecrypted-connection-refused-goodbye-fc5-478269/)

elmr007 08-28-2006 10:10 PM

unecrypted connection refused. Goodbye fc5
 
When I telnet my server I get "Unencrypted connection refused. Goodbye". neither will it let me ssh, or ftp. yes iptables are dissabled and the telnet service is running. In /var/log/secure I found:
Aug 28 21:21:43 tornado xinetd[1878]: START: telnet pid=31806 from=192.168.0.1
Aug 28 21:22:29 tornado sshd[31833]: Did not receive identification string from UNKNOWN
Aug 29 02:22:52 tornado sshd[31838]: fatal: no matching cipher found:

Why is it complaining about a "unencrypted connection"?

Thanks for any help,
Mark M.

Matir 08-28-2006 10:36 PM

Why are you trying to use an unencrypted connection anyway? What happens if you try to SSH?

elmr007 08-28-2006 11:45 PM

ssh
 
the last two lines I posted of /var/log/secure shows the errors with ssh.

elmr007 08-29-2006 11:31 AM

When I try to telnet from the localhost I get:
"Unencrypted connection refused. Goodbye"

When I try to ssh from the localhost I get:
"The Authenticity of host 'tornado (127.0.0.1) can't be established.
Are you sure you want to continue connecting? (yes/no)? yes
Warning: permanently added 'tornado' (RSA) to the list of known hosts.
Write failed: Broken pipe"
JFYI tornado is the server name.

jiml8 08-30-2006 06:02 PM

sounds like a permission problem on your end.

elmr007 08-31-2006 08:52 PM

that's kinda what I was thinking, but what....I'm on the local host and iptable are dissabled as is SElinux, so nothing in the network. I'm also logged in as root...full permissions. :/

stress_junkie 09-01-2006 09:15 AM

Very often the root account is explicitely disabled from remote logins. Try it with a normally privileged account.

Your error message shows that you are trying to do a loopback login. Is that correct? 127.0.0.1 is the local loopback network address. Yet your first post sounds like you are on one machine trying to connect to a different machine.

elmr007 09-01-2006 10:10 PM

yes, the first post was from xp pro machine to linux server then I got to thinking it would eliminate a lot of possibilities if I tried from the localhost. And yes I understand the root from remote logins, I was saying I was logged in as root on the server when trying to ssh or telnet via localhost. Not trying to telnet with root username and passwd.

when starting the telnet (from localhost or another computer) it should ask me for username but it never gets that far, simply states "unencrypted connection refused, Goodbye."

stress_junkie 09-02-2006 03:52 AM

Quote:

Originally Posted by elmr007
yes, the first post was from xp pro machine to linux server then I got to thinking it would eliminate a lot of possibilities if I tried from the localhost. And yes I understand the root from remote logins, I was saying I was logged in as root on the server when trying to ssh or telnet via localhost. Not trying to telnet with root username and passwd.

when starting the telnet (from localhost or another computer) it should ask me for username but it never gets that far, simply states "unencrypted connection refused, Goodbye."

I understand your thought process but I think that you are mistaken. I think that you are adding complexity by using the root account. The target machine may refuse connections from the root account of another machine, before the username prompt is provided. That is because telnet and ssh know the name of the user account on the remote machine that is trying to connect. So they may be seeing a root account trying to connect and refuse. The part about the connection being unencrypted may or may not be part of the problem.

Of course you keep saying that you are using telnet but then sometimes you say you are using ssh. Which is it? They are not equivalent. You should be accurate when you are describing what you are doing.

Is the machine to which you are trying to connect running the sshd daemon?

Have you configured the ssh software? Here is some information on doing that. It doesn't matter that the reference below goes to the Gentoo project. Believe me. They have a lot of excellent documentation that applies to all distributions.

http://www.gentoo.org/doc/en/securit...=10#doc_chap11

ktmariappan 01-13-2012 05:33 AM

Unencrypted connection refused. Goodbye.
 
Hi,

Below steps should be work.......

[root@localhost init.d]# /sbin/chkconfig --list |grep telnet
ekrb5-telnet: on //This should be off
krb5-telnet: off
telnet: on
[root@localhost init.d]# /sbin/chkconfig ekrb5-telnet off
[root@localhost init.d]# /sbin/chkconfig --list |grep telnet
ekrb5-telnet: off
krb5-telnet: off
telnet: on
[root@localhost init.d]# telnet 0.0
Trying 0.0.0.0...
Connected to 0.0 (0.0.0.0).
Escape character is '^]'.
Red Hat Enterprise Linux Server release 5.5 Beta (Tikanga)
Kernel 2.6.18-189.el5 on an i686
login: root
Password:
Last login: Fri Jxxxxxxxxxxxxxxxxxxxx
[root@localhost ~]#


All times are GMT -5. The time now is 08:44 PM.