-
Notifications
You must be signed in to change notification settings - Fork 144
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
Permission denied accessing config, while documentation states it is open by default. #55
Comments
hey @Temporalin did you maybe pass the key path? It seems that |
No, I did not set any environment variables |
@Temporalin do you have any ssh keys generated on your machine? By default we allow access to any public key, but no password only. I agree the docs should be clearer and specify that you need to at least have an ssh key generated. |
Yes, I have keys in Edit: sorry, just when I sent this answer I remembered that I should be able to clone the config repo, I have to try that first |
I should try multiple keys until it finds one that works (which should be the first one in the default config). Can you try |
I just tried again and it looks like It doesn't accept any of my previously generated SSH keys. I have two, none of them are the default I can I've edited the log so it doesn't show any identifying information
|
I faced this issue as well. soft-serve appears to not accept RSA ssh keys AT ALL, which isn't specified in the documentation. Generating a Ed25519 key and adding that to the config repo allowed normal usage. I'm going to assume it's unintentional since the documentation shows RSA keys as being valid inside the config, and the issue likely lies in an underlying cryptography library. |
Likely its the same issue as #48 We should in fact improve the readme until the fix on x/crypto lands... |
Hi |
The documentation states the following:
I can run the server, but when I try to connect, either with
ssh localhost -p 23231
or clonning the config repo withgit clone ssh://localhost:23231/config
, it prompts me for a password, and no matter what I input, it saysPermission denied
.I've been able to connect to the server after editing the configuration using a direct folder clone (
git clone /home/myuser/.repos/config
) and settingallow-keyless
toTrue
and restarting the server.I'm not sure if the solution should be updating the documentation or changing the default behaviour, but in any case something should be changed.
I hope this report helps, thanks for the nice program!
The text was updated successfully, but these errors were encountered: