Skip to content
arr-devPublic

About

Gem for showing ssh_config(5) for a given host.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

ssh-conf

Gem which prints ssh_config(5) for given hosts.

Installation

$ gem install ssh-conf

Usage

Usage: ssh-conf [options]
    -a, --all                        Search all default SSH config files on system
        --files FILES                Comma separated list of files to process
    -p, --pretty                     Pretty output
    -f, --format format              Output format (text, json)
    -h, --help                       Show this message

By defaults it outputs config in plain text, tab separated format.

It can be changed to ouput to JSON, pretty JSON or pretty-ish text.

Only ~/.ssh/config files is parsed by default.

Thanks

Thanks to the creators of net-ssh gem for parsing logic.

About

Gem for showing ssh_config(5) for a given host.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages