On Wed, Dec 9, 2015 at 7:30 PM, Brian McQueen <mcqueenor...@gmail.com> wrote:
> When getting a list of IPs from an API, I've been using sed something like
> this:
>
> getIpsFromAPI -env myEnv | sed 's/^/thisUser@/' | parallel --tag --nonall -S
> - shell command
>
> It would be nice to have a cli option to work this way:
>
> getIpsFromAPI -env myEnv | parallel --tag --nonall -S - --ssh-user thisUser
> shell command

Try instead:

    | parallel --tag --nonall -S - --ssh 'ssh -l thisUser' command

/Ole

Reply via email to