Project

General

Profile

Actions

Bug #6104

closed

ceph-deploy should workaround pseudo-tty in SSH

Added by Alfredo Deza over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
ceph-deploy
Target version:
-
% 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

Also available in: Atom PDF