Gist

SSH Server on Ubuntu

ssh Server configuration on ubuntu as part of home server setup

Install SSH Server

  • Install openssh-server using following command
sudo apt install openssh-server
  • Setup the config file
sudo sshd -t -f /etc/ssh/sshd_config 
  • Restart the service
sudo systemctl restart sshd.service

Now ssh command from a different machine should work.