Re: poudriere using git+ssh and private key?
Michael Gmelin <[email protected]> Thu, 18 Jun 2026 12:03:12 +0200
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
> On 18. Jun 2026, at 11:51, Ronald Klop <[email protected]> wrote: > > Hi, > > I'm improving my poudriere setup to get the ports tree via git+ssh. > > poudriere ports -c -f "dummypool/poudriere/ports/branchX" -m git+ssh -B "branchX" -p "test" -U ssh://ronald@<githost>/usr/ports > > This works from the command line, but it all runs from Jenkins so I don't want interactive passwords for ssh. > How do I pass an ssh private key to the git/ssh invocation? Two simple options: 1. Change ~/.ssh/config to include the private key 2. And/or load the private key into ssh-agent -m