Generate an SSH Key
ssh-keygen
then
ssh-copy-id -i ~/.ssh/id_rsa.pub user@host
or from windows powershell
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh user@host "cat >> .ssh/authorized_keys"
Generate an SSH Key
ssh-keygen
then
ssh-copy-id -i ~/.ssh/id_rsa.pub user@host
or from windows powershell
type $env:USERPROFILE\.ssh\id_rsa.pub | ssh user@host "cat >> .ssh/authorized_keys"