What is SSH..?
Have You Ever Wondered,How to remotely connect to your server ? Most of the time, we will never touch server once it is configured.It's gonna stag in server room. All the necessary actions to ther server like stopping and starting web server,Installing new Packages,Changing host entries all done via remote access.Installation:
Setting up SSH service is very straight forward. We just have to install a program called openSSH. Its a program that actually implements SSH protocol. Based on your linux distro,you have to type particular command and install the program.Debain / Ubuntu
sudo apt-get install openssh-serverFedora / RedHat
yum install openssh-server
Start/Stop/Restart/Checking status of SSH service
If you wonder whether your server is already running or if you want start/stop/restart the service use the following command line1.Know the status
service ssh status2.Restart the service
service ssh restart3.Start/Stop service
service ssh stop
service ssh start
Configure openSSH
By default service is gonna run with basic configuration.To override default configurations like port number (22), Authentication types, Banner Message etc,You have to change sshd_config file which is located in /etc/ssh
For Detailed description on installation and configuration proceed with this video.