.. _Configure ssh server - Linux: Linux Client - Configure ssh server =================================== On each client running Linux, we login as the local user we have created during the installation. We do the following: * :ref:`Start Terminal` * :ref:`Activate root account - Ubuntu only` * :ref:`Install ssh server - Linux` .. raw:: latex \newpage % hard pagebreak at exactly this position .. _Start Terminal: Start Terminal -------------- .. |image1| replace:: image 1 .. _image1: ../../../../_static/screenshots/local_network-gnome-startterminal.png .. |image2| replace:: image 2 .. _image2: ../../../../_static/screenshots/local_network-unity-startterminal.png We start the terminal as follows: * **Gnome** (*Ubuntu 10.04 - lucid, Debian squeeze*) : From gnome menus we start terminal by going to **Applications / Utilities / Terminal**. (|image1|_) * **Unity** (*Ubuntu 12.04 - precise*) : From unity search bar we type **terminal** and press enter.(|image2|_) We can drag and drop the terminal icon to the left side bar, since we will be using it a lot. .. tabularcolumns:: |p{160pt}|p{160pt}| .. list-table:: :header-rows: 0 :widths: 200, 200 :class: center * - .. image:: ../../../../_static/screenshots/local_network-gnome-startterminal.png :width: 160pt :height: 100pt :alt: Gnome - Start terminal :target: ../../../../_static/screenshots/local_network-gnome-startterminal.png - .. image:: ../../../../_static/screenshots/local_network-unity-startterminal.png :width: 160pt :height: 33pt :alt: Unity - Start terminal :target: ../../../../_static/screenshots/local_network-unity-startterminal.png * - image 1 - image 2 .. _Activate root account - Ubuntu only: (Ubuntu Only) - Activate root account ------------------------------------- Ubuntu by default, uses **sudo** to execute commands with administrative priviledges and has **root** user account disabled. We will enable **root** user account as follows: From a terminal we execute .. code-block:: bash sudo passwd We type the password of the sudo user we are logged in, and then we type twice a new password for user **root**. [c1]_ .. note:: Password for the **root user** must be rather difficult for security reasons. If we have dual-boot clients with Windows and Linux OS, we select the same password for the **root user** to both Linux and Windows OS. We use the same root password on all client PCs. .. _Install ssh server - Linux: Linux - Install ssh server -------------------------- To install **openssh server** we do the following: From a terminal we login as root [c13]_ and execute .. code-block:: bash apt-get update && apt-get install openssh-server .. raw:: latex \newpage % hard pagebreak at exactly this position