I used in my bash script the follwing cli , in order to send the public key to remote machine
sshpass -p $pass scp /root/.ssh/authorized_keys root@$remote_host:~/.ssh/authorized_keys
but since we want to append the public keyes from other host then I am searching the approach top append
in bash I know that the option is to use ">>" but how to use the append with my approach ?
or maybe other solution ?