Actions
Bug #6104
closedceph-deploy should workaround pseudo-tty in SSH
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When connecting to a host that does not allow `sudo` over SSH, returning an error similar to:
[remote] sudo: sorry, you must have a tty to run sudo
pushy does not allow to pass a flag to the native SSH client, so the only two options for the workaround are:
- Detect if the user is connecting as `root` so we don't need to `sudo` every command.
- Uncomment the ssh configuration that allows non-tty execution of sudo.
Upstream issue created in pushy: https://github.com/axw/pushy/issues/46
Actions