- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- バックアップ を表示
- SSH/PuTTY/RemoteCommand へ行く。
- 1 (2013-07-28 (日) 17:57:04)
* RemoteCommand [#fb91f47c] ** RemoteCommandとは? [#u6d28457] SSHログイン後に、シェル(/bin/bash等)の代わりに実行するコマンド。 ** GUIで指定する [#h1de406e] - PuTTY Configurationダイアログを開く。 - 通常の接続設定を行う。 - "Connection"->"SSH"を選ぶ。 - "Data to send to the server"の"Remote command"に以下のようにコマンドを設定する。 touch 1.txt; touch 2.txt; ls -l - この接続設定を開いてサーバに接続する。 ** コマンドラインから指定する [#ybfa1180] - コマンドファイルを作成する:notepad.exe commands.sh touch 1.txt touch 2.txt ls -l - -mオプションを付けて、サーバに接続する。 plink.exe -m commands.sh 192.168.0.1