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;
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
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
add a comment |
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
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
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
add a comment |
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
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
ssh amazon-web-services amazon-ec2 amazon-ami
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
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
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
add a comment |
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.
add a comment |
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.
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.
answered 2 days ago
Piyush BaderiaPiyush Baderia
265
265
add a comment |
add a comment |
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