can someone please translate this system statement to me:
“The SSH server on this machine permits password-based login. A more secure way to log in is using a public key. Add your SSH public key to $HOME/.ssh/authorized_keys, check that you can log in without a password, set the option ‘PasswordAuthentication no’ in /etc/ssh/sshd_config, and then restart the openssh via ‘sudo service ssh restart’.”
What is public key ?
What is SSH public key ?
Will it affect user logging in to mailboxes ?
What is sudo service ssh restart ?