SSH command wrapper with EC2 Instance Connect Endpoint.
- standard
sshcommand - awscli 2
go install github.com/gw31415/eish@latestSame as standard ssh command.
If you want to push to the git repository in the EC2 instance, you can set the env variable GIT_SSH (or GIT_SSH_COMMAND) to eish.
export GIT_SSH=eish
git remote add ec2 ec2-user@i-1234567890example:/path/to/repo.git-
[-1] [-2] [-v] ...: Single character options without its arguments (separated by space) -
[-i value] [-b value] ...: Single character options with its arguments (separated by space) -
[-2v]: Single character options without its arguments (not separated by space) -
[-vi value]: Single character options with other options before which have no arguments (not separated by space) -
[-ivalue]: Single character options with its arguments just after the option (not separated by space)
- Single character options without value
1246AaCfGgKkMNnqsTtVvXxYy
- Single character options with value
BbcDEeFIiJLlmOoPpRSWw
- Options to call other functions without SSH connection
Q
- logging and error message
Apache-2.0