On 09/10/2022 14.32, Bruce Labitt wrote:
I am trying to accomplish this and am running into a couple of problems. Following the instructions at: https://www.linuxfoundation.org/blog/blog/classic-sysadmin-how-to-run-your-own-git-serverSpecifically, the command $ cat ~/.ssh/id_rsa.pub | sshgit@remote-server "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" fails with the message bash: /home/git/.ssh/authorized_keys: Permission denied
I don't know about git server (probably just a host with SSH access?), but copying your public key to remote host can be done with:
ssh-copy-id -i ~/.ssh/id_rsa.pub git@remote-server It always worked. Good luck, -- Šarūnas Burdulis math.dartmouth.edu/~sarunas
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ gnhlug-discuss mailing list [email protected] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
