DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
how to pass a variable to remote ssh command
$ echo "$argument" | ssh root@remote_server 'cd /root/dir; xargs -0 ./run.sh'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pass
#variable
#remote
#ssh
#command
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit