Windows7にmingw-getでMSYSのsshとrsyncをインストールする
Windows7上でVagrantとChef(knife-solo)を使うにあたり、sshとrsyncが必要になるのだが、Windows向けのVagrantとChefに同梱されているMSYSには入っていなかったので、改めてmingw-getを使ってインストールしてみた。
MinGW、MSYSとは
Wikipediaを読んでください。
本家のサイトは以下。
mingw-getのインストール
MinGWとMSYSにはmingw-getというパッケージ管理ソフトがあり、これを使って各種アプリケーションのインストールを行う事ができる。
まずは、そのパッケージ管理ソフトであるmingw-getをインストールする為、ここからlatestのインストーラーをダウンロードしてくる。ダウンロードできたらインストーラーを起動。ライセンスを確認しインストールへ。
インストールフォルダ(デフォルトはC:¥MinGW)とGUIの設定をする。
mingw-getはCUIとGUIの両方をサポートしているが、GUIも使いたい場合はここで有効にしておく。また、デスクトップとスタートメニューにショートカットが必要であれば、ここでチェックしておく。ショートカットは自分だけでなく全てのユーザーに作る事もできるようだが、ドキュメントを読むと推奨されていない。
Continueでインストールが始まり、
完了。ここでContinueをクリックするとGUIが起動し、Quitをクリックするとそのままウィザードが閉じる。
GUIはこんな感じ。
インストール直後のフォルダ構成は以下のようになっている。
MinGW ├bin バイナリ ├libexec exeやdllとか ├share ドキュメントとか └var キャッシュ、パッケージ定義ファイルとか
なお、mingw-getはインストールしても自動ではバイナリのあるフォルダのパスを通さないので、インストールが終わったら必ず環境変数PATHにC:¥MinGW¥binを追加する必要がある。勿論、インストールフォルダを変えた場合は、適宜binフォルダの位置を追加する。
mingw-getのアンインストール
ちなみに、mingw-getにはアンインストールする為のプログラムが内包されていない。アンインストールする場合は、インストール先のフォルダを直接削除すれば良い。デスクトップやスタートメニューにショートカットを作っていたら、それらも合わせて削除する。
パッケージのインストール:GUI編
sshとrsyncをインストールする前に、mingw-getを使ったパッケージインストールの手順を一通りメモしておく。
最初はGUIを使った場合。ここではパッケージリストからBasic Setupのmingw32-baseを選択し、MinGWの基本パッケージ群をインストールする。
パッケージを選択すると、下部のペインにはそのパッケージの詳細な情報が表示される。選択したパッケージの□をクリックするか右クリックをすると、ポップアップメニューが開く(メニューバーのPackageと同じ)。
メニューの中からMark for Installationを選択すると、□にインストールマークが表示される。もし、対象を誤った場合は再びポップアップメニューを開いてUnmarkを選択すれば消える。
この状態でメニューバーのInsallationからApply Changesを選択する。
するとアクション選択ウィンドウが開き、インストール対象となるパッケージ群が表示される(アップグレードやリムーブ対象があればそれぞれ表示される)。確認を行い問題が無ければApplyを、変更があればDeferを、中止したければDiscardをクリックする。
DeferとDiscardをクリックするといずれもパッケージリストに戻るが、Dederだとパッケージに付与したマークはそのままで、Discardだとマークが消えてしまう。間違えると場合によっては面倒な事に。
今回は問題無いのでApplyをクリックしてインストールを開始。各パッケージのダウンロードが始まる。
パッケージのダウンロードに失敗すると以下のようなエラーメッセージが表示されるが、OKをクリックするとそのまま次の過程に進行していく。
全てのパッケージのダウンロードが完了すると、ダイアログが表示されてインストールが始まる。Detailsでインストールの過程を確認する事ができる。
全てのパッケージのインストールが完了したらCloseをクリックで終了。パッケージリストを確認すると、インストール済みパッケージは□の色が緑になっている。
ダウンロードに失敗したパッケージはインストールマークがついたままなので、再度インストールを行うなり、Unmarkするなりしておいた方が良い。
パッケージのアップグレード、再インストール、リムーブについても、対象のパッケージにするマークの種別が異なるところ以外は殆ど同様の手順となるので、特に迷わず操作をできるだろう。
MinGWの基本パッケージ群をインストールした直後のフォルダ構成は以下の通り。mingw-get以外のパッケージがビルドされて、ヘッダファイルとオブジェクトファイルの入ったフォルダが追加されている。
MinGW ├bin バイナリ ├include ヘッダファイル ├lib オブジェクトファイル ├libexec exeやdllとか ├mingw32 mingw32-gcc ├share ドキュメントとか └var キャッシュ、パッケージ定義ファイルとか
mingw32フォルダも追加されており、中にはmingw32-gccが配置されている。が、gccはbinにも配置されている。これは恐らくクロスコンパイラとかmingw64ネイティブコンパイラと共存させる為にあるものと思われるが、ちょっと調べた限りでは正確なところがよく分からなかった。
パッケージのインストール:CUI編
続いてCUIを使った場合。コマンドプロンプトからmingw-getを実行してみる(上述したが、バイナリのパスを通し忘れないように)。
C:¥Users¥heroween>mingw-get
と、mingw-getコマンドをオプションもアクションも付与しないで実行すると、GUIが起動する(GUIを有効にしていない場合はエラーのポップアップが出る)。また、GUIが起動した状態でコマンドを叩くとCUI側にロックされているというメッセージが出て実行できない。
mingw-getコマンドの使い方はhelpを見れば大体分かるので参照する。
C:¥Users¥heroween>mingw-get --help Manage MinGW and MSYS installations (command line user interface). Usage: mingw-get [OPTIONS] ACTION [package-spec[version-bounds] ...] mingw-get update mingw-get [OPTIONS] {install | upgrade | remove} package-spec ... mingw-get [OPTIONS] {show | list} [package-spec ...] Options: --help, -h Show this help text --version, -V Show version and licence information --verbose, -v Increase verbosity of diagnostic or progress reporting output; repeat up to three times for maximum verbosity --verbose=N Set verbosity level to N; (0 <= N <= 3) --trace=N Enable tracing feature N; (debugging aid) --reinstall When performing an install or upgrade operation, reinstall any named package for which the most recent release is already installed --recursive Extend the scope of "install --reinstall" or of "upgrade", such that the operation is applied recursively to all prerequisites of all packages named on the command line --download-only Download the package archive files which would be required to complete the specified install, upgrade, or source operation, but do not unpack them, or otherwise proceed to complete the operation --print-uris Display the repository URIs from which package archive files would be retrieved prior to performing the specified install, upgrade, or source operation, but do not download any package file, or otherwise proceed with the operation --all-related When performing source or licence operations, causes mingw-get to retrieve, and optionally to unpack the source or licence archives for all runtime prerequisites of, and in addition to, the nominated package --desktop[=all-users] Enable the creation of desktop shortcuts, for packages which provide the capability via pre- or post-install scripts; the optional 'all-users' qualifier requests that all such shortcuts are to be made available to all users; without it shortcuts will be created for current user only Note that specification of this option does not guarantee that shortcuts will be created; the onus lies with individual package maintainers to provide scripting to support this capability --start-menu[=all-users] Enable the creation of start menu shortcuts, for packages which provide the capability via pre- or post-install scripts; the optional 'all-users' qualifier requests that all such shortcuts are to be made available to all users; without it shortcuts will be created for current user only Note that specification of this option does not guarantee that shortcuts will be created; the onus lies with individual package maintainers to provide scripting to support this capability Actions: update Update local copy of repository catalogues list, show List and show details of available packages source Download and optionally unpack package sources licence Download and optionally unpack licence packages, handling them as if they are source packages install Install new packages upgrade Upgrade previously installed packages remove Remove previously installed packages Package Specifications: [subsystem-]name[-component]: msys-bash-doc The 'doc' component of the bash package for MSYS mingw32-gdb All components of the gdb package for MinGW Version Bounds (for install or upgrade actions): {>|>=|=|<=|<}major[.minor[.rev]][-subsystem-major[.minor[.rev]]]: "gcc=4.5.*" Latest available release of GCC version 4.5.x "gcc<4.6" Alternative representation for GCC version 4.5.x Use 'mingw-get list' to identify possible package names, and the components associated with each. Quote package names with attached version bounds specifications, to avoid possible misinterpretation of shell operators. Do NOT insert white space at any point within any "package-spec[version-bounds]" specification string.
インストールのコマンドも分かったので、今度はMSYSの基本パッケージ群をインストールしてみる。
C:\Users\heroween>mingw-get install msys-base http://prdownloads.sourceforge.net/mingw/msysCORE-1.0.18-1-msys-1.0.18-lic.tar.lzma?download 11.52 kB / 11.52 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/msysCORE-1.0.18-1-msys-1.0.18-doc.tar.lzma?download 7.79 kB / 7.79 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/libiconv-1.14-1-msys-1.0.17-dll-2.tar.lzma?download 518.74 kB / 518.74 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/liblzma-5.0.3-1-msys-1.0.17-dll-5.tar.lzma?download 68.72 kB / 68.72 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/libintl-0.18.1.1-1-msys-1.0.17-dll-8.tar.lzma?download 22.11 kB / 22.11 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/make-3.81-3-msys-1.0.13-bin.tar.lzma?download 76.84 kB / 76.84 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/less-436-2-msys-1.0.13-bin.tar.lzma?download 184.85 kB / 184.85 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/texinfo-4.13a-2-msys-1.0.13-bin.tar.lzma?download 205.63 kB / 205.63 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/tar-1.23-1-msys-1.0.13-bin.tar.lzma?download 136.05 kB / 136.05 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/sed-4.2.1-2-msys-1.0.13-bin.tar.lzma?download 60.97 kB / 60.97 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/xz-5.0.3-1-msys-1.0.17-bin.tar.lzma?download 35.74 kB / 35.74 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/gzip-1.3.12-2-msys-1.0.13-bin.tar.lzma?download 36.39 kB / 36.39 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/grep-2.5.4-2-msys-1.0.13-bin.tar.lzma?download 60.93 kB / 60.93 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/libmagic-5.04-1-msys-1.0.13-dll-1.tar.lzma?download 241.70 kB / 241.70 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/file-5.04-1-msys-1.0.13-bin.tar.lzma?download 103.25 kB / 103.25 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/findutils-4.4.2-2-msys-1.0.13-bin.tar.lzma?download 123.02 kB / 123.02 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/diffutils-2.8.7.20071206cvs-3-msys-1.0.13-bin.tar.lzma?download 92.09 kB / 92.09 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/gawk-3.1.7-2-msys-1.0.13-bin.tar.lzma?download 150.93 kB / 150.93 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/dos2unix-6.0.5-1-msys-1.0.17-bin.tar.lzma?download 41.06 kB / 41.06 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/coreutils-5.97-3-msys-1.0.13-bin.tar.lzma?download 288.85 kB / 288.85 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/zlib-1.2.7-1-msys-1.0.17-dll.tar.lzma?download 39.76 kB / 39.76 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/msysCORE-1.0.18-1-msys-1.0.18-bin.tar.lzma?download 596.49 kB / 596.49 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/termcap-0.20050421_1-2-msys-1.0.13-bin.tar.lzma?download 19.57 kB / 19.57 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/libregex-1.20090805-2-msys-1.0.13-dll-1.tar.lzma?download 35.32 kB / 35.32 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/libtermcap-0.20050421_1-2-msys-1.0.13-dll-0.tar.lzma?download 14.34 kB / 14.34 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/libbz2-1.0.6-1-msys-1.0.17-dll-1.tar.lzma?download 25.98 kB / 25.98 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/msysCORE-1.0.18-1-msys-1.0.18-ext.tar.lzma?download 7.68 kB / 7.68 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/bzip2-1.0.6-1-msys-1.0.17-bin.tar.lzma?download 18.26 kB / 18.26 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/bash-3.1.17-4-msys-1.0.16-bin.tar.lzma?download 231.70 kB / 231.70 kB |================================================| 100% install: msysCORE-1.0.18-1-msys-1.0.18-lic.tar.lzma installing msysCORE-1.0.18-1-msys-1.0.18-lic.tar.lzma install: msysCORE-1.0.18-1-msys-1.0.18-doc.tar.lzma installing msysCORE-1.0.18-1-msys-1.0.18-doc.tar.lzma install: libiconv-1.14-1-msys-1.0.17-dll-2.tar.lzma installing libiconv-1.14-1-msys-1.0.17-dll-2.tar.lzma install: liblzma-5.0.3-1-msys-1.0.17-dll-5.tar.lzma installing liblzma-5.0.3-1-msys-1.0.17-dll-5.tar.lzma install: libintl-0.18.1.1-1-msys-1.0.17-dll-8.tar.lzma installing libintl-0.18.1.1-1-msys-1.0.17-dll-8.tar.lzma install: make-3.81-3-msys-1.0.13-bin.tar.lzma installing make-3.81-3-msys-1.0.13-bin.tar.lzma install: less-436-2-msys-1.0.13-bin.tar.lzma installing less-436-2-msys-1.0.13-bin.tar.lzma install: texinfo-4.13a-2-msys-1.0.13-bin.tar.lzma installing texinfo-4.13a-2-msys-1.0.13-bin.tar.lzma install: tar-1.23-1-msys-1.0.13-bin.tar.lzma installing tar-1.23-1-msys-1.0.13-bin.tar.lzma install: sed-4.2.1-2-msys-1.0.13-bin.tar.lzma installing sed-4.2.1-2-msys-1.0.13-bin.tar.lzma install: xz-5.0.3-1-msys-1.0.17-bin.tar.lzma installing xz-5.0.3-1-msys-1.0.17-bin.tar.lzma install: gzip-1.3.12-2-msys-1.0.13-bin.tar.lzma installing gzip-1.3.12-2-msys-1.0.13-bin.tar.lzma install: grep-2.5.4-2-msys-1.0.13-bin.tar.lzma installing grep-2.5.4-2-msys-1.0.13-bin.tar.lzma install: libmagic-5.04-1-msys-1.0.13-dll-1.tar.lzma installing libmagic-5.04-1-msys-1.0.13-dll-1.tar.lzma install: file-5.04-1-msys-1.0.13-bin.tar.lzma installing file-5.04-1-msys-1.0.13-bin.tar.lzma install: findutils-4.4.2-2-msys-1.0.13-bin.tar.lzma installing findutils-4.4.2-2-msys-1.0.13-bin.tar.lzma install: diffutils-2.8.7.20071206cvs-3-msys-1.0.13-bin.tar.lzma installing diffutils-2.8.7.20071206cvs-3-msys-1.0.13-bin.tar.lzma install: gawk-3.1.7-2-msys-1.0.13-bin.tar.lzma installing gawk-3.1.7-2-msys-1.0.13-bin.tar.lzma install: dos2unix-6.0.5-1-msys-1.0.17-bin.tar.lzma installing dos2unix-6.0.5-1-msys-1.0.17-bin.tar.lzma install: coreutils-5.97-3-msys-1.0.13-bin.tar.lzma installing coreutils-5.97-3-msys-1.0.13-bin.tar.lzma install: zlib-1.2.7-1-msys-1.0.17-dll.tar.lzma installing zlib-1.2.7-1-msys-1.0.17-dll.tar.lzma install: msysCORE-1.0.18-1-msys-1.0.18-bin.tar.lzma installing msysCORE-1.0.18-1-msys-1.0.18-bin.tar.lzma install: termcap-0.20050421_1-2-msys-1.0.13-bin.tar.lzma installing termcap-0.20050421_1-2-msys-1.0.13-bin.tar.lzma install: libregex-1.20090805-2-msys-1.0.13-dll-1.tar.lzma installing libregex-1.20090805-2-msys-1.0.13-dll-1.tar.lzma install: libtermcap-0.20050421_1-2-msys-1.0.13-dll-0.tar.lzma installing libtermcap-0.20050421_1-2-msys-1.0.13-dll-0.tar.lzma install: libbz2-1.0.6-1-msys-1.0.17-dll-1.tar.lzma installing libbz2-1.0.6-1-msys-1.0.17-dll-1.tar.lzma install: msysCORE-1.0.18-1-msys-1.0.18-ext.tar.lzma installing msysCORE-1.0.18-1-msys-1.0.18-ext.tar.lzma install: bzip2-1.0.6-1-msys-1.0.17-bin.tar.lzma installing bzip2-1.0.6-1-msys-1.0.17-bin.tar.lzma install: bash-3.1.17-4-msys-1.0.16-bin.tar.lzma installing bash-3.1.17-4-msys-1.0.16-bin.tar.lzma install: msys-base-2013072300-msys-bin.meta installing msys-base-2013072300-msys-bin.meta
これでインストール完了。インストールするパッケージの名前が分かっていればGUIより少ない手順で済む。
MSYSのパッケージについては、MinGWのインストールフォルダの直下にmsysフォルダが作成されて、そちらの方にインストールされる事になる。
MinGW ├bin バイナリ ├include ヘッダファイル ├lib オブジェクトファイル ├libexec exeやdllとか ├mingw32 mingw32-gcc ├msys MSYSパッケージ ├share ドキュメントとか └var キャッシュ、パッケージ定義ファイルとか
msysフォルダ以下はこんな感じ。
msys └1.0 ├bin バイナリ ├etc 設定ファイル ├postinstall MSYSのインストールバッチ ├sbin バイナリ └share awkスクリプト、ドキュメントとか
MSYSについてもバイナリのパスは自動で通らないので、MinGW同様に環境変数PATHにC:¥MinGW¥msys¥1.0¥binを設定する。MinGWのインストールフォルダを変えていれば(以下略。
sshとrsyncのインストール
mingw-getの使い方が一通り分かったところで、本題であるsshとrsyncのインストールを行おう。
sshとrsyncはMSYSのパッケージがあるので、以下のコマンドを実行してインストールする。
C:\Users\heroween>mingw-get install msys-openssl msys-openssh msys-rsync http://prdownloads.sourceforge.net/mingw/libpopt-1.15-2-msys-1.0.13-dll-0.tar.lzma?download 207.48 kB / 207.48 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/libopenssl-1.0.0-1-msys-1.0.13-dll-100.tar.lzma?download 654.91 kB / 654.91 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/openssl-1.0.0-1-msys-1.0.13-bin.tar.lzma?download 315.05 kB / 315.05 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/openssl-1.0.0-1-msys-1.0.13-doc.tar.lzma?download 238.07 kB / 238.07 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/openssl-1.0.0-1-msys-1.0.13-lic.tar.lzma?download 2.11 kB / 2.11 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/libminires-1.02_1-2-msys-1.0.13-dll.tar.lzma?download 11.40 kB / 11.40 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma?download 274.71 kB / 274.71 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/openssh-5.4p1-1-msys-1.0.13-doc.tar.lzma?download 77.02 kB / 77.02 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/openssh-5.4p1-1-msys-1.0.13-lic.tar.lzma?download 4.79 kB / 4.79 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/rsync-3.0.8-1-msys-1.0.17-bin.tar.lzma?download 163.12 kB / 163.12 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/rsync-3.0.8-1-msys-1.0.17-doc.tar.lzma?download 95.64 kB / 95.64 kB |================================================| 100% http://prdownloads.sourceforge.net/mingw/rsync-3.0.8-1-msys-1.0.17-lic.tar.lzma?download 11.23 kB / 11.23 kB |================================================| 100% install: libpopt-1.15-2-msys-1.0.13-dll-0.tar.lzma installing libpopt-1.15-2-msys-1.0.13-dll-0.tar.lzma install: libopenssl-1.0.0-1-msys-1.0.13-dll-100.tar.lzma installing libopenssl-1.0.0-1-msys-1.0.13-dll-100.tar.lzma install: openssl-1.0.0-1-msys-1.0.13-bin.tar.lzma installing openssl-1.0.0-1-msys-1.0.13-bin.tar.lzma install: openssl-1.0.0-1-msys-1.0.13-doc.tar.lzma installing openssl-1.0.0-1-msys-1.0.13-doc.tar.lzma install: openssl-1.0.0-1-msys-1.0.13-lic.tar.lzma installing openssl-1.0.0-1-msys-1.0.13-lic.tar.lzma install: libminires-1.02_1-2-msys-1.0.13-dll.tar.lzma installing libminires-1.02_1-2-msys-1.0.13-dll.tar.lzma install: openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma installing openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma install: openssh-5.4p1-1-msys-1.0.13-doc.tar.lzma installing openssh-5.4p1-1-msys-1.0.13-doc.tar.lzma install: openssh-5.4p1-1-msys-1.0.13-lic.tar.lzma installing openssh-5.4p1-1-msys-1.0.13-lic.tar.lzma install: rsync-3.0.8-1-msys-1.0.17-bin.tar.lzma installing rsync-3.0.8-1-msys-1.0.17-bin.tar.lzma install: rsync-3.0.8-1-msys-1.0.17-doc.tar.lzma installing rsync-3.0.8-1-msys-1.0.17-doc.tar.lzma install: rsync-3.0.8-1-msys-1.0.17-lic.tar.lzma installing rsync-3.0.8-1-msys-1.0.17-lic.tar.lzma
各々のコマンドを実行しバージョンを確認。
C:\Users\heroween>ssh -v OpenSSH_5.4p1, OpenSSL 1.0.0 29 Mar 2010 usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] [user@]hostname [command] C:\Users\heroween>rsync --version rsync version 3.0.8 protocol version 30 Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 32-bit files, 32-bit inums, 32-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, no IPv6, batchfiles, inplace, append, ACLs, no xattrs, iconv, no symtimes rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details.
これでWindows上でもsshとrsyncが使えるようになった。一先ず目的は達成。
折角MSYSを入れたので、暇があったらminttyを使ってみようかと思うが、その辺りの事は気が向いたら書こう。