Sample Header Ad - 728x90

Starting a background job on the remote host over ssh hangs the calling script

1 vote
2 answers
1341 views
I have this code : ``` for i in $ipb $ipc $ipd; do ssh -i ~/.ssh/'key' 'name'@${i} /bin/bash Enter to be able to type other commands. The problem is not Redis-related, but most likely comes from how the script is written, so no need to know about Redis for this one I think.  Ssh is also working fine. What must I change to make it run all three commands (one on each IP address)?
Asked by aveillon (21 rep)
Mar 24, 2021, 01:20 AM
Last activity: Jan 3, 2025, 07:08 AM