We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CentOS and RHEL reject sudo commands without tty, which I used to avoid like so,
sudo
remote.exec('sudo systemctl restart api', { exec: { pty: true } });
but this has stopped working.
If I change this line: https://github.com/pstadler/flightplan/blob/master/lib/transport/ssh.js#L55, like so,
self._connection.exec(command, { pty: true }, function(err, stream) {
then it works. Are you able to make it possible to pass ssh2 options in through the transport.sudo command? Thanks.
ssh2
transport.sudo
The text was updated successfully, but these errors were encountered:
I removed this feature with 0.5.0 but I can add it again to the exec/sudo commands.
Sorry, something went wrong.
Should be there again with 0.5.5.
No branches or pull requests
CentOS and RHEL reject
sudo
commands without tty, which I used to avoid like so,but this has stopped working.
If I change this line: https://github.com/pstadler/flightplan/blob/master/lib/transport/ssh.js#L55, like so,
then it works. Are you able to make it possible to pass
ssh2
options in through thetransport.sudo
command? Thanks.The text was updated successfully, but these errors were encountered: