-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS Orgalore doesnt work - Bug #32
Comments
Why are you providing the public key? |
@prologic You can see in the above even with no key provided it still fails, but good point.
|
Is your key passphrase protected? |
@prologic No |
I'll try on my Mac soon and see |
Seems to work okay for me:
|
I regenerated my SSH key and created a new cloud VSI, made sure orgalorg is up to date but still unable to auth with orgalorg.
|
Tried with
|
Does verbose logging |
@prologic No, that would be great to add.
|
What does the remote end have to say when you attempt this via |
Jul 24 07:11:23 lamar22 sshd[1021]: rexec line 16: Deprecated option UsePrivilegeSeparation |
This is with ssh op@IP -p2266
|
Hmmm 🤔 Bit puzzling 🤷♂️ |
Same. If im reading the logs right it seems like orgalorg isnt using the key file? |
Did you manage to sort this out? 🤔 |
Does the same setup work on Linux? |
Do you have a ssh-agent daemon running? You can start it and check the command again: It is not required to have ssh-agent running, but orgalorg has lots of logic required to ssh-agent too. |
I'm having the same issue. Yes the same setup works for linux. I'm using orgalorg with our CI/CD from gitlab and it's working in multiple different docker containers as well as on hosts themselves. But I cannot for the life of me get it to work locally on mac os. |
@Allieway could you take a look at this question? #32 (comment) This information could help with the debugging. |
This all looks strange, I'm operation on cluster with over 300 nodes by using orgalorg and all fine, with key or userpass auth. |
I haven't been able to reproduce either 🤔 |
I hope to debug this issue some more later, but my theory is this is some sort of cipher mismatch or deeper SSH compatibility issue with the instance/machine you're attempting to connect to. If I spin up an instance that has a more modern version of SSH, I get the same issue. But if I attempt to use orgalorg to connect to an older instance, I have no issues. I also receive this same error if I attempt to use orgalorg to connect to (a newer SSH instance/machine) from a linux host as well - not just MacOS. (Which furthers my belief that this is related to something deeper within SSH.) |
I don't have a mac anymore, I'm over a year late on commenting here, and it's been about the same amount of time since I used orgalorg. But I'll add some more details from my memory. @kovetskiy Yes, ssh-agent daemon was running when I had the issue. I believe I tried all forms of authentication orgalorg offered when I tried it. @joshskidmore I like where you're going with that idea. I was trying the same hosts from MacOS as I did multiple docker images and some of the hosts themselves. All but MacOS worked. Maybe the linux host josh ran into the same problem with is an older SSH version itself but my docker images and hosts were all newer? I was able to regularly ssh and scp as well as use pssh with the hosts, maybe that helps somehow? I hope I helped a tiny bit, I loved using orgalorg when I did and this issue was a blocker to easily test prior to pushing CI changes. |
Expected behavior:
I cant seem to get orgalorg to work on Mac. Tried by installing via go get and via the binary.
Bug:
Running the same command from Ubuntu 20.04 works.
SSH-ing normally from my Mac to 55.55.55.55 works
ssh [email protected] -p2266
< - works.orgalorg seems to not be able to find the key file? Even specifying the keyfile in the command line manually doesn't work. Not specifying in the command and letting orgalorg picks the default still doesnt work.
The text was updated successfully, but these errors were encountered: