-
Notifications
You must be signed in to change notification settings - Fork 170
Description
I'm trying to perform some basic operations using the included lg2 command, but I can't get any of them to work on any git URL (starting with git@). No matter what I do, I always get the same output:
[~/Documents]$ lg2 clone git@github.com:holzschu/a-shell.git
Cloning into ./a-shell.git
ERROR 23: invalid or unknown remote ssh hostkey
Bad news:
invalid or unknown remote ssh hostkey
I first ran into this with a sourcehut git URL but as you can see it doesn't work with github either. With both servers I can validate SSH is working using ssh -T <url>. I can clone over https, but sourcehut requires ssh for read/write access so this isn't an option for me. I've tried various different SSH configs, known_hosts, and git configs, but none made a difference. From what I can tell from the source code, it looks like it should prompt to add the host to known_hosts, but I've been unable to get that to trigger at all. Not to mention it still doesn't work when manually added to known_hosts, or when added when prompted by the ssh command.
I feel like this has to be me doing something stupid, I can't imagine something this basic would be broken without any issues or discussions created.
P.S. thank you for this amazing app <3