Dear Linaro Team,
does LAVA support ssh access for git to receive test definitions?
e.g. definitions: -repository:ssh://git.linaro.org/lava-team/hacking-session.git from:git path:hacking-session-debian.yaml name:hacking
On Thu, 24 Mar 2016 15:36:52 +0100 Felsch Marco felschm@tqsc.de wrote:
Dear Linaro Team,
does LAVA support ssh access for git to receive test definitions?
e.g. definitions: -repository:ssh://git.linaro.org/lava-team/hacking-session.git from:git path:hacking-session-debian.yaml name:hacking
No, it does not and I'm not sure how that could be expected to work - ssh needs a user & authorisation. Which ssh user is this expected to be doing the clone? How does this get configured at the remote repository?
Cloning a git repo using ssh is typically for read:write operations to allow git push and similar. That is not something LAVA is likely to be doing. There are also security implications of allowing a LAVA test shell to have SSH credentials with third party sites.
What are you trying to achieve? With the example given, git.linaro.org offers http and https. Are you confusing this with the ssh operations used for the hacking session itself? That is your user and your private key authorising against your public key which needs to be included in the job submission.
If what you want is some level of encryption to guard against packet sniffing, https is what you want.
linaro-validation@lists.linaro.org