LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-28-2006, 11:10 PM   #1
elmr007
Member
 
Registered: Aug 2006
Location: Texas
Distribution: FC6
Posts: 60

Rep: Reputation: 15
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.
 
Old 08-28-2006, 11:36 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Why are you trying to use an unencrypted connection anyway? What happens if you try to SSH?
 
Old 08-29-2006, 12:45 AM   #3
elmr007
Member
 
Registered: Aug 2006
Location: Texas
Distribution: FC6
Posts: 60

Original Poster
Rep: Reputation: 15
ssh

the last two lines I posted of /var/log/secure shows the errors with ssh.
 
Old 08-29-2006, 12:31 PM   #4
elmr007
Member
 
Registered: Aug 2006
Location: Texas
Distribution: FC6
Posts: 60

Original Poster
Rep: Reputation: 15
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.
 
Old 08-30-2006, 07:02 PM   #5
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
sounds like a permission problem on your end.
 
Old 08-31-2006, 09:52 PM   #6
elmr007
Member
 
Registered: Aug 2006
Location: Texas
Distribution: FC6
Posts: 60

Original Poster
Rep: Reputation: 15
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. :/
 
Old 09-01-2006, 10:15 AM   #7
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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.
 
Old 09-01-2006, 11:10 PM   #8
elmr007
Member
 
Registered: Aug 2006
Location: Texas
Distribution: FC6
Posts: 60

Original Poster
Rep: Reputation: 15
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."
 
Old 09-02-2006, 04:52 AM   #9
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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

Last edited by stress_junkie; 09-02-2006 at 04:53 AM.
 
Old 01-13-2012, 06:33 AM   #10
ktmariappan
LQ Newbie
 
Registered: Mar 2011
Posts: 6

Rep: Reputation: 1
Thumbs up 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 ~]#
 
  


Reply

Tags
fc5


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 02:17 AM
Connection refused...... BobNutfield Linux - Networking 4 02-22-2006 11:12 AM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 08:23 AM
lp filename yields "cannot open connection to localhost - Connection refused" jjge Linux - General 3 12-29-2003 12:02 AM
connection refused richardmurphy Linux - Networking 11 05-12-2003 09:42 AM


All times are GMT -5. The time now is 02:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration