aws / aws/aws-ec2-instance-connect-cli

Configuration like ~/.ssh/config

Open
#4 6 comments 34 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
168
Forks
43
PR merge metrics
No merged PRs in 30d

Description

By using the `~/.ssh/config` file on my PC, `ssh` can be configured to allow easy and quick connections to remote servers by simply typing a hostname, e.g. `ssh my-server-1` and all configuration is taken from the `~/.ssh/config` file.

I would like to have a similar way to configure `mssh` so that I could just do `mssh my-server-2` and the ID, username, and profile is taken from the config file. The syntax could be the same, e.g.

```
# ~/.mssh/config
Host my-server-2
User ubuntu
Id i-04be40ce96fd3f85
Profile my-profile
AvailabilityZone eu-central-1b
Region eu-central-1b
```

As we have a quite a lot of servers this is a function I am missing at the moment compared to using SSH directly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.