Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/apayu/ex_ssh_config
- Owner: apayu
- License: gpl-2.0
- Created: 2024-03-19T08:43:29.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-19T09:11:42.000Z (11 months ago)
- Last Synced: 2024-12-09T04:12:11.478Z (about 2 months ago)
- Topics: aws, cloud, ec2, elixir, ssh
- Language: Elixir
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`