Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wnoguchi/vagrant-ssh-config-ttl

Vagrant ssh-config Tera Term Language Macro Syntax Version
https://github.com/wnoguchi/vagrant-ssh-config-ttl

ssh teraterm vagrant

Last synced: about 1 month ago
JSON representation

Vagrant ssh-config Tera Term Language Macro Syntax Version

Awesome Lists containing this project

README

        

# 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.