To add some quality of life when transfering files and accessing my server, I set up key based authentication.
I already had my keys created as I was using them for another server. In case you still need to create yours, you can type:
To add your public key to the remote server from Windows, you can use this PowerShell:
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh your-user@remote-server "cat >> .ssh/authorized_keys"
If you’re on a linux host, them you can rely on OpenSSH and use the command bellow:
2022-03-05 00:56 (Last updated: 2022-07-07 23:31)