SSHã§ä»ãµã¼ãã«ã³ãã³ããéãæ¹æ³
ãã¤ãã§æ¸¡ã
$ echo command | ssh user@hostname
è¤æ°ã³ãã³ããæ¸¡ã
$ echo "command;command" | ssh user@hostname
sshã®æ©è½ã使ã
$ ssh user@hostname command
è¤æ°ã³ãã³ããæ¸¡ãå ´å
$ ssh user@hostname command1;command2
ããã ã¨command2ã¯ãã¼ã«ã«ã§åãã¦ãã¾ããã®ã§ãæåã¨ãã¦æ¸¡ã
$ ssh user@hostname "command1;command2"