Ubuntu Server 810 Telnet ** I know its Bad.. But **


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Ubuntu Server 810 Telnet ** I know its Bad.. But **
# 1  
Old 04-09-2009
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  
Old 04-09-2009
Is telnet running on your server?
# 3  
Old 04-09-2009
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  
Old 04-09-2009
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  
Old 04-09-2009
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  
Old 04-09-2009
Quote:
Originally Posted by gbxfan
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  
Old 04-09-2009
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
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Ubuntu

Ubuntu Server in VM - DHCP Server not working

Hello. Doing my first steps in Linux and while trying to configure a DHCP server in Linux i encountered some problems: TOPOLOGY: - Laptop with Windows 8.1 - VM Player 12 with Linux installed (Ubuntu Server 14.04) - ICS-DHCP-SERVER installed and running - Another LAPTOP conected to a... (1 Reply)
Discussion started by: Portuguevos
1 Replies

2. Shell Programming and Scripting

Expect scripting telnet stop on bad username or password

I am trying to build and expect script to log into multiple aix boxes and change password. I need for the script to terminate if it cannot log into a server because the username or password is wrong. #!/usr/bin/expect set timeout 1 set host set user set password set uh "Unknown host" set... (3 Replies)
Discussion started by: leemalloy
3 Replies

3. Ubuntu

ufsdump from Solaris to ubuntu fails with bad file descriptor

Hi All I have a dedicated backup server running ubuntu 10.04, which has recently been rebuilt (same OS, just different h/w) This is used to receive ufsdump output from a number of Solaris servers, using the following syntax: ufsdump 1uf :/path/to/backup/file /fs/to/be/backed/up This has... (1 Reply)
Discussion started by: in2deep
1 Replies

4. Shell Programming and Scripting

How to auto telnet the server from another server using script

Hi All, I have a problem with auto telnet script, but I want to tell u something a) I am only a member access on the server, so not able to access 'root' account b) not able to install any software on server 3) On server, there is not install 'except' I have to write a script, which is ran... (0 Replies)
Discussion started by: atul9806
0 Replies

5. UNIX for Dummies Questions & Answers

Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server

My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies

6. UNIX for Dummies Questions & Answers

bad upgrade to 8.10 and ubuntu doesn't boot afterwards.

at the end of October i upgraded the distro to 8.10 at first it seemed fine until i restarted my machine the boot seqence started i logged in after that nothing? tried booting again and the same thing happened did i do something wrong during the upgrade to 8.10 did everything the computer asked me... (1 Reply)
Discussion started by: ksnovice
1 Replies
Login or Register to Ask a Question