# How to authorize root ssh connexion on ubuntu

By
Adrien
  1. Edit sshd_config
nano /etc/ssh/sshd_config
  1. Change PermitRootLogin without-password to yes
PermitRootLogin yes
  1. Restart SSH Service
service ssh restart

# How to configure SSH connexion with certificates

  1. Generate keys
ssh-keygen -b 4096
  1. Copy public key on distant server
ssh-copy-id username@remote_host

Tap yes and enter the distant user's password

Output
Number of key(s) added: 1

Now try logging into the machine, with:   "ssh 'username@remote_host'"
and check to make sure that only the key(s) you wanted were added.

# Deactivate authentication by password

sudo nano /etc/ssh/sshd_config
PasswordAuthentication no
sudo systemctl restart ssh

Opening SSH Connexion with mRemoteNG
https://technotes.khitrenovich.com/opening-ssh-aws-hosted-linux-servers-mremoteng/