Skip to main content

SSHYC short for SSH YAML Configuration is tool to make .ssh/config from YAML files.

Project description

SSH YAML Configuration

Actual Version : 1.0.2

SSHYC short for SSH YAML Configuration is tool to make .ssh/config from YAML files.

  • Licensed under MIT License

Features

Current Features

  • Attention this tools overwrites ~/.ssh/config file

  • Write ~/.ssh/config.yaml or ~/.ssh/config.yml

Examples

%YAML 1.1
 ---
 all:
     ForwardAgent: 'yes'

 shared: &shared-settings
     User: test
     ForwardAgent: 'yes'

 presets:
     main: &preset--main
         ForwardAgent: 'yes'

 company:
     testuser: &company__testuser
         User: testuser

 projects:
     test:
         test_host_project:
             Hostname: test
             $Proxy: test.test

 groups:
     test_group:
         test_host:
             <<: *company__testuser
             <<: *preset--main
             Hostname: test_host.test_group.test

 host_groups:
     host_group_test.test:
         test_host:
             <<: *company__testuser
             <<: *preset--main
             Hostname: test_host.test_group.test

 hosts:
     test_host_12:
         <<: *company__testuser
         <<: *shared-settings
         Hostname: test_host12.test

Credits

Created by Patryk Adamczyk

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog with additional group for informations, and this project adheres to Semantic Versioning.

[1.0.2] - 2021-08-08

Changed

  • Updated package on PyPi

[1.0.1] - 2021-08-08

Added

  • Bumpversion configuration

  • Example to README file

Changed

  • Category for pip

Fixed

  • Path to ssh configuration file

[1.0.0] - 2021-08-08

Added

  • Basic functionality

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sshyc-1.0.2.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

sshyc-1.0.2-py2.py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page