QUESTIONS
How can I change my server login from password to SSH key?
How can I create a server with only ssh-key authencification?
Where do I setup the ssh key access for my server?
LINKS Linux administration
Typically, when renting a vServer, you can't create a server with only ssh-key authencification.
Usually you need one with a password to change the login type.
Disable Password
Open the ssh settings in the text editor nano: root@server:$nano/etc/ssh/sshd_config
Find the two properties in the file (scroll lines with up/down) and set their values to:
PasswordAuthentication no
PermitRootLogin prohibit-password
Now restart the sshd service, else it won't work!
root@server:$systemctl/tv--app> reloadsshd
APP | VERSION Linux/Ubuntu 22
RELATED TAGS linux, https, server, remote
QUESTIONS
How can I change my server login from password to SSH key?
How can I create a server with only ssh-key authencification?
Where do I setup the ssh key access for my server?