0
votes
2answers
24 views

Are the keys created and added when launching an EC2 instance added to ~/.ssh/authorized_keys for ec2-user?

Are the keypairs created and added when launching an EC2 instance added to ~/.ssh/authorized_keys for the ec2-user ? or is there another mechanism used? If so, would the key have a name like 'master'? ...
2
votes
2answers
198 views

SSH login fails for EC2 instances created from image of working EC2

I have a functioning EC2 instance with several users, some of whom are chrooted to their home directories, some of whom are ftp-only and have no shell access, etc... ec2-user is the main admin ...
1
vote
2answers
74 views

SSH: Unable to login with key after disabling password authentication

I have an ubuntu server is on Amazon EC2. Earlier I used to login with the original pem key file generated at instance launch time. ssh -i /path/to/key.pem ubuntu@instance-dns-name.com I tried to ...
-1
votes
2answers
429 views

How to ssh into ec2 instance running centos as a newly created user?

I am able to ssh into an ec2 instance as the root user using the private key .pem that was generated when I created the instance. $ ssh -i Desktop/key.pem root@123.us-west-2.compute.amazonaws.com I ...
0
votes
3answers
615 views

Setting up Chef Node: Amazon EC2 instance is create but bootstrap fails

I am trying to get going with Chef and the freebie Chef server from Opscode. I got my Chef workstation configured on a local VM running Ubuntu 12.04LTS. I downloaded the chef-repo from GitHub as ...
1
vote
1answer
71 views

Default ubuntu user deleted, unable to access EC2 Instance via SSH

This is my first foray into using EC2, and I created my first instance using an Amazon AMI running Ubuntu 12.04. I created a keypair and downloaded the .pem file to my local machine. I was able to ...
1
vote
4answers
2k views

how to SSH to EC2 without explicitly using the pem key?

I have a windows as my main OS. Using VMware player, I setup a Ubuntu server 12.4 as a guest machine. The Ubuntu server have "ubuntu" user. I created a new EC2 instance + setup pem key. From the ...
6
votes
1answer
720 views

Can I SSH into my Amazon EC2 server instance if I don't have .pem file from when instance was created?

I am working with some Amazon EC2 servers that are up and running, and I need to SSH into the servers. I don't have any keys that were generated when the servers were first set up (someone else did it ...
2
votes
1answer
205 views

Use CloudInit cloud-config file to add authorized_keys for multiple users

Is it possible to add ssh authorized keys for multiple users using a #cloud-config file with CloudInit? I'm trying to initialize a new EC2 instance created from an Amazon Linux AMI using CloudInit. ...
-1
votes
2answers
527 views

How do I set up an AWS instance to allow others to SSH in?

I've recently set up a AWS EC2 instance (using an Ubuntu AMI) for a web project. I of course created a public/private pem key which I sued to log in a and set up the instance. Now I have a new ...
0
votes
2answers
453 views

EC2 SSH / SFTP issues

I have done a lot of searching on this issue, and can not find anything particularly relevant. I have many instances spread across zones and grouped into various load balancers. One of the groups is ...
1
vote
2answers
152 views

Ubuntu on EC2 - can't access after sudo su command

I'm relatively new to Linux, and whilst installing a number of different applications on my Ubuntu server instance, somebody helpfully suggested I use 'sudo su' to speed things up a little. All good. ...
1
vote
1answer
355 views

Problems accessing EC2 instance with SSH key pair

Just set up a new EC2 instance, downloaded the pem file and currently cannot get into the box. I'm using the command... $ ssh -i .ssh/key.pem ubuntu@ec2-176-34-183-***.eu-west-1.compute.amazonaws.com ...
1
vote
1answer
1k views

Cannot connect to my EC2 instance because of “Permission denied (publickey)”

In AWS console, I saw that my key pair was deleted. I created a new one with the same name. Then I tried to connect with ssh -v -i sohoKey.pem ec2-user@******.compute-1.amazonaws.com Here's the ...
3
votes
2answers
277 views

SSH: Configure ssh_config to use specific key file for a specific server fingerprint

I have a key based login for a server. The IP and DNS of the server can change, because it is hosted on Amazon. Is there a way to configure the ssh client config to use the specific key file for ...
2
votes
1answer
437 views

SSH How to ignore checking IdentityFile?

I have setup a config file located at "~/.ssh/config" which contains some IdentityFile lines to point to the key files that I use for some of my servers. e.g. IdentityFile ~/Data/Keys/KeyFile.pem ...
0
votes
1answer
566 views

Can not log in to Amazon EC2 instance (Beginner)

I am having difficulty logging onto my Amazon ec2 instance. I set it up, downloaded the key. At first it complained because my permissions were setup correctly. Then I executed: chmod 400 ...
2
votes
1answer
572 views

Can't seem to SSH into AWS EC2 instance, ssh permission denied error

I've launched a new EC2 instance with AWS using Amazon 64 bit linux (amzn-ami-2011.09.1.x86_64-ebs (ami-20506254)) and I'm having trouble ssh-ing into it. I've generated a public/private ssh keypair ...
0
votes
2answers
454 views

RSA fingerprint changed after moving EBS and EIP to new instance

I'm running ubuntu on an EBS-backed EC2 instance. In order to change the security group of my instance, I followed the instructions here for moving the ebs volumes to a new instance. Then I ...
2
votes
0answers
564 views

Unable to SSH into EC2 instance

I've read through the existing answers to this topic, but I still can't seem to connect. I've created an AWS key and saved to my ~/.ssh folder. The command: ssh -i ~/.ssh/jdrake.pem ...
0
votes
1answer
776 views

Unable to login to Amazon EC2 compute server

I am unable to login to the EC2 server. Here's the log of the connection-attempt: $ ssh -v -i ec2-key-incoleg-x002.pem ubuntu@ec2-50-16-0-207.compute-1.amazonaws.com OpenSSH_5.6p1, OpenSSL 0.9.8p 16 ...
1
vote
2answers
1k views

Cannot SSH into Ubunto 10.10 running on EC2 as new user

Dear Gracious Lords of EC2/Ubuntu/SSH. Please help me understand how I can solve my SSH problem: I can SSH into my EC2 instance running Ubuntu 10.10 'Maverick Meerkat' no problem with: $ ssh -i ...