Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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"?
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.
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. :/
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.
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."
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.
[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 ~]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.