The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu
.
google unix.com



Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Trafic Managment on the Ubuntu Server 8.04 HOW TO? loopdemack IP Networking 1 04-24-2009 01:12 AM
Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server docflyboy UNIX for Dummies Questions & Answers 0 02-20-2009 09:58 PM
How to Calculate on a Ubuntu Server SkySmart UNIX for Dummies Questions & Answers 4 01-13-2009 01:41 PM
Ubuntu server team wants to know – how do you Ubuntu? iBot Security Advisories (RSS) 0 09-25-2008 11:30 AM
Telnet Server avd UNIX for Dummies Questions & Answers 4 08-17-2005 11:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-09-2009
gbxfan gbxfan is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 30
Ubuntu Server 810 Telnet ** I know its Bad.. But **

I have a real need to telnet into my new Ubuntu 8.10 server and have Googled my eyes out with ideas that don't work. I CAN telnet out of the server, but I CANNOT telnet into it (connection refused error). I have updated my resolv.conf file but its expert time. ANY IDEAS??? THANKS!!! I knew I was going to have issues - haven't even gotten to adapting my Bourne Shell script issues yet - and can't get TELNET to work... GRRRRRR

I know SSH is the way to go but this is a box that is remotely used and don't have ssh. THANKS!
  #2 (permalink)  
Old 04-09-2009
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,797
Is telnet running on your server?
  #3 (permalink)  
Old 04-09-2009
gbxfan gbxfan is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 30
I hate to even say this, but I don't know - how can I check? I thought by being able to telnet out that would mean its running so it was some kind of file in /etc that I needed to update. I put my windows workstation ip in the allowed.hosts file and that still hasn't helped (using Reflections to telnet into the Server).. THANKS NEO!! Your the best for your time. Dale
  #4 (permalink)  
Old 04-09-2009
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,797
For most OS, you can


Code:
netstat -an | grep :25

Can you run that command and post the output (using code tags of course)?


Code:
Note:  Some computers that will not work (like my Mac OSX), as the notation is   
    111.222.333.444.port instead of 111.222.333.444:port

If does not work, simple post the output of:



Code:
netstat -an


Last edited by Neo; 04-09-2009 at 05:09 PM.. Reason: added note
  #5 (permalink)  
Old 04-09-2009
gbxfan gbxfan is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 30
the netstat -an command works

returns:

Code:
tcp    0   0.0.0.0:25    0.0.0.00:*  LISTEN

So now I am confused. I normally telnet without a port and whatever port its using (I think 23 isn't working, but when I telnet to port 25 I get the following:


Code:
mpt1a01:182# telnet x.x.x.x 25
Trying x.x.x.x.... Connected to x.x.x.x.
Escape character is '^]'.
220 mpt1a02.us.sample.net ESMTP Postfix (Ubuntu)

but it doesn't give me a prompt and then will timeout. MMmmmm.
Can I make it so my default port of 23 is used and works and how do I get a login to log into the server. THANKS!!!

Last edited by Yogesh Sawant; 04-10-2009 at 06:56 AM.. Reason: added code tags
  #6 (permalink)  
Old 04-09-2009
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,797
Quote:
Originally Posted by gbxfan View Post
So now I am confused. I normally telnet without a port and whatever port its using (I think 23 isn't working, but when I telnet to port 25 I get ......
Sorry, my fault.... I was busy and forgot that telnet is port 23, not 25 (which is normally SMTP mail), so you just connected, via telnet, to your mail server.

Try the same command to port 23, sorry about my error... I am doing too many things in parallel to fast.
  #7 (permalink)  
Old 04-09-2009
gbxfan gbxfan is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 30
No problem, I grateful for your time.

I do the same command netstat -an |grep :23 and get nothing so I guess that's my answer its not running. Boo. Any ideas on starting it up or do I need a package? Dale
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:50 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0