Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Create the SSH directory with the ssh command:
ssh user@123.456.78.90 'mkdir -p ~/.ssh'
Use the scp command to copy the key:
scp ~/.ssh/id_rsa.pub user@123.456.78.90:~/.ssh/authorized_keys
how do i disable the password login for the user and only auth on the ssh key.
Edit the /etc/ssh/sshd_config file, find
PasswordAuthentication yes
and set it to no.
i use serverpilot for managing the application and that requires auth through a password so if i set PasswordAuthentication No and then the server pilot agent can’t login anymore
I asked Justin Samuel of ServerPilot about this and he said
ServerPilot will continue to work with SSH “PasswordAuthentication no”.
If you want to confirm shoot an email to support at serverpilot dot io