May 11, 2017

[HDGEM] How to Execute Remote Command or Script by SSH – Linux

Run multiple command on a remote host over SSH:
$ ssh [email protected] 'COMMAND1; COMMAND2; COMMAND3'
– or –
$ ssh [email protected] 'COMMAND1 | COMMAND2 | COMMAND3'
– or –
$ ssh [email protected] << EOF  COMMAND1  COMMAND2  COMMAND3  EOF

Posted By Blogger to HDGEM at 5/11/2017 02:20:00 PM
Post a Comment

Featured Post

Trading volumes of most major cryptocurrencies across leading exchanges remain low overall

Bitcoin's daily trading volume has been relatively low