Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
6 votes
4 answers
4k views

Unable to connect to EC2 Linux instance from Windows 10 CMD using ssh

I have a running EC2 instance that is running Linux OS(Amazon Linux AMI release 2018.03) on it. Given that Windows 10 has SSH client available in the command prompt, I was trying to SSH into my EC2 ...
DockYard's user avatar
  • 1,040
11 votes
2 answers
10k views

Where does packer store the private key?

From ubuntu shell I ran below command, to talk to aws platform, to customise amazon ami(ami-9abea4fb): $ packer build -debug template.packer Debug mode enabled. Builds will not be parallelized. ...
overexchange's user avatar
1 vote
2 answers
695 views

Enable SSH with a password instead of pem key

I am launching an EC2 instance using cloudformation. I want to enable SSH with a password instead of pem key for that instance. I am able to write the startup script (user data) to do this, but I have ...
Atish Kumbhar's user avatar
1 vote
1 answer
300 views

ssh authentication fails to aws ec2 instance launched from ami created with boto3

I have an existing AWS Ubuntu EC2 instance (instance_1) with remote ssh access via a public IP address, using my own private/public keys. I create an AMI from this instance using the console, and then ...
JCvdW's user avatar
  • 49
1 vote
0 answers
408 views

Cannot SSH nor connect to public IP of Amazon ec2

I had a site running fine on an ec2 instance a few months ago. I decided recently to begin work on that site and I can no longer ssh into the instance. I would get a series of timeouts or connection ...
Alex Bollbach's user avatar
2 votes
1 answer
244 views

How to establish SSH connection between two AMI EC2 instances by generating new key pair using ssh-keygen

I need to establish SSH connection between 2 AMI Ec2 instances. I have tried by generating new key pair with ssh-keygen method. Even after copying public key id_rsa.pub from one instance to ...
vinay kumar's user avatar
1 vote
0 answers
346 views

Giving VersionPress write permissions via ssh on bitnami WP ami running on EC2 instance

Thanks in advance for your patience and support helping me with this issue. I can normally work around most problems by reading online, but when it comes to linux and ssh I cant - it's too complex. No ...
Phil's user avatar
  • 71
5 votes
0 answers
3k views

Problems trying to ssh to AWS EC2 instance [closed]

I've been using an EC2 server with LAMP for a few months now and all of a sudden I can't connect to it via ssh. I run the same command on Cygwin I've been running since I've started working with it, ...
Gabriel Rebello's user avatar
-1 votes
2 answers
320 views

Can't access new AMI instance with SSH. PEM_read-privatekey failed

I'm new to both amazon ec2 and SSH and have been unsuccessful at connecting to my first instance(s). No matter what I try and that includes the Amazon Connection guide, the troubleshooting guide and ...
user3902987's user avatar
0 votes
1 answer
2k views

Permission Denied (publickey) when trying to SSH to Amazon EC2 server

I am getting permission denied (public key) while doing a ssh to amazon machine. Here is the verbose output OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011 debug1: Reading configuration data ...
w2lame's user avatar
  • 2,813