I am executing the ssh commands by using the invoke code activity. But it is not executing the “awexe node” command in the ssh.
Please find the snapshot of the code
Are you getting any specific error message?
Does it make sense for you to try out this activity package, just as a test?
I have tried the below activity but,it is not executing the “awexe node” command.
Please find the error from the activity when calling “awexe node”
I see. And just for the sake of full context, the same command will work when you run it from, let’s say Putty?
Yes, it is working fine in putty by manually.
Are other commands working, either with your custom Invoke Code or or the marketplace activity?
Yes, Other commands are working in my custom code activity and market place activity
Could you please share the file and execution of $AW_HOME/site/sosite file
Can you please help me on this
Unfortunately I don’t know the particular application. The only clue here is that it looks like programmatically creating the new session does not initiate some dependencies required to run the command.
I suppose it could help to run the command to first navigate to the proper directory and only then run the command?