• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 499
  • Last Modified:

Ubuntu 10.10 & Open Ports

I need to open the SSH port on an Ubuntu 10.10 (Maverick) machine.  How do i do this?
0
deklinm
Asked:
deklinm
  • 4
  • 4
3 Solutions
 
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
 
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now