LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2007, 03:24 PM   #1
cdslaughter
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Telnet (yes telnet) on Ubuntu 7.04


Ok here is the situation.
My employer has me in a Unix shell all day. With this in mind they don’t want me “Experimenting” in there production environment. I believe I can write a few scripts to help me in my daily work activities, but need a platform at home to test it out. I plan on writing a few c-shell scripts in the Linux command shell and then when ready move them to my work environment.

This being said, I have played with Red hat 9 and have a book to explain most questions. However I have decided to try a newer version of Linux (Ubuntu-server) but have run into a problem. I can neither enable telnet (so I can login from my laptop to my old old old desktop) nor enable SSH (Evidently Neither are enabled by default when you load the os fresh).

Now YES I understand that ‘Telnet’ is a old un-secure protocal, but for this instance it will suffice. (No critical data is on this old pc, and even if someone hacked into it, it would most likely hold little or no interest for them.) I cant seem to find the xinet.d dot or the inetd.conf file to enable it. Knowing that SSH was another alternative, I tried it and was not able to connect In both cases my client told me “connection refused”.

Can someone please help me fix this? Possibly a url or an old post. I have downloaded open-bsd (a .gz file) but at the moment I am drawing a blank..

Thanks

C.
 
Old 09-03-2007, 03:36 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
well firstly SSH is nearly always enabled by default, on any modern distro, whilst telnet is not installed at all. i expect you've got a firewall also enabled by defualt which is blocking the access. just check your firewall settings, open port 22 in the gui for it and off you go with telnet. if you do want to install telnet then run "apt-get install telnetd" and that will install a telnet server assuing your internet connection is running fine. also then presumably need to open port 23 for telnet as above.

not as you know telnet sucks the big one, but even more so from your perspective, as with a suitably set up enviroment, ssh can make your job actively a lot easier... set up ssh rsa keys and connect instantly to your box securely without requiring a password, instantly use scp and sftp within the ssh server... map drives over sftp... lots of funky ways ssh makes your life much nicer in a semi automated world compared to telnet.
 
Old 09-04-2007, 01:17 PM   #3
cdslaughter
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Ok I have tried loading the guy (startx as I recall) but that is a no go, tried init 5 but nothing happens. Is there a way to modify the firewall at the command line? I.E. no GUI.

Thanks

C.
 
Old 09-04-2007, 03:17 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
according to google, running "sudo ubuntu-firewall stop" will stop the firewall temporarily... should easily be able to see if that makes a difference.
 
Old 09-04-2007, 03:32 PM   #5
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by cdslaughter View Post
Ok I have tried loading the guy (startx as I recall) but that is a no go, tried init 5 but nothing happens. Is there a way to modify the firewall at the command line? I.E. no GUI.

Thanks

C.
Ubuntu server doesn't come with a gui
 
Old 09-04-2007, 03:38 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
oh really? never knew that... nice / brave move on their part. i wish redhat would follow suit! would make the muppets in my office actually learn something.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to telnet to Linux Host inspite of installing telnet-server RPM - Need Help sinamdar Linux - Software 7 04-11-2009 08:09 AM
telnet supplying arguments to telnet command nasirdaudahmad Linux - Networking 2 04-22-2007 04:12 AM
Running Telnet in a script, want to save Telnet output, howtodothis??? anil3 Linux - Software 2 03-08-2006 05:01 PM
How do I setup telnet on Fedorac1 so I can telnet to it from winxp? mman49 Fedora 6 05-02-2004 01:40 PM
can not telnet localhost 25 but telnet dowell.exper.dynserv.com 25 exper Linux - Software 0 02-25-2004 06:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration