Question Locked

Linux - Ubuntu question

0 helpful
14 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Ok, sanity check. I loaded Ubuntu on a PC that I want to use for various purposes. One of which is a web server for a small low traffic application.

I loaded the box and set it in place and attempted to telnet to it so that I could begin work on it. Couldn't connect. I did a little research and found that Ubuntu comes with a firewall, ok, I turned off the firewall. Still couldn't connect. I did a remote port scan on this machine and there wasn't a single port open. I went to the machine and scanned it again locally and there still weren't any ports open? WTF?!

I am stumped. I even went so far as to turn the firewall on and create a rule to allow my pc to connect to the Ubuntu box and still nothing. Anybody seen anything like this?

14 replies

by jdclyde

each gives different options.

Telnet allows you to log in as if you were at the console, so you can configure the system without having to sit AT that system, which is what he is after.

I was so overjoyed when I finished the install of my latest server this week, so I could move that noisy pig out of my office! Popping cd's in and out, needed to keep it close up until that point.

by Former member

Please post back if you have any more problems or questions.

by jdclyde

most linux boxes have Telnet turned OFF by default.

You can turn that service back on, but the SSH should still be active, just use that.

Advantage of SSH, you CAN remotely log in as root. Some applications DON'T work correctly if you SU as root. I JUST got bit by that little number last week on SuSE. X-(

by jiminpa

I did try SSH via Putty first and got no where. Is it normal to have no results returned when you do a port scan? I am about ready to dump Ubuntu and dig out my old Red Hat Shrike disks.

I'm also having a bear of a time getting MySQL to start on this beast too but that's a whole other issue.

by dumphrey

and enable it at boot by installing rcconf and running that from a command line or BUM for a gui application. Then use putty as a windows client to ssh into your ubuntu box to make config changes etc.

by dumphrey

unlike many other linux distros.
Apt-get install sshd rcconf bum
then at cmd line run
rcconf
in the ncurses window enable sshd to start at boot.

then
/etc/init.d/sshd start

then you should be able to connect to the linux box with putty.

by jdclyde

I haven't played with Ubuntu, so can only give advice based on SuSe and old Redhat, with some google searches thrown in.

Did you search to make sure the service is running?

Are you behind a firewall? If so, rule of thumb ALWAYS get things working and THEN add in the security. Turn off your firewall, on both the server AND your pc. Packages like zonealarm can stop you from ftp'ing because it won't allow the full connection. The same could result with other services.

Don't think I included this link in other post.

http://www.ubuntugeek.com/setting-up-a-telnet-server-in-ubuntu.html

I would also edit the title to include "telnet/ssh"

Wish I could be more help.

by jiminpa

Where are the packages? I checked the CD and they are not there. Every time I attempt to run the apt-get command for any package the system is looking for I get an error, package not found.

by jiminpa

Dug out my Red Hat "Shrike" disks.

I hate to say this because I love Linux but Ubuntu reminds me a little of Windows. In an effort to make it a little easier for non tech like people to use, it stripped out some things. Only difference is, it ain't exactly intuitive to add components into Linux like it is in Windows.

by jon

By default linux does not leave unused ports hanging open like windows.

This discussion is closed to new replies.