Sha256: 10bd39e1105da7ae7a3de8e011afaaeedea15fef12ec6e271148c7f089ee73f3

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

# sc2vc: ssh_config to vuls config TOML format [![Gem](https://img.shields.io/gem/v/ssh_config_to_vuls_config.svg)](https://rubygems.org/gems/ssh_config_to_vuls_config)

ssh_config to [vuls](https://github.com/future-architect/vuls) config TOML format

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'ssh_config_to_vuls_config'
```

And then execute:

```sh
$ bundle
```

Or install it yourself as:

```sh
$ gem install ssh_config_to_vuls_config
```

## Usage

Convert ssh_config to [vuls](https://github.com/future-architect/vuls) config TOML format.

```sh
$ cat ~/.ssh/config | sc2vc > vuls_config.toml
```

Use [sconb](https://github.com/k1LoW/sconb) to filter ~/.ssh/config.

```sh
$ sconb dump example_* | sconb restore | sc2vc > filtered_config.toml
```

## Contributing

1. Fork it ( https://github.com/k1LoW/ssh_config_to_vuls_config/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ssh_config_to_vuls_config-0.1.1 README.md