OpenSSH – Configuring both Server and Client

ssh-icon

Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote command-line login, remote command execution, and other secure network services between two networked computers that connects, via a secure channel over an insecure network, a server and a client (running SSH server and SSH client programs, respectively).

At the Server

Have a seat and login to the server machine to your account. If this is the root account it’s ok for now but if it’s not I suggest to type these commands:

sudo su
passwd

and set a password in order to be able to login as root from now on. If you did so simply logout (Ctrl-D) and login as root by typing su -

Next we’ll need to create a new user that I suggest to have a strange name. In these article I’ll use the name saint for username. To do so type these commands:

useradd -d /home/saint -m -U -s /bin/bash saint
passwd saint

and set a password for this user. Notice that this user doesn’t belong to sudoers so he can’t execute commands that require root account privileges simply by typing his password but if he wants to do so he must know the root’s password and become root by typing su -

Continue reading

Install Adobe Flash Player in GNU/Linux

adobe-flash-iconIn this tutorial I’ll show to you in brief how to install Adobe Flash Player plugin for use with the Mozilla Firefox web browser in a Linux system.

  1. Click this link to navigate to the Adobe – Install Flash Player web page.
  2. Select from the list the .tar.gz version, click the Download now button and save the file to a directory of yours. For this article we’ll assume that it’ll go to ~/Downloads directory.
  3. Open a terminal and navigate to that folder with the command:
    cd ~/Downloads
  4. Type the following commands:
    mkdir -p install_flash
    tar -C install_flash -xzf install_flash_player*.tar.gz
    sudo cp -R install_flash/usr/* /usr
    sudo cp -v install_flash/libflashplayer.so $(sudo find / -mount -name "plugins" -type d | grep mozilla)

That’s it! Now you can watch all your favorite videos or listen to your favorite music with Mozilla Firefox. If you’d like you can do some cleanup with the command:

rm -rf install_flash*