Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/apayu/ex_ssh_config

Generate SSH config files from AWS EC2 inventory
https://github.com/apayu/ex_ssh_config

aws cloud ec2 elixir ssh

Last synced: 3 days ago
JSON representation

Generate SSH config files from AWS EC2 inventory

Awesome Lists containing this project

README

        

# ex_ssh_config
Generate an SSH config for AWS EC2 quickly andeasily using Elixir

## Config
This script is based on [ex_aws](https://github.com/ex-aws/ex_aws), Please configure your AWS key following the [instructions](https://github.com/ex-aws/ex_aws?tab=readme-ov-file#aws-key-configuration).

## Arguments
Adjust the following module attrtube according to your needs.
```
@profile "default"
@key_dir "~/.ssh/"
@key_name "id_ed25519"
@region "ap-northeast-1"
```

## Usag
```
$ elixir aws_ssh_config.exs
```
## TODO
- Specify a bastion host for ProxyCommand
- Specify `User`