when performed remote ssh
command linux server windows 1 result command not emptied allocated channel. ssh command :
ssh -vvv -o batchmode=yes -o connecttimeout=40 -o gssapiauthentication=no $1 'cmd.exe /c echo 0'||echo 1 2>>$temppath/$errorfile
from debug of ssh command have observed line:
debug1: channel 0: forcing write
it's not present.
instead line present when same command performed succes on windows server. debug ssh log have noted ssh authentication publickey has had succeeded despite result not sent back. important thing the shell script, contains loop of tests of ssh connection, perfomed calling ajax jquery command html page.
if same script directly performed linux prompt command windows servers, of loop, reply correctly ssh command. iinstead doesn't happen when runnig broswer. take in account "daemon user" used run script broswer, same used run script prompt command. hope me solve issue.
Comments
Post a Comment