 |
 |
Telnet help
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Apr 2002
Status:
Offline
|
|
I'm try to connect to my Cobalt Qube server with telnet and the Terminal utility in Mac OS X. I use a specific program on Mac OS 9 (on another computer). But when I try to telnet with Mac OS X I get the following:
telnet> open 10.0.0.15
Trying 10.0.0.15...
Connected to 10.0.0.15.
Escape character is '^]'.
Connection closed by foreign host.
It never gives me a chance to login. What is different about the telnet in Mac OS X?
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
The server doesn't exist.
10.10.x.x IPs are a class reserved for private internal LANs... is your server on your LAN? If so, wouldn't the IP address be 10.10.0.15?
Pinging the IP you posted below does not respond, not a huge surprise...
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Status:
Offline
|
|
Originally posted by blips:
I'm try to connect to my Cobalt Qube server with telnet and the Terminal utility in Mac OS X. I use a specific program on Mac OS 9 (on another computer). But when I try to telnet with Mac OS X I get the following:
telnet> open 10.0.0.15
Trying 10.0.0.15...
Connected to 10.0.0.15.
Escape character is '^]'.
Connection closed by foreign host.
It never gives me a chance to login. What is different about the telnet in Mac OS X?
Nothing in particular is different about telnet in Mac OS X. However, you may have to specify a particular option with telnet - type 'man telnet' to see all telnet options. What program do you use on Mac OS 9? The more appropriate question might be "what's different about telnetd on the Qube"? Or, why don't you just use ssh, and not telnet?
besson3c: no, private 10 network addresses can be 10.x.x.x. They do not have to start with 10.10.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
piracy: I stand corrected.. I didn't know that 10.x.x.x are class A addresses!
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Earth
Status:
Offline
|
|
Maybe your server is configured to allow telnet connection from some specific IP, or specific IP ranges, and your Mac IP is not in that range. I don't remember where this config is under Solaris, but you should check files corresponding to /etc/hosts.allow and /etc/hosts.deny under Linux.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Nov 2001
Status:
Offline
|
|
Originally posted by blips:
I'm try to connect to my Cobalt Qube server with telnet and the Terminal utility in Mac OS X. I use a specific program on Mac OS 9 (on another computer). But when I try to telnet with Mac OS X I get the following:
telnet> open 10.0.0.15
Trying 10.0.0.15...
Connected to 10.0.0.15.
Escape character is '^]'.
Connection closed by foreign host.
It never gives me a chance to login. What is different about the telnet in Mac OS X?
Telnet is enabled on the server? It looks like the port is open, or you wouldn't get the "connected" response. Hmmm.
One thing though telnet is "unsecure" and it could be that OS X's settings are blocking the request for security reasons. You could try 'ssh' which is more secure -- do you have it turned on?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Apr 2002
Status:
Offline
|
|
besson3c: From Mac OS X: I can ping it. I can access my volumes on it through Appletalk or SMB. I access it through a web browser. But I can't telnet it.
piracy: I don't doubt that there maybe something wrong with my Qube but I don't know enough about Linux to fix it. I just took down my Debian computer (I'm in the middle of trying to get Gentoo on it) so I can't try to access that with telnet with my Mac OS X (on a powerbook) computer. I will bring my powerbook home and see if I can access my Tivo using telnet with it. I use a program called MicroPhone Pro to telnet on my OS 9 computer. Simple and easy to use.
pat++: I know my Mac OS X computer is in the same address range as my Mac OS 9 computer (which works).
CatOne: Telnet is enabled on the server because I can connect to it with my PC running OS 9. Pardon my ignorance but what is ssh?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Nov 2002
Location: Barcelona, Spain
Status:
Offline
|
|
Try this (unless you tried it already):
From Network panel enable remote login (it will then even tell you which IP/name to SSH to) ... then just try to SSH into your boxen again.
Telnet sends everything plain text, which may be the reason why OS X is crapping out on you after the login.
My $.02 
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Nov 2002
Location: Barcelona, Spain
Status:
Offline
|
|
Pardon my ignorance but what is ssh?
SSH is a remote login program just like TELNET. The main difference is that SSH provides a secure and encrypted communications channel, while TELNET sends everything in plain text.
SHH uses RSA encryption and when you SSH into a box it will ask you to authenticate to choose a unique key pair to use for that session.
To execute SSH you would have to type "ssh host.name" from the Terminal ... and you are all set. The best way to learn is to type "man ssh" to see a very extensive description on a particular command with all the options, switches and commands you can use with it.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
All of these replies are answering a different problem from what he is having. Turning on SSH services on OSX will not help the OSX box connect to the Qube's telnet daemon.
What telnet program are you using on OS9? I always used "Better Telnet" and it worked well for me. Telnet on OSX works fine -- I use it all day to connect to AIX and Solaris boxes.
Try connecting directly. Instead of typing "telnet" and then doing an "open", just do "telnet 10.0.0.15" directly from the command line. If it does not work, log into the Qube from another box, and tail the system log while you telnet in (something like "tail -f /var/log/system.log" should work -- not sure the exact path to the system log on a Qube) to see if it prints any errors.
Telnet is an extremely elementary protocol. There's not much room for it to screw up.
|
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Nov 2002
Location: Barcelona, Spain
Status:
Offline
|
|
All of these replies are answering a different problem from what he is having. Turning on SSH services on OSX will not help the OSX box connect to the Qube's telnet daemon.
blips,
The word "qube" totally confused me into thinking that you were trying to 'telnet' into Apple's Cube aka "Toaster" running OS X Clinet/Server. Hence my suggestion to turn SSH on  Do I feel stupid now for confusing Cube w/ Qube.
For those that do not know > Cobalt Qube < is a very nice workgroup server that runs Linux and can be administered/setup through a web browser (not such a big deal now, but it was when it was first launched, which was about the same time as Cube ... hence my confusion).
Unfortunatelly, I don't have any new suggestions other then to check your log files (basically what Arkham_c suggested).
It could be crapping out cuz you are telneting over intenal LAN, but that really should not be the reason.
Best of luck ... sometimes these things just screw up.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Earth
Status:
Offline
|
|
This reminds me that I often get the same behaviour (Connection closed by foreign host) when I try to telnet to my Alcatel SpeedTouch DSL modem. It seems to happen more often when the CPU is intensively used on my iBook. I opened a bug to Apple for this, but unfortunately, they didn't manage to reproduce it, although I still experience the issue from time to time... Not sure, but it may be the same issue. Can you try to dump network traffic between your Mac and the server on port 23? Something like :
sudo tcpdump -X -x -ien0 port 23 and host 10.0.0.1
and replace 10.0.0.1 with the IP address of your Mac... (-i en0 for ethernet and en1 for airport) Then post the result here...
(telnet to the server from another terminal window).
Also, try to telnet from xterm (with X11 running) in case the problem comes from Terminal...
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2001
Location: Madison, WI
Status:
Offline
|
|
Everything he's doing sounds right. I have a Qube3 Pro handling our mail at my office, and it's a decent machine. Telnet is disabled in mine, but the reply is
Connection refused, unable to connect to remote host, so it doesn't sound like it's disabled.
Here's how I'd work around it:
Head over to www.pkgmaster.com, and get the SSH installer package for the Qube.
Login to the Qube via the web interface.
Hit BlueLinQ: Updates: Install manually.
Direct it to the .pkg you downloaded- it can be on your computer, or you can FTP it to the Qube ahead of time.
After the .pkg installs, you'll have a "Secure Shell" entry under Network Services. From then on, you should be able to open a Terminal window on your Mac and type ssh username@cubeIPaddress and get a secure CLI connection.
|
|
OS X: Where software installation doesn't require wizards with shields.
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|