Installation & Configuration SSH Remote login server on Linux

ssh-mitm

SSH

Short for Secure Shell, SSH (developed by SSH Communications Security Ltd.) is a secure protocol for remote logins. Using an SSH client, a user can connect to a server to transfer information in a more secure manner than other methods, such as telnet. The image to the right is an example of how an SSH session, which uses a command line interface, may look.

Installation

sudo apt-get install openssh-server

sudo apt-get install openssh-client
sudo apt-get install ssh-import-id

Start/Stop ssh service

sudo service ssh start    

sudo ps -e |grep ssh
sudo service ssh stop

Configuration

Edit sshd_config file

sudo vim /etc/ssh/sshd_config

PermitRootLogin yes

Enjoy