how to take ssh in ubuntu code example
Example 1: How to restart Ubuntu via SSH?
sudo service ssh restart
Example 2: how to connect my ubuntu server to ssh
ssh [email protected]
sudo service ssh restart
ssh [email protected]