I had to resolve this to fix an issue and create a pull request today. These are the steps I took:
- ssh into Zynthian
-
ssh-keygen -t ed25519 -C "user@email.address"
- accept default file path
- enter empty passphrase (to avoid being asked for it each time you pull or commit)
- cat /root/.ssh/id_ed25519.pub
- Copy printed text to copy buffer (highlight and right click on my OS)
- Point web browser at Add new SSH keys (github.com) (login if necessary)
- Add a title (I used
zynthian
) and paste the ssh text into the key field then click Add SSH Key - In zynthian ssh session, change to each zynthian repository directory and enter
git remote set-url origin git@github.com:zynthian/<repo name>
, e.g.
cd /zynthian/zynthian-webconf
git remote set-url origin git@github.com:zynthian/zynthian-webconf.git
A problem (yet to be resolve) is that the passphrase is requested for git pull commands which stops updates working. Anyone know how to fix that?
[Edit] The code block to set all the repos:
cd /zynthian/zynthian-webconf
git remote set-url origin git@github.com:zynthian/zynthian-webconf.git
cd /zynthian/zynthian-ui
git remote set-url origin git@github.com:zynthian/zynthian-ui.git
cd /zynthian/zynthian-sys
git remote set-url origin git@github.com:zynthian/zynthian-sys.git
cd /zynthian/zynthian-data
git remote set-url origin git@github.com:zynthian/zynthian-data.git