Install NTP, openSSH-server, and Java JRE on Ubuntu 9.10

3. Install the openSSH server – On Ubuntu 9.10, the openSSH client is already installed. That allows you to initiate SSH connections to another PC in the network running an openSSH server. However, if you want your PC to accept SSH connections from another computer, you’ll need to install the server. The openSSH server is not available in the Ubuntu Software Center. To install it, you will have to use Synaptic (System > Administration > Synaptic Package Manager) or the command line.

This time, let’s try the installation from the Linux command line. Launch a shell terminal (Applications > Accessories > Terminal) and type in the following command: sudo apt-get install openssh-server.

Keep in mind that because IPTables (netfilter), the firewall application, is active and denying all remote connection requests to your PC, you’ll need to punch a hole in the firewall before SSH connections will be accepted. You can do that from the command line via ufw, the Uncomplicated FireWall, or from Gufw, its graphical interface. Gufw is not installed by default. How to install a graphical firewall client on Ubuntu 9.10 will help you with the installation.

To create the SSH rule, launch Gufw from System > Administration > Firewall configuration. The interface below shows that the default policy is to deny all remote connection requests. To create a rule, click on the ‘Add’ button.

Gufw
Gufw

In this case, we want to create a specific rule. That rule is this: Allow SSH connections (TCP or UDP) from a specific IP address within the local network to the SSH server running on the Ubuntu PC. Note that by default, the openSSH server is listening on port 22. It is not necessary to specify a port number in the ‘from port’ field when selecting ‘Both’ (implies TCP or UDP) in the protocol selection box. The screenshot below shows how the rule was created for this test.
Because this is a very specific rule you’ll be creating it from the ‘Advanced’ tab.

Creating a rule to allow SSH connections
Creating a rule for openSSH

Here’s the main window of Gufw showing the newly added rule. Now you can make SSH connections to the PC from the configured remote PC.

SSH rule on Gufw

Did you find this tutorial useful? Good. How about subscribing to the RSS feed to have more like it delivered automatically to your RSS reader.

Related Posts

How to uninstall the overlay-scrollbar in Pear Linux 6 and Ubuntu 12.10 Pear Linux is a desktop distribution based on Ubuntu Desktop. The latest edition of both distributions - Ubuntu 12.10 and Pear Linux 6, were released ...
How to change the height and position of the KDE panel You would think that the process involved in changing the height and position of the KDE panel should not need documentation, but apparently, it does....
How to install Fedora 15 on an encrypted btrfs file system Fedora 15, the latest stable release of the Red Hat-sponsored Linux distribution, is the first Fedora release to have btrfs, the B-tree File System (a...
Manual full disk encryption setup guide for Ubuntu 13.10 & Linux Mint 16 This tutorial presents a step-by-step guide on how to configure full disk encryption manually on Ubuntu 13.10 and Linux Mint 16. It will also work for...
2 productivity-boosting extensions for GNOME 3 Even with the latest version of GNOME 3 looking a whole lot better than earlier versions, I still find that it is not suitable for my daily desktop co...
Ubuntu 11.10: Screenshot preview Ubuntu 11.10 Alpha 2 was recently released for the brave and adventuresome to test. I did not do much of a testing, but ran the system in a virtual en...

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


2 Comments

  1. I can easily install NTP (Network Time Protocol, a means of transmitting time signals over a computer network) using yum command under Redhat or CentOS/Fedora core Linux.

  2. Pingback: Install NTP, openSSH-server, and Java JRE on Ubuntu 9.10 … VX China

Leave a Comment

Your email address will not be published. Required fields are marked *

*