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

[Ssh] No tty present and no askpass program specified #358

Closed
roma-glushko opened this issue Jun 9, 2016 · 1 comment
Closed

[Ssh] No tty present and no askpass program specified #358

roma-glushko opened this issue Jun 9, 2016 · 1 comment

Comments

@roma-glushko
Copy link

I've tried to configure postfix on my removed host via SSH:

public function configEmailForwarding()
{
$this->taskSshExec('s', 'dev')
->port(self::PORT)
->exec('cat /etc/postfix/virtual_forwardings.pcre')
->exec('cd /var/spool/postfix/pid')
->exec('sudo rm master.pid')
->exec('sudo service postfix restart')
->run();
}

Then I've executed this action:
robo.phar config:email-forwarding
and I've got the following issue:

sudo: no tty present and no askpass program specified

So It couldn't show me request for password.
Any ideas why?

@greg-1-anderson
Copy link
Member

Out of scope for this issue queue.

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

No branches or pull requests

2 participants