0
votes
0answers
29 views

Lost access to aws ec2 machine [closed]

I followed the guide to set up an ssh account for bitbucket on my ec2 machine to pull the code there without having to enter the password. This is the guide I followed ...
0
votes
4answers
162 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 ...
0
votes
0answers
16 views

Trying to connect via sftp from remote server to amazon ec2 using key pair failed

I'm trying to connect via SFTP from a remote server to amazon ec2 instance using a key, but it is getting connection closed. The weird part is i can connect using ssh normally. And i can't see the ...
2
votes
1answer
119 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
111 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
96 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
135 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
117 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
278 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
749 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
207 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
271 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
454 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
452 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
341 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 ...
0
votes
0answers
440 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
635 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
892 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 ...