in reply to Re^11: Problem using Net::OpenSSH->capture to su to another user
in thread Problem using Net::OpenSSH->capture to su to another user

I tried with the 0.62 version and also got "Killed by signal 1.". Noticed that if a single command for system, capture or capture2, I don't get the error. But will get error when I run $ssh->system({tty=>1},@cmd) more than one time against same host. "Killed by signal 1." will happen on the last $ssh->system(@cmd) or capture(@cmd) or capture2(@cmd)
  • Comment on Re^12: Problem using Net::OpenSSH->capture to su to another user

Replies are listed 'Best First'.
Re^13: Problem using Net::OpenSSH->capture to su to another user
by salva (Canon) on Jul 02, 2014 at 07:36 UTC
    It is difficult to see what's going wrong without the source code and the full debugging dump.
Re^13: Problem using Net::OpenSSH->capture to su to another user
by Anonymous Monk on Jul 07, 2014 at 20:39 UTC
    I followed the examples in the synopsis and don't see the "Killed by signal 1" any more. Appreciate the responses.