Solved

Ubuntu 10.10 & Open Ports

Posted on 2012-04-03
9
489 Views
Last Modified: 2012-04-19
I need to open the SSH port on an Ubuntu 10.10 (Maverick) machine.  How do i do this?
0
Comment
Question by:deklinm
  • 4
  • 4
9 Comments
 
LVL 3

Accepted Solution

by:
WebF00L earned 167 total points
ID: 37802680
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
 

Author Comment

by:deklinm
ID: 37802697
SSH is already installed.  I need to open the port to allow the traffic for it.
0
 
LVL 11

Assisted Solution

by:legolasthehansy
legolasthehansy earned 333 total points
ID: 37802745
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
 

Author Comment

by:deklinm
ID: 37802868
sudo: ufw: command not found
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 11

Expert Comment

by:legolasthehansy
ID: 37802904
Try "apt-get install gufw" to install the application using apt-get
0
 

Author Comment

by:deklinm
ID: 37802911
if gufw isnt installed then can't I just edit a port config file?
0
 
LVL 11

Assisted Solution

by:legolasthehansy
legolasthehansy earned 333 total points
ID: 37802931
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
 

Author Comment

by:deklinm
ID: 37802938
# 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
 
LVL 11

Expert Comment

by:legolasthehansy
ID: 37802955
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now