Created
December 19, 2018 05:56
-
-
Save YumaInaura/607c53c3ae71c784d873fb82a49f0cb9 to your computer and use it in GitHub Desktop.
シェル の ssh 接続「先」でコマンドを直接実行するワンライナー ref: https://qiita.com/YumaInaura/items/246564efe6441982d57b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh 127.0.0.1 echo OK! OK! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh 127.0.0.1 "echo OK OK" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh 127.0.0.1 "echo" "OK" "OK" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment