Posts

OSXからwindows7へスマートカードを利用したリモートデスクトップ接続

  • POST
Macからスマートカード認証がかかったWindows端末へリモートデスクトップを行おうとしたが、MS公式のMac版のRemoteDesktopでは、スマートカードをサポートしていなかった。 いくつかリモートデスクトップクライアントソフトを調べたところ、rDesktopがスマートカードに対応しているようなので、導入してみた。 まずはHomeBrewのアップデートを行う。 brew update デフォルトでスマートカード対応がdisableになっているので、./configureのオプションを変更する。 brew edit rdesktop 下記の引数設定の"--disable-smartcard", # disable temporally before upstream fix を"--enable-smartcard"に変更する。 brew install rdesktop あとはコマンドのオプションでscardを指定して接続する。 rdesktop -f -r scard [ip address] altキーがきかなかったので以下を参照して対処。 Rdesktop On The Mac 追記 一度brew editしてしまうと、brew updateしたときに下記のように怒られてしま error: Your local changes to the following files would be overwritten by merge: Library/Formula/rdesktop.rb Please, commit your changes or stash them before you can merge. Aborting Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master ファイルの変更をなかったことにして