Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Hi Guys,
I have a CentOS 5.0 server newly installed and trying to configure telnet on it.
I have done the following already
Code:
0n the xinetd.d/telnet file
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = No //Done this
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
Then I have started the vsftpd deamon
Code:
/etc/init.d/vsftpd start
Then
Code:
/etc/init.d/xinted reload
When I telnet my server I get this Error..
Code:
"Unencrypted connection refused. Goodbye".
I have read previous threads and cannot find a solution from them. Could someone please help me to solve this issue.
PS:I have managed to set up telnet on CentOS 3.4 and FC 5 and works fine.
Use SSH2 instead if you can, as far as I understand it's (a lot) more secure than telnet. Especially if you ever planned to use passwords..
The error message seems to tell that the server won't allow unencrypted connections (whatever it means in this case) and that you are trying to establish an unencrypted connection, and so it fails. Solution: either make your server accept unencrypted connections too (not wise I'm afraid, or safe) or make your client connect with encryption..
You mean to use a telnet client for windows such as putty to use SSH2/SSH? Whats the command like to telnet using SSH2 from a UNIX machine to another UNIX machine?
i have same Azzath's problem
I use Centos OS v5
I can't telnet into virtual server running Centos OS, but i can use SSH that connect to virtual server running Centos OS
I want to telnet into Centos, although SSH ok
Quote:
[root@cisco root]# chkconfig --list |grep telnet
ekrb5-telnet: off
krb5-telnet: off
telnet: on
Quote:
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2010-02-20 11:48 EST
Interesting ports on cisco (127.0.0.1):
Not shown: 1673 closed ports
PORT STATE SERVICE
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
111/tcp open rpcbind
631/tcp open ipp
737/tcp open unknown
742/tcp open netrcs
Quote:
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
You should start a new thread describing your problem and not a 3ys old one.
Anyways since port 23 is open from localhost, are you sure it's not a firewall problem?
You should start a new thread describing your problem and not a 3ys old one.
Anyways since port 23 is open from localhost, are you sure it's not a firewall problem?
thanks bathory
In Centos OS, I allowed port 23 (Telnet) in Firewall configuration option
In Windows Firewall of Window OS , it exceptions port 23
Finally :
Quote:
C:\Documents and Settings\AdminCisco>telnet 192.168.1.5
Connecting To 192.168.1.5...Could not open connection to the host, on port 23: Connect failed
192.168.1.5/24 : server Centos v5
192.168.1.200/24 : client Windows OS
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.