Latest Reviews & Tutorials

  • Still in search of that perfect desktop distribution
  • The first thing to do after installing Linux Mint Debian 201204
  • Linux Mint Debian 201204 Xfce review
  • What will ‘rm -rf /’ actually do to your Linux/BSD machine?
  • Linux Mint Debian 201204 MATE/Cinnamon review
  • What’s the point of having 2 scrollbar types in Ubuntu 12.04?
  • Install the latest and greatest Cinnamon desktop on Ubuntu 12.04
  • How to run Linux Mint Debian Cinnamon in VirtualBox
  • Manual disk partitioning guide for Linux Mint Debian
  • Chakra Archimedes-2012.04 review
  • How to install Takeoff Launcher on Kubuntu 12.04
  • Replace Oxygen with ROSA theme on any KDE-powered distribution
  • 5 user-friendly applications you could be using now
  • ROSA Desktop 2012 beta review
  • How to install Jitsi in Fedora
  • Install Jitsi 1.0 in Debian, Linux Mint and Ubuntu
  • 3 minutes with GNOME 3.4 built-in desktop recorder
  • How to install and configure a graphical firewall client on Comice OS 4
  • Tweak Pear Linux Comice OS 4 dock
  • Pear Linux Comice OS 4 review

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


I am reading page: 1 2

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.

0saves
To have articles like this delivered automatically to your Feed Reader or Inbox, subscribe via RSS or email. For simple comments, use the commenting system, but for more involved assistance, please use the Question & Answer section.
I am reading page: 1 2

Posts From The Same Category:




Advertisement

1 Comment

  1. vita says:

    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.

Leave a Reply

Trackbacks

  1. Install NTP, openSSH-server, and Java JRE on Ubuntu 9.10 … VX China
  2. how to configure NTP
Read previous post:
simplicITy: A Linux-powered computer for the elderly
Microsoft Patents Sudo?!!
Mandriva Linux One or Mandriva Linux Free
Close