Low level (?) error "Error int getting (TCGETA) tty params" executing scripts remotely with SSH and sudo



We are using ssh to start scripts remotely on a bunch of servers. Commands
cans be things like

ssh mpm ls -ld

Or

ssh mmsgui@mpm sudo /etc/init.d/serverControl.sh status

The examples above work perfectly and result in the desired output.

On the other hand, the following command, which works perfectly on the local
machine, does not work with ssh and produces the following output (first the
command).

ssh mmsgui@mpm sudo /opt/MPMServer/bin/MPMGuiIhm -c status
Error int getting (TCGETA) tty params: Invalid argument
status

MPMServer IHM module: version 3.0
Starting up...
openning logfile...done

MPMihm Exiting...


Cordialement,

Ragnar Moller

Til: + 33 1 69 93 75 73 / ECN 879 5206
Mobile: + 33 6 50 86 47 24
Fax: + 33 1 69 93 70 10
Sicr: + 33 1 69 93 76 01
Email: ragnar.moller@xxxxxxxxxxxx
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Remote Execution of sudo Command Hangs.
    ... One is trying to use ssh and sudo to ... If you run it via ssh from a remote system, however, it ... Reading the expect manual shows an exit command but also ...
    (freebsd-questions)
  • Re: ssh and sudo not working together....
    ... > I have this so far but it is not allowing sudo, ... > is NET::SSH or that RSA type of SSH we are running? ... for that command to interact within. ... -T Disable pseudo-tty allocation. ...
    (perl.beginners)
  • Re: Really need help on this one
    ... Is there a way to read the output of a particular command into ... Heres a better example using ssh. ... set timeout $timeout ... exec kill -9 $pid ...
    (comp.lang.tcl)
  • RE: midnight commander and ssh sftp
    ... midnight commander and ssh sftp ... which is displayed at the bottom of the MC panel. ... "Left file command options right" at the top of the MC ... MC SSH session with the remote host by hitting F10 key. ...
    (freebsd-questions)
  • Re: [Info-ingres] problems with ssh
    ... Check the SSHD log on the server for errors. ... ancient version of SSH, unfortunately. ... the command seems to have functioned - but just wont terminate and leaves a process hanging around. ... Duckman: You got anymore of those glues? ...
    (comp.databases.ingres)