mercredi 23 avril 2014

sudo (throw ssh) : no tty present and no askpass program specified


Vote count:

0




I would like to execute a command like that :



tar cj . | ssh -t "user@host" 'tar xj && sudo bash install.sh'


It returns sudo: no tty present and no askpass program specified.


I guess the problem comes from tar cj . | but I don't know how to resolve... Any suggestions ?



asked 1 min ago

JoJoS

391





Aucun commentaire:

Enregistrer un commentaire