以前のリビジョンの文書です
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/handler.php on line
1458
Warning: Declaration of syntax_plugin_note::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line
79
Warning: Declaration of syntax_plugin_note::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line
101
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3120 in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/lexer.php on line
118
A PCRE internal error occured. This might be caused by a faulty plugin
====== sshでshell commandを送る ======
----
鍵認証と組み合わせれば、scriptでの自動処理中にも組み込める。
==== 単一command送信 : ssh 接続先 command ====
例:\\
'' ssh namae@hostname aplay sound.wav ''<-ssh先でsound.wavを再生させる\\
'' ssh hoge echo "I am OK" ''
パイプで渡しても可
'' echo command | ssh hoge ''
==== 複数command送信 : ssh 接続先 "command1;command2:..." ====
"" で囲って、command感は;で区切れば良い
パイプで渡しても可
'' echo "command1;command2" | ssh hoge ''