Answers for "how to pass a variable to remote ssh command"

0

how to pass a variable to remote ssh command

$ echo "$argument" | ssh root@remote_server 'cd /root/dir; xargs -0 ./run.sh'
Posted by: Guest on July-07-2021

Code answers related to "how to pass a variable to remote ssh command"

Browse Popular Code Answers by Language