Displaying 1 result from an estimated 1 matches for "unsuscesful".
Did you mean:
unsuccesful
2012 Feb 08
1
Having issues with remote command execution - ssh -t host 'sudo command'
...the same specs,
sometimes deamons are executed succesfully and sometimes not. I am using
the following command:
ssh -t -vvv "$host" 'sudo /usr/local/sbin/program'
which asks me for a pass and then continues. From the debug log I can see
that the difference from a successfull and unsuscesful run depends on
sequence of the following code blocks. If successful first runs code block1
and then block2, otherwise the opposite.
code1:
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output d...