Skip to content

Unable to find gitolite version when PTY allocation is denied #39

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

Conversation

baby-gnu
Copy link

The defaut gitolite behaviour is to set authorized keys with "no-pty"
option.

Trying an SSH connection without a command execute a login shell which
output "Pseudo-terminal will not be allocated because stdin is not a
terminal" error message in addition to the result of the "info" command.

  • lib/libs/git_hosting.rb (GitHosting.gitolite_version): run the "info"
    command explicitly.
  • lib/libs/git_hosting.rb (GitHosting.gitolite_version_output): Ditoo.

The defaut gitolite behaviour is to set authorized keys with "no-pty"
option.

Trying an SSH connection without a command execute a login shell which
output "Pseudo-terminal will not be allocated because stdin is not a
terminal" error message in addition to the result of the "info" command.

* lib/libs/git_hosting.rb (GitHosting.gitolite_version): run the "info"
  command explicitly.

* lib/libs/git_hosting.rb (GitHosting.gitolite_version_output): Ditoo.
@ghost ghost assigned n-rodriguez Jun 21, 2013
@baby-gnu baby-gnu mentioned this pull request Jul 9, 2013
n-rodriguez pushed a commit that referenced this pull request Jul 29, 2013
…no-pty

Unable to find gitolite version when PTY allocation is denied
@n-rodriguez n-rodriguez merged commit 330a177 into redmine-git-hosting:master Jul 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants