Skip to content

arr-dev/ssh-conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages