Ubuntu 10.10 & Open Ports

I need to open the SSH port on an Ubuntu 10.10 (Maverick) machine.  How do i do this?
deklinmAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

WebF00LCommented:
sudo apt-get install openssh-server

IF you have ufw active you might have to add

sudo ufw allow 22

//WebFooL Untangle.com Evangelist
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
deklinmAuthor Commented:
SSH is already installed.  I need to open the port to allow the traffic for it.
0
legolasthehansyCommented:
Follow the instructions in this link if you using ufw as the firewall.

http://beginlinux.wordpress.com/2008/11/23/ubuntu-810-uncomplicated-firewall-gui/
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

deklinmAuthor Commented:
sudo: ufw: command not found
0
legolasthehansyCommented:
Try "apt-get install gufw" to install the application using apt-get
0
deklinmAuthor Commented:
if gufw isnt installed then can't I just edit a port config file?
0
legolasthehansyCommented:
gufw is a graphical utility to edit your firewall rules. It is just easier. If you prefer the command line try this, "ufw allow 22"

See if you are able to "telnet localhost 22" first to see if the service is up and running.
Next try telnet host 22 from another machine before and after running ufw allow 22

Good luck
0
deklinmAuthor Commented:
# ufw allow 22
-bash: ufw: command not found

I can telnet to the machine now.  The problem is the machine will only accept telnet connections from one specific IP address
0
legolasthehansyCommented:
So.. it shouldn't be your firewall that is blocking. Have you checked /etc/ssh/sshd_config file and see if there are rules set such as (allow). Also check /etc/hosts.allow and /etc/hosts.deny files.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.