-1
votes
1answer
30 views

Connect to Amazon EC2 not using SSH?

Is it possible to connect to EC2 instance directly? This is possible on Rackspace using a java servlet inside your browser where you get a "remote monitor window" (not SSH but a local login screen). I ...
0
votes
1answer
32 views

Amazon Elastic IPs: SSH timeout

Amazon EC2 - what I did: I created a free Ubuntu instance. I attached a new private IP address under Network Interfaces. I created 2 elastic IPs, attached to the default and new private IP address. ...
0
votes
0answers
40 views

How do I install a bitnami LAMP module by SSH command line?

This is a pretty straightforward question that I cannot seem to find an answer for. I already have a running Bitnami LAMP stack on an Amazon EC2 instance. Where do put the installer ...
0
votes
2answers
45 views

Looking for a way to get team public keys to EC2 instance autonomously

I am administering a single (now) ec2 instance which will provide some tools to our users. I am using Ansible to manage it. I have it set to create users using a mix of a Cron-job and Ansible (by ...
2
votes
1answer
153 views

Why does my OpenSSH key fingerprint not match the AWS EC2 console keypair fingerprint?

When I import my OpenSSH public key into AWS EC2's keyring the fingerprint that AWS shows doesn't match what I see from: ssh-keygen -l -f my_key It is a different length and has different bytes. ...
0
votes
1answer
54 views

ssh_exchange_identification Can't Access to SSH Amazon EC2 (Lock Out)

I get an error in terminal when I'm trying to access my instance in Amazon EC2. I use Centos 6.x server WHM/cPanel, i have access to WHM, but i DON'T have a complete access to FTP or SSH. ssh: ...
0
votes
0answers
98 views

ssh_exchange_identification: read: Connection refused

Everytime I'm trying to SSH into my Amazon EC2 Server i get an Error below: Zoc6 Error: ssh_exchange_identification: read: Connection refused Tried: Terminal (mac) - Failed Reinstall Zoc and ...
3
votes
1answer
157 views

Grant temporary access to Ubuntu 14.04 EC2 machines

My company intends to hire an external contractor for some dev-ops jobs on our EC2 servers. We use Ubuntu accessed using a .pem certificate file. For obvious reasons, I do not want to share my .pem ...
-1
votes
1answer
70 views

Can't access EC2 Instance through SSH After iptable Flush

Before i was able to connect to my EC2 instance, then after i flush the IPTABLE, i can't access it anymore, every time i try to connect, it get TIME OUT. Error i receive: FAIL: TIMEOUT [SSH] FAIL: ...
-3
votes
2answers
109 views

Can't ssh to CNAME'd hostname

Why can't I ssh using the hostname specified in my CNAME record? I can ssh in just fine when I use the hostname it points to. It's been more than 72 hours. I've got a domain "mydomain.com", and it ...
0
votes
1answer
47 views

Best way to restrict/grant access to EC2 servers

I'm looking for a way to manage our EC2 infrastructure. So we have multiple users for our EC2 infra and what's the best way to add/delete users on the fly. Will LDAP server with public key ...
1
vote
2answers
56 views

How do I get AWS EC2 Ubuntu Server out of “Stopping” state?

I was unable to SSH or SFTP into my ubuntu server on EC2 this morning. It should be noted that SSH and SFTP were working fine up until now. To troubleshoot this I did the following: Logged into AWS ...
0
votes
1answer
78 views

Convert EC2 ssh .pem key to Azure X.509 certificate?

Normally I use a pem file to login into my ec2 instance via ssh -i key.pem Now, in Azure, their requirement during instance creation is UPLOAD AN SSH KEY OR PROVIDE A PASSWORD FOR AUTHENTICATION ...
0
votes
1answer
371 views

How to free the (unused) memory?

Being a newbie in working with amazon ec2, I am trying to make my application work. I've connecting a few times by ssh, I've been running and stopping the server, sometimes the connection was lost, ...
0
votes
2answers
98 views

Amazon EC2 instance SSH RSA Fingerprint

Any time I stand up a VM in EC2 and you ssh into it for the first time, I always get this message: The authenticity of host 'ec2-xxxxxx.compute-1.amazonaws.com (n.n.n.n)' can't be established. RSA ...
0
votes
1answer
90 views

How to avoid timeout for an ssh session with AWS ec2 ubuntu and cygwin?

I can ssh to my instance and use it but if I'm not active for some time then then I must reconnect. Is it the protocol, the server or the client that causes the timeout? It happens both with cygwin ...
0
votes
1answer
39 views

EC2 Ubuntu Instance Occasional Downtime

i'm having trouble with an EC2 instance experiencing a long period (several hours) of downtime every day instance type: t1.micro availability zone: ap-southeast-2a security groups: allow all ICMP, ...
0
votes
1answer
146 views

Permission denied (publickey) when attempting to connect Ubuntu EC2 instance via SSH

I'm attempting to connect to my EC2 Ubuntu instance via SSH with my private key. I had no problem connecting to the server before using the sudo reboot command. Now, I cannot connect to the instance ...
3
votes
4answers
2k views

Amazon EC2 - No SSH After Reboot, Connection Refused

I've replicated this two or three times, so I'm guessing there's something wrong with what I'm doing. Here are my steps: Launch new instance via EC2 Management console using: Ubuntu Server 13.10 - ...
2
votes
0answers
58 views

EC2 Ubuntu SSH Stops Working

I use about 15 EC2 instances to run some services. They are hosted on EC2 and run Ubuntu. Every once in a while the SSH stops working and the "Reachability Status" in the EC2 console shows that it is ...
2
votes
2answers
357 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
1answer
54 views

How to add another shell user to a amazon linux machine?

I'm trying to connect via SSH to a new limited user account using PuTTY from a windows machine. I created the user with adduser limiteduser, setup a password with passwd limiteduser, and copied a ssh ...
1
vote
0answers
52 views

OpenSSH server fails to start after resizing EC2 instance

I had a medium EC2 instance which I changed to a small instance. After doing so I could no longer SSH in to the instance. Looking at the console output I see: * Starting OpenSSH server[74G[ OK ] * ...
1
vote
1answer
131 views

Amazon EC2 web server unreachable when running

A couple weeks ago I had a service message of "Database error" when I accessed my website hosted on my server. It appeared that MySQL had crashed for some mysterious reason (the had no visitors except ...
1
vote
2answers
97 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
vote
1answer
221 views

ssh git commands authenticating with authorized_keys

I have an amazon ec2 cloud server running Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-52-virtual x86_64). I have gitlab installed using bitnami image. SSH cloning of repos does not work. I can not log in as ...
0
votes
2answers
189 views

why rsync is not working with crontab?

when I run the following manually it runs perfectly: /usr/bin/rsync -arvth -e "ssh -i /watch/scripts/word.pem" 1.1.1.1:/opt/ /opt when it runs using crontab. I get: Permission denied ...
1
vote
0answers
48 views

Amazon EC2 pem file stopped working suddenly

I was connecting to Amazon EC2 through SSH and it was working well. But all of a sudden, it stopped working. I am not able to connect anymore with the same key file. What can go wrong ? Here's ...
0
votes
1answer
132 views

AWS EC2 instance not pingable or available in browser

I've seen this questions asked other places, but now I've run through every fix proposed in other questions so I'm re asking it here, in hopes that someone will have a different solution. Problem: I ...
0
votes
1answer
49 views

Unable to connect EC2 instance via ssh

What I did: I had an old instance that I no longed needed so I terminated it. Created new RHEL-6.4 micro instance. Created new .pem file from "Key Pairs" section, downloaded and chmoded it to 400. ...
0
votes
1answer
79 views

Created AMI of ec2 instance on restart port 22 is closed

As per the title. I built up an ec2 instance that was working and created an image of it. On restart both the original vm and the and vms made using the image do not have port 22 open. It has ...
8
votes
4answers
948 views

`sudo echo “bla” >> /etc/sysctl.conf` permission denied

Disclaimer: I'm pretty novice at sysadmin stuff. I'm trying to set up port forwarding in an AWS EC2 instance, this has to be done in the command-line because I don't want to go in and edit anything, ...
0
votes
1answer
254 views

Non-root login on EC2 instance

I have set up an EC2 instance with ArchLinux for a client, and I am currently in the testing phase. I am using PuTTY from Windows 8 to SSH into the machine. I have set up the connection profile ...
1
vote
4answers
246 views

Running SSH on different port (RHEL EC2 instance)

So I've done this a few dozen times on a 'normal' box (not in EC2) and it seems simple enough. I was trying to run ssh on port 22 and 80 but I couldn't, for the life of me, figure out why I can't ...
2
votes
0answers
130 views

Amazon EC2 Instance running Ubuntu doesn't connect with non ec2-user

I have an Amazon EC2 instance running Ubuntu 10.04. I created my new user with sudo useradd -d /some/path new_user. Using the new_user, I created a new rsa key, using ssh-keygen -t rsa in the ...
3
votes
1answer
285 views

SSH connection closed/dropped a few seconds after successful log in (EC2/linux/debian)

I have been using ssh to connect to the same EC2 instance for months. Now, all of a sudden, I am getting kicked off the server every time I try to do so. The amount of time I can remain connected ...
1
vote
2answers
56 views

User management strategy on AWS

I'd like to know some ways that is being used to manage shell accounts on EC2 instances. Specially when it grows into a large environment? Just having ec2-user isn't ideal. There has to be a ...
0
votes
2answers
698 views

Modifying /etc/hosts to easily access a domain name (or ip address) for amazon EC2 instance

I previously added into my local(Mac OS x 10.6) /etc/hosts file my server's public ip something like this: 123.123.123.123 myServer to allow me to ssh to myServer without having to remember the ip ...
0
votes
1answer
168 views

AWS EC2 - How can I recover files now that I'm no longer able to SSH into my server instance? [duplicate]

(I'm very inexperienced with servers) After getting frustrated with some permission issues on my AWS EC2 instance I decided I would do the command: chmod -R 777 / I thought that would change the ...
-1
votes
2answers
639 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
0answers
47 views

securing ec2 interinstance communication with ssh

I would like to be able to have instances from one of my ec2 clusters to talk to instances in another ec2 cluster in real time (not via a rdbms or messaging queue). I'm thinking the best way to do ...
-2
votes
1answer
73 views

Can't SSH to EC2 specific port

I'm would like to open an SSH connection between my local machine and an EC2 instance. I added my local IP (static) with this port to the 'Groups Permissions' but it doesn't work yet. When I do: ...
-3
votes
1answer
45 views

AWS and Inbound SSH [closed]

So I know a lot of people have problems logging into ssh due to the whole public key files and such. I'm trying to figure out how to disable all that so that all that is needed to be sent over is a ...
1
vote
1answer
83 views

How to change the amazon Ec2 instance keypair with the new key pair [duplicate]

I have an instance where my site was running. But when I have restarted the instance the site went down and also I have lost my pem key which is associated to instance. Now I am not able to access ...
1
vote
1answer
91 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 ...
0
votes
3answers
138 views

Why can't I ping my freshly set up amazon web service EC2 instance?

I was following this tut on how to set up a EC2 instance on Ubuntu but qhen trying to execute ssh command on my IP address, I had an operation Timeout. So I tried to ping it but no chance neither. ...
0
votes
1answer
90 views

ssh to Amazon EC2 Ubuntu server behind firewall

I ssh to an Amazon EC2 server and have just enabled the ufw firewall. This terminated my connection and now I can't ssh back in. I assume the firewall is preventing access. I tried rebooting but no ...
0
votes
1answer
84 views

ssh not honoring -i switch

I have a bunch of keys in .ssh folder in my home. If I try to log into an ec2 instance using the below ssh -2 -vvvv -i ~/.ec2/boogoo.pem ubuntu@ec2-54-225-36-186.compute-1.amazonaws.com I see this ...
1
vote
2answers
2k views

rsync as root to /var/www failing with “protocol version mismatch”

I'm trying to set up a one command way to move website code from a dev machine up into my Ubuntu EC2 instance and have it be copied straight into the /var/www/mywebsite folder where nginx expects to ...
2
votes
1answer
88 views

Why did cloning my Amazon EC2 node set off automatically generating a new ssh host key pair?

My normal backup process is to create a new AMI from an EC2 instance I have running Amazon's linux. This is convenient because the EC2 console automatically shuts down the node , makes a copy and ...