Sun Operating System/Connecting to remote

Advertisement


Question
When I tried to connect to remote linux machine using telnet I got this error

C:\Windows\system32>telnet xx.xx.xx.xx
Connecting To xx.xx.xx.xx Could not open connection to the host, on port 2
3: Connect failed

Also I tried with telnet xx.xx.xx.xx 22 to know ports open. then i got this in command prompt
SSH-2.0-OpenSSH_5.8
donno how to proceed next..
help me..

Answer
While this isn't strictly Solaris, I believe I can answer your question.

"Telnet" requires that the system you're communicating to have software installed and running to receive and respond to you.  That's the "telnet daemon".   If that's not running, you will get exactly what you see when you use the standard port for telnet.   It's possible that the administrator for that system has intentionally disabled telnet on that system, due to the rather low security with telnet.

When you connected to port 22, you got a different answer, because while telnet is typically on port 23, port 22 is normally used for "ssh", or "Secure SHell".  You can use "ssh" the same way you normally use telnet, but it's secured by encrypting the connection.

Sun Operating System

All Answers


Answers by Expert:


Ask Experts

Volunteer


Jay Plesset

Expertise

Installing, running, patching the Solaris operating system on X86 and Sparc platforms. I have experience with Solaris 8, 9, and 10. I worked for Sun for 10 years, and am a "Certified Solaris Administrator"

Experience

I have experience with Solaris 8, 9, and 10. I worked for Sun for 10 years, and am a "Certified Solaris Administrator"

Publications
http://todays-home.com (Internet radio program, where I'm the resident "tech talk" guru. We talk about computers, audio systems, anything technical.

Education/Credentials
Sun Solaris training, by Sun Microsystems

©2016 About.com. All rights reserved.