On Fri, Jan 26, 2024 at 7:09 AM Stefan lists.lavasoftware.org_23@green-sparklet.de wrote:
Hey Michael,
okay, this one is an easy one: The "S" in SSH stands for secure - thus you have to bother about things like the host key. There's an background article for understanding the details: https://www.ssh.com/blog/what-are-ssh-host-keys It is so into my bones that I forgot to mention it, sorry.
When you run the git clone (or simply SSH with correct user) to your ADO server, you should (once) get a message that the authenticity can't be established and you should be able to acknowledge this. Then the host key will get added to .ssh/known_hosts (don't get confused if you can't find it in plain text there, this file is encrypted). On the next tries, you shouldn't get the message anymore. If you do a 'ssh -v user@ado.example.com' you should also see the line: debug1: Host 'ado.example.com' is known and matches the RSA host key.
For the key password: Yeah, that's another hurdle: You will have to save the key without the password (or create a new one without password if that's easier for you), because LAVA cannot put the password in. If git clone on shell works without further user interaction, it also should work with LAVA.
For your server/dispatcher question: I'm really not sure... My setup is so small that both run on the same machine and thus I don't see any difference.
git clone runs on the dispatcher.
Best Regards, Milosz
Best regards Stefan
On 1/26/2024 2:36 AM, Michael Peddie wrote:
Well, I did all that and made no progress. Keep getting 'Host key verification failed. fatal: Could not read from remote repository.' Whenever I run the git clone command just in the CLI on my lavaserver host (and on the dispatcher), I am required to put in the key password, might this have something to do with that? I don't know much about ssh keys and verification, apologies.
Until then, I have no idea where to go from here. For now I will keep working out of my GitHub repo, but any help to get this sorted would be greatly appreciated, so thank you in advance!
Best regards, Michael _______________________________________________ lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s