Skip to content
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

[forgejo] SSH-Section broken #1869

Open
kimdiallo opened this issue Feb 10, 2025 · 1 comment
Open

[forgejo] SSH-Section broken #1869

kimdiallo opened this issue Feb 10, 2025 · 1 comment

Comments

@kimdiallo
Copy link
Contributor

command="if [ -t 0 ]; then bash; elif [[ ${SSH_ORIGINAL_COMMAND} =~ ^(scp|rsync|mysqldump).* ]]; then eval ${SSH_ORIGINAL_COMMAND}; else /home/isabell/forgejo/forgejo --config=/home/isabell/forgejo/custom/conf/app.ini serv key-1; fi",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,no-user-rc,restrict ssh-ed25519 AAAAC... youruser@yourhost

Does not work as described with the options no-pty,no-user-rc,restrict. The login ends with PTY allocation request failed

@kimdiallo
Copy link
Contributor Author

I take the options directly from the guide, but leave the issue open - in the long term this needs a solution that does not affect the account ssh .

kimdiallo added a commit that referenced this issue Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant