Why does an ssh connection work on one Amazon AMI but not another [on hold]Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. VolumeHow to recreate a working AMI from recovery snapshot after Aug 8 outage?SSH timing out to a Gentoo AMI (Amazon EC2)Amazon ELB timeout on multiple instances but not on single instanceX over ssh works for one user but not anotherWhy can't I SSH into a new EC2 instance I created from an AMI I generated?VPC EC2 Instances can PING each other, but not SSHCan't log into AMI, assigning new keypairs doesn't work - how do I completely reset SSH?How to install Docker on AWS EC2 instance with AMI (CE/EE Update)AWS EC2 Amazon Linux instance can't connect to RDS instance. but ubuntu instance can

Watching something be written to a file live with tail

I'm flying to France today and my passport expires in less than 2 months

Is it possible to create light that imparts a greater proportion of its energy as momentum rather than heat?

Did Shadowfax go to Valinor?

Doing something right before you need it - expression for this?

Combinations of multiple lists

Brothers & sisters

90's TV series where a boy goes to another dimension through portal near power lines

How could indestructible materials be used in power generation?

What's the point of deactivating Num Lock on login screens?

Does a druid starting with a bow start with no arrows?

Why is the 'in' operator throwing an error with a string literal instead of logging false?

Do I have a twin with permutated remainders?

Twin primes whose sum is a cube

Forgetting the musical notes while performing in concert

1960's book about a plague that kills all white people

Why can't we play rap on piano?

How to show the equivalence between the regularized regression and their constraint formulas using KKT

Were any external disk drives stacked vertically?

prove that the matrix A is diagonalizable

Western buddy movie with a supernatural twist where a woman turns into an eagle at the end

Why does Arabsat 6A need a Falcon Heavy to launch

Is there a hemisphere-neutral way of specifying a season?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?



Why does an ssh connection work on one Amazon AMI but not another [on hold]


Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. VolumeHow to recreate a working AMI from recovery snapshot after Aug 8 outage?SSH timing out to a Gentoo AMI (Amazon EC2)Amazon ELB timeout on multiple instances but not on single instanceX over ssh works for one user but not anotherWhy can't I SSH into a new EC2 instance I created from an AMI I generated?VPC EC2 Instances can PING each other, but not SSHCan't log into AMI, assigning new keypairs doesn't work - how do I completely reset SSH?How to install Docker on AWS EC2 instance with AMI (CE/EE Update)AWS EC2 Amazon Linux instance can't connect to RDS instance. but ubuntu instance can






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm booting two separate Amazon AMIs but having different ssh connection results with each. i.e.



AWS Amazon Linux 2:
ami-0bdb1d6c15a40392c - can't connect with ssh



and AWS Amazon Linux 1:
ami-e5083683 - can connect with ssh



Nothing else has changed - i.e. literally the only difference is the AMI.



Why is ssh not working with the newer AMI?










share|improve this question













put on hold as off-topic by womble 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – womble
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1





    Can you please post the sanitized output of " ssh -v " to both servers.

    – Arlion
    Sep 13 '18 at 13:56












  • AL1 and 2 both accept SSH by default. It's either some weirdness in your environment, or user error. Unfortunately you haven't given enough information to help work out which it is. We'd need to see details of the environment and the login attempts to help.

    – Tim
    2 days ago

















0















I'm booting two separate Amazon AMIs but having different ssh connection results with each. i.e.



AWS Amazon Linux 2:
ami-0bdb1d6c15a40392c - can't connect with ssh



and AWS Amazon Linux 1:
ami-e5083683 - can connect with ssh



Nothing else has changed - i.e. literally the only difference is the AMI.



Why is ssh not working with the newer AMI?










share|improve this question













put on hold as off-topic by womble 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – womble
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1





    Can you please post the sanitized output of " ssh -v " to both servers.

    – Arlion
    Sep 13 '18 at 13:56












  • AL1 and 2 both accept SSH by default. It's either some weirdness in your environment, or user error. Unfortunately you haven't given enough information to help work out which it is. We'd need to see details of the environment and the login attempts to help.

    – Tim
    2 days ago













0












0








0








I'm booting two separate Amazon AMIs but having different ssh connection results with each. i.e.



AWS Amazon Linux 2:
ami-0bdb1d6c15a40392c - can't connect with ssh



