# How to push ssh authorized key?

if server is new creation and doesnt have a ssh file.

 mkdir ~/.ssh && touch ~/.ssh/authorized_keys &&
 echo 'ssh-rsa is here' >> ~/.ssh/authorized_keys &&
 chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys

already ssh folder

 echo 'ssh-rsa is here' >> ~/.ssh/authorized_keys

Thanks for reading.