107 questions
0
votes
0
answers
89
views
PHP exec() hangs during SSH command execution on RHEL 9 and returns no output or status
I am executing an SSH command on a remote host using PHP’s exec() function inside a foreach loop. Based on a condition, the command runs only during the 4th and 6th iterations. The same SSH command is ...
2
votes
1
answer
419
views
PowerShell - Running Class code locally vs remote
I am working on a class, which has to run both locally and remote. A simplified version is in the code below.
Assuming that:
I cannot start an RDP session to the remote server, but can execute ...
0
votes
1
answer
46
views
Ranorex remote execution of tests
How ranorex executes tests remotely. what is the technology it is using or any mechanism it is using for remote execution??. i want to implement the same in our product
im expecting how the ranorex is ...
1
vote
1
answer
247
views
Unable to Launch or Execute New Window or Applications on Remote System Using Windows PowerShell "Invoke-Command"
In Windows Powershell (admin):
Connect to Remote Windows
$session = New-PSSession -ComputerName "xx.xx.xx.xx"
Attempting Remote Execution
Invoke-Command -Session $session -ScriptBlock {
...
0
votes
1
answer
94
views
SSH Remote Code Execution Script over Jumphost (Nested Quotes)
Consider the following infrastructure:
ServerA ---> ServerB ---> ServerC
I want to get large files from ServerC (thus filtering them first) and save them on ServerA by running a script on ...
0
votes
1
answer
787
views
How to get private IPs of all instances in one remote-exec, terraform, aws
I create with terraform 2 types of EC2 instances; the count of instances is always different. I want to get private IP's of all instances to one of the instances to a file.
For the moment I get IP's ...
0
votes
1
answer
1k
views
How to run node app inside remote-exec using Terraform
I want to automatically run a node app by configuring its steps inside the remote-exec of my Terraform script. However, when I run "terraform apply -auto-approve" I get an "Still ...
1
vote
1
answer
319
views
Is there any way connect to a remote windows server from RHEL and execute a python program that does GUI automation
We have hosted our Jenkins server on an RHEL 7.9. We want to connect to the remote windows server from the RHEL box and execute a python program that uses pywinauto package to manipulate a GUI ...
0
votes
1
answer
1k
views
Execution of python code on remote machines
I'm building a testing suite using Python Pytest library,
my challenge is that I want to run the test on remote windows machines without the overhead of deploying my python code on those remote ...
0
votes
1
answer
418
views
Azure Lamp Stack using Terraform getting file provisioner error timeout - last error: dial tcp 20.237.241.47:22: i/o timeout
I am running Azure Lamp stack using terraform getting
file provisioner error timeout - last error: dial tcp 20.237.241.47:22: i/o timeout
this is the script i have coded, Any suggestions to fix this?...
0
votes
0
answers
544
views
Python running a python script on remote hosts in parallel
I am looking for a way to run a python script on a set of remote hosts in parallel. The script would have the same name each host, but I need it to run on every host at the same time. Can I use Pool:...
1
vote
1
answer
796
views
Invoke-Command not finding script, but it's there
I'm attempting to run a very simple script on a different server and am getting an ItemNotFoundException. Here's my script:
Invoke-Command -ComputerName myserver -FilePath C:\laurietest\testthis.ps1 ...
0
votes
1
answer
2k
views
Not able to connect to remote host via terraform OCI ,remote-exec
I am new to Terraform , OCI .
So I am now trying to ssh on a linux host in my OCI via cloud shell, but that host is in a private subnet. So I am trying below command but getting timeout error.
Could ...
0
votes
1
answer
307
views
Kafka Key access on Ingress of a Python Flink Stateful function
I've been looking at Flink Stateful Functions. It looks super promising - except for one thing - and I hope I'm just missing it.
For the life of me, can't see a way to access the kafka key from a ...
1
vote
1
answer
679
views
Terraform Output linux command option?
Is there any way I can execute a command on remote machine with Terraform and have the result of that command show me by output?
I can use provisioner(remote-exec) to install and run commands on ...