LoginSignup
3
5

More than 5 years have passed since last update.

以前、Vagrant Teraterm pluginというのを作りましたが、
これを流用してPoderosa( http://sourceforge.net/projects/poderosa/ )用のプラグインを作りました。

はじめに

Windows では vagrant ssh するにはCygwinやMSYS、Git for WindowsのGit Bashなどを使う必要があります。(Git for WindowsのGit Bashが何かと便利なのでこれで事足りるのですが。)

ただ、sshクライアントとしてPoderosaを使いたい方もいますので、

vagrant poderosa

でPoderosaが立ち上がるプラグインを作ってみました。

インストール

以下のコマンドを実行します。

vagrant plugin install vagrant-poderosa

Vagrantfile

Poderosa.exe のあるフォルダがPATHに追加されていればそのまま実行できます。
PATHを通していない場合はVagrantfileに以下の記述をしてください。

Vagrantfile
Vagrant.configure(2) do |config|
  # exe_path にフルパスを設定
  config.poderosa.exe_path = "C:\\Poderosaのフォルダ\\Poderosa.exe"
  # ...
end

注意点

参考

ソースはPuttyプラグイン(nickryand/vagrant-multi-putty)を参考にさせていただいています。
が、PuttyはOpenSSH形式の鍵を直接扱えないため、苦労されているようです(https://github.com/nickryand/vagrant-multi-putty/issues/15)。

3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5