First update repository and upgrade system
sudo apt-get update
sudo apt-get upgrade
now install open-ssh server
sudo apt-get install openssh-server
then check the status of ssh service by
sudo service ssh status
and if you want to change some settings like listening port, login permissions then edit the /etc/ssh/sshd_config
sudo vi /etc/ssh/sshd_config
now restart the ssh service
sudo service ssh restart
and thats it.
Check out our other posts about SSH :
A Beginners Guide To SSH : How to start with SSH
How to Set up SSH keys on a Linux based Client/Server
How to reconnect to a disconnected ssh session on Linux based SSH Server
sudo apt-get update
sudo apt-get upgrade
now install open-ssh server
sudo apt-get install openssh-server
then check the status of ssh service by
sudo service ssh status
and if you want to change some settings like listening port, login permissions then edit the /etc/ssh/sshd_config
sudo vi /etc/ssh/sshd_config
now restart the ssh service
sudo service ssh restart
and thats it.
Check out our other posts about SSH :
A Beginners Guide To SSH : How to start with SSH
How to Set up SSH keys on a Linux based Client/Server
How to reconnect to a disconnected ssh session on Linux based SSH Server