and AWS Amazon Linux 1:
ami-e5083683 - can connect with ssh



Nothing else has changed - i.e. literally the only difference is the AMI.



Why is ssh not working with the newer AMI?










share|improve this question














I'm booting two separate Amazon AMIs but having different ssh connection results with each. i.e.



AWS Amazon Linux 2:
ami-0bdb1d6c15a40392c - can't connect with ssh



and AWS Amazon Linux 1:
ami-e5083683 - can connect with ssh



Nothing else has changed - i.e. literally the only difference is the AMI.



Why is ssh not working with the newer AMI?







ssh amazon-web-services amazon-ec2 amazon-ami






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 13 '18 at 12:39









SnowcrashSnowcrash

2921615




2921615




put on hold as off-topic by womble 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – womble
If this question can be reworded to fit the rules in the help center, please edit the question.







put on hold as off-topic by womble 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers." – womble
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 1





    Can you please post the sanitized output of " ssh -v " to both servers.

    – Arlion
    Sep 13 '18 at 13:56












  • AL1 and 2 both accept SSH by default. It's either some weirdness in your environment, or user error. Unfortunately you haven't given enough information to help work out which it is. We'd need to see details of the environment and the login attempts to help.

    – Tim
    2 days ago












  • 1





    Can you please post the sanitized output of " ssh -v " to both servers.

    – Arlion
    Sep 13 '18 at 13:56












  • AL1 and 2 both accept SSH by default. It's either some weirdness in your environment, or user error. Unfortunately you haven't given enough information to help work out which it is. We'd need to see details of the environment and the login attempts to help.

    – Tim
    2 days ago







1




1





Can you please post the sanitized output of " ssh -v " to both servers.

– Arlion
Sep 13 '18 at 13:56






Can you please post the sanitized output of " ssh -v " to both servers.

– Arlion
Sep 13 '18 at 13:56














AL1 and 2 both accept SSH by default. It's either some weirdness in your environment, or user error. Unfortunately you haven't given enough information to help work out which it is. We'd need to see details of the environment and the login attempts to help.

– Tim
2 days ago





AL1 and 2 both accept SSH by default. It's either some weirdness in your environment, or user error. Unfortunately you haven't given enough information to help work out which it is. We'd need to see details of the environment and the login attempts to help.

– Tim
2 days ago










1 Answer
1






active

oldest

votes


















0














I'm not sure if you have tried this but some AMIs use the user as ubuntu while others use the user ec2-user.
So for the AMIs using ubuntu the ssh command would be :



ssh -i "your.pem" ubuntu@IP



For the ones using ec2-user it would change to:



ssh -i "your.pem" ec2-user@IP



Try this once too. Probably it might help.






share|improve this answer





























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I'm not sure if you have tried this but some AMIs use the user as ubuntu while others use the user ec2-user.
    So for the AMIs using ubuntu the ssh command would be :



    ssh -i "your.pem" ubuntu@IP



    For the ones using ec2-user it would change to:



    ssh -i "your.pem" ec2-user@IP



    Try this once too. Probably it might help.






    share|improve this answer



























      0














      I'm not sure if you have tried this but some AMIs use the user as ubuntu while others use the user ec2-user.
      So for the AMIs using ubuntu the ssh command would be :



      ssh -i "your.pem" ubuntu@IP



      For the ones using ec2-user it would change to:



      ssh -i "your.pem" ec2-user@IP



      Try this once too. Probably it might help.






      share|improve this answer

























        0












        0








        0







        I'm not sure if you have tried this but some AMIs use the user as ubuntu while others use the user ec2-user.
        So for the AMIs using ubuntu the ssh command would be :



        ssh -i "your.pem" ubuntu@IP



        For the ones using ec2-user it would change to:



        ssh -i "your.pem" ec2-user@IP



        Try this once too. Probably it might help.






        share|improve this answer













        I'm not sure if you have tried this but some AMIs use the user as ubuntu while others use the user ec2-user.
        So for the AMIs using ubuntu the ssh command would be :



        ssh -i "your.pem" ubuntu@IP



        For the ones using ec2-user it would change to:



        ssh -i "your.pem" ec2-user@IP



        Try this once too. Probably it might help.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        Piyush BaderiaPiyush Baderia

        265




        265













            Popular posts from this blog

            How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

            What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

            Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?