I'm trying to write a script to place my public key into the authorized_keys of a remote host, but I'm not sure how to do it without copying the file to the remote host or overwriting the authorized_keys already there.The template of my script is basic:#! /bin/bashssh user@host << EOF    do stuffEOFIf the file was on the remote host, I'd just do:cat id_rsa.pub >> authorized_keysBut I want to do it without writing the file to the remote host.Can anyone help?
Add public key to remote server authorized keys without saving file there
ssh;authorization