-
Notifications
You must be signed in to change notification settings - Fork 913
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
Pseudo-terminal will not be allocated because stdin is not a terminal. #1655
Comments
@rootameen try |
the jsch plugin does not allocate a pseudo terminal, unless you are using the "sudo" authentication feature (so it can input a sudo password.) You can either: try using the system |
@rootameen what @gschueler means is:
|
@scalp42 👍 |
@scalp42 @gschueler how can I provide identity file to the command? it is defined in project.ssh-key-storage-path |
The "Allocate Pty" project config setting should cause a TTY for all the connections. |
has any solution for gitlab-ci.yaml file that error ? |
Edit: updating comment/title because of new findings:
Hi guys.
I have a command that can only run through ssh -t from rundeck server to node. However, when adding it to a job either as a remote script or executing locally using ssh -t I get the error:
Pseudo-terminal will not be allocated because stdin is not a terminal.
when I add -t -t which should force it I get: tcgetattr: Invalid argument
How can I force jsch/rundeck to use ssh -t or just use the default ssh connection in the system?
The text was updated successfully, but these errors were encountered: