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

Add an 'ssh.tty' option to site aliased. #3648

Merged
merged 3 commits into from
Aug 13, 2018
Merged

Conversation

greg-1-anderson
Copy link
Member

Usually Drush decides whether or not to create a tty for remote ssh commands based on whether the current Drush command is running in interactive mode or not. When in interactive mode, a tty is created; otherwise, no tty is created.

Sometimes, a remote server will not grant the ssh user the permission to create a tty. In this instance, it is possible to force Drush to never create a tty via this new option.

Usually Drush decides whether or not to create a tty for remote ssh commands based on whether the current Drush command is running in interactive mode or not. When in interactive mode, a tty is created; otherwise, no tty is created.

Sometimes, a remote server will not grant the ssh user the permission to create a tty. In this instance, it is possible to force Drush to never create a tty via this new option.
@weitzman
Copy link
Member

The code looks like it does not affect non-interactive requests, so the doc is only partially correct.

@greg-1-anderson
Copy link
Member Author

You're right -- I should fix the code to match the docs.

@greg-1-anderson greg-1-anderson merged commit 0fd56c7 into master Aug 13, 2018
@weitzman weitzman deleted the ssh-tty-option branch December 13, 2019 15:44
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

Successfully merging this pull request may close these issues.

2 participants