Ubuntu is a Linux distribution based on Debian and composed mostly of free and open-source software. Ubuntu is officially released in three editions: Desktop, Server, and Core for Internet of things devices and robots. All the editions can run on the computer alone, or in a virtual machine.
sudo adduser deployer
sudo usermod -aG sudo deployer
su deployer
sudo -i
whoami
ssh-keygen
cd ~/.ssh
cat id_rsa.pub
ssh -T git@github.com
Go to your Local PC Terminal:
cd ~/.ssh
cat id_rsa.pub
copy your ssh key
Go to your server PC Terminal:
cd ~/.ssh
sudo vi authorized_keys
pest your key and save (Simple Vim command ESC -> :wq -> enter)
then connect from you pc using ssh key:
ssh deployer@your_ip example: ssh deployer@13.125.22.33