aws-ec2-ssh | Manage AWS EC2 SSH access with IAM | AWS library

 by   widdix Java Version: v1.10.0 License: MIT

kandi X-RAY | aws-ec2-ssh Summary

kandi X-RAY | aws-ec2-ssh Summary

aws-ec2-ssh is a Java library typically used in Cloud, AWS applications. aws-ec2-ssh has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. However aws-ec2-ssh build file is not available. You can download it from GitHub.

June 2019: Check out Amazon EC2 Instance Connect as a replacement for this project. September 2018: Check out AWS Systems Manager Session Manager as a replacement for this project. Use your IAM user's public SSH key to get access via SSH to an EC2 instance running. aws-ec2-ssh depends on the AWS CLI and git if you use the install.sh script.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              aws-ec2-ssh has a medium active ecosystem.
              It has 830 star(s) with 297 fork(s). There are 45 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 18 open issues and 70 have been closed. On average issues are closed in 93 days. There are 9 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of aws-ec2-ssh is v1.10.0

            kandi-Quality Quality

              aws-ec2-ssh has 0 bugs and 0 code smells.

            kandi-Security Security

              aws-ec2-ssh has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              aws-ec2-ssh code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              aws-ec2-ssh is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              aws-ec2-ssh releases are available to install and integrate.
              aws-ec2-ssh has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 1470 lines of code, 34 functions and 9 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of aws-ec2-ssh
            Get all kandi verified functions for this library.

            aws-ec2-ssh Key Features

            No Key Features are available at this moment for aws-ec2-ssh.

            aws-ec2-ssh Examples and Code Snippets

            No Code Snippets are available at this moment for aws-ec2-ssh.

            Community Discussions

            Trending Discussions on aws-ec2-ssh

            QUESTION

            aws how to manage iam ssh access to ec2
            Asked 2021-Feb-23 at 10:39

            I am trying to follow this guid but it looks like the stack may be missing some information. I am trying to create this in eu-west-2

            https://cloudonaut.io/manage-aws-ec2-ssh-access-with-iam/

            It errors with “Template validation error: Template error: Unable to get mapping for RegionMap::eu-west-2::AMI”

            UPDATE

            should the region map look like this?

            ...

            ANSWER

            Answered 2021-Feb-22 at 13:15

            That blog is almost 5 years old, eu-west-2 didn't exist back then, it was launched publicly in December 2016 and the blog is from April 2016.

            According to the template that's linked, these are the supported regions:

            Source https://stackoverflow.com/questions/66316342

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install aws-ec2-ssh

            Upload SSH public key. Upload SSH public key. 1Check the releases and use the latest released RPM.
            Upload your public SSH key to IAM: Open the Users section in the IAM Management Console Click the row with your user Select the Security Credentials tab Click the Upload SSH public key button at the bottom of the page Paste your public SSH key into the text-area and click the Upload SSH public key button to save
            Attach the IAM permissions defined in iam_ssh_policy.json to the EC2 instances (by creating an IAM role and an Instance Profile)
            Install the RPM1: rpm -i https://s3-eu-west-1.amazonaws.com/widdix-aws-ec2-ssh-releases-eu-west-1/aws-ec2-ssh-1.9.2-1.el7.centos.noarch.rpm
            The configuration file is placed into /etc/aws-ec2-ssh.conf
            The RPM creates a crontab file to run import_users.sh every 10 minutes. This file is placed in /etc/cron.d/import_users
            Upload SSH public key. Upload SSH public key.
            Upload your public SSH key to IAM: Open the Users section in the IAM Management Console Click the row with your user Select the Security Credentials tab Click the Upload SSH public key button at the bottom of the page Paste your public SSH key into the text-area and click the Upload SSH public key button to save
            Attach the IAM permissions defined in iam_ssh_policy.json to the EC2 instances (by creating an IAM role and an Instance Profile)
            Run the install.sh script as root on the EC2 instances. Run install.sh -h for help.
            The configuration file is placed into /etc/aws-ec2-ssh.conf
            Connect to your EC2 instances now using ssh $Username@$PublicName with $Username being your IAM user, and $PublicName being your server's name or IP address
            Role for Cross-Account Access. Provide access between AWS accounts you own.
            In the users account, create a new IAM role
            Select Role Type Role for Cross-Account Access and select the option Provide access between AWS accounts you own
            Put the dev account number in Account ID and leave Require MFA unchecked
            Skip attaching a policy (we will do this soon)
            Review the new role and create it
            Select the newly created role
            In the Permissions tab, expand Inline Policies and create a new inline policy
            Select Custom Policy
            Paste the content of the iam_ssh_policy.json file and replace <YOUR_USERS_ACCOUNT_ID_HERE> with the AWS Account ID of the users account.
            For your EC2 instances, you need a IAM role that allows the sts:AssumeRole action.
            In the dev account, create a new IAM role
            Select ROle Type AWS Service Roles and select the option Amazon EC2
            Skip attaching a policy (we will do this soon)
            Review the new role and create it
            Select the newly created role
            In the Permissions tab, expand Inline Policies and create a new inline policy
            Select Custom Policy
            Paste the content of the iam_crossaccount_policy.json file and replace <YOUR_USERS_ACCOUNT_ID_HERE> with the AWS Account ID of the users account and <YOUR_USERS_ACCOUNT_ROLE_NAME_HERE> with the IAM rol name that you created in the users account
            Create/edit the file /etc/aws-ec2-ssh.conf and add this line: ASSUMEROLE="IAM-ROLE-ARN or run the install.sh script with the -a argument

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/widdix/aws-ec2-ssh.git

          • CLI

            gh repo clone widdix/aws-ec2-ssh

          • sshUrl

            git@github.com:widdix/aws-ec2-ssh.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular AWS Libraries

            localstack

            by localstack

            og-aws

            by open-guides

            aws-cli

            by aws

            awesome-aws

            by donnemartin

            amplify-js

            by aws-amplify

            Try Top Libraries by widdix

            aws-cf-templates

            by widdixJava

            aws-s3-virusscan

            by widdixJava

            sqs-lambda-example

            by widdixJavaScript

            aws-lambda-youtube-dl

            by widdixJavaScript