Configuration like ~/.ssh/config
See original GitHub issueBy 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:34
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Using the SSH Config File | Linuxize
OpenSSH client-side configuration file is named config , and it is stored in the .ssh directory under the user's home directory.
Read more >SSH config file for OpenSSH client
The ssh program on a host receives its configuration from either the command line or from configuration files ~/.ssh/config and /etc/ssh/ssh_config .
Read more >SSH configuration | ssh_config - Teleport
This blog post covers some of my favorite settings for configuring the behavior of an ssh client (i.e. what is in the man...
Read more >OpenSSH Config File Examples For Linux / Unix Users - nixCraft
/etc/ssh/ssh_config : This files set the default configuration for all users of OpenSSH clients on that desktop/laptop and it must be readable ...
Read more >How To Configure Custom Connection Options for your SSH ...
OpenSSH, the most commonly used command-line SSH client on most systems, allows you to provide customized connection options. These can be saved ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To expand on that. It’d be nice to even use the same ssh config file or at least being able to script SSH via SSM tunneling similar to:
Then you would just:
or
This feature request is already in our backlog. I will update here once we have more info on it.