Skip to content
Vagrant ssh-config Tera Term Language Macro Syntax Version
Ruby HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
templates
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
vagrant-ssh-config-ttl.gemspec

README.md

Vagrant Tera Term ssh-config Plugin

This plugin outputs STDOUT Tera Term Language(TTL) Macro configuration.
This plugin works like ssh-config command output.

Installation

Run following command on your terminal.

vagrant plugin install vagrant-ssh-config-ttl

Usage

C:\path\to\vagrantfile> vagrant ssh-config-ttl > connect.ttl

or

C:/path/to/vagrantproject>vagrant ssh-config-ttl
HOSTADDR = '127.0.0.1'
PORT = '2222'
USERNAME = 'vagrant'
COMMAND = HOSTADDR
strconcat COMMAND ':'
strconcat COMMAND PORT
strconcat COMMAND ' /ssh /2 /auth=publickey /nosecuritywarning /user='
strconcat COMMAND USERNAME
  strconcat COMMAND ' /keyfile="C:/path/to/vagrantproject/.vagrant/machines/default/virtualbox/private_key"'
connect COMMAND
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/wnoguchi/vagrant-ssh-config-ttl.

You can’t perform that action at this time.