command
module
Version:
v0.0.0-...-7aa8258
Opens a new window with list of versions in this module.
Published: Sep 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
eish
SSH command wrapper with EC2 Instance Connect Endpoint.
Dependencies
Installation
go install github.com/gw31415/eish@latest
Usage
Same as standard ssh
command.
Tips
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
Spec
Supported option types
-
[-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)
Supported options
- Single character options without value
1246AaCfGgKkMNnqsTtVvXxYy
- Single character options with value
- Options to call other functions without SSH connection
TODO
- logging and error message
License
Apache-2.0
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.