# Connection closed

**URL:** <https://community.f5.com/t/connection-closed/10154>\
**Category:** Technical Forums\
**Tags:** deployment, aws, cloud, ltm, application-delivery\
**Created:** [November 21, 2014, 10:22pm UTC](https://community.f5.com/t/connection-closed/10154 "2014-11-21T22:22:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Isaac\_S\_177992](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@Isaac\_S\_177992](https://community.f5.com/u/Isaac_S_177992)\
**Post date:** [November 21, 2014, 10:22pm UTC](https://community.f5.com/t/connection-closed/10154/1 "2014-11-21T22:22:54Z")

</div>

Upon launching an F5 BIG-IP VE AMI on EC2 (I’m using the 25Mbps trial edition), I notice that I can establish SSH connection to the instance (as well as HTTPS connection), but can’t log in at all.

Trying key-based login with the key pair provided by Amazon, I’m getting a "Connection closed by " error message.

Not necessarily looking for an instant answer as to what’s wrong (although that would be welcome); but what bothers me most is that I have no idea how to even go about troubleshooting this.

Accessing via HTTPS, I can see the login prompt. Obviously I can’t login though because I don’t know what the admin password is (I read that I should SSH into the instance in order to reset the admin password).

Any ideas?

---

<div class="post-metadata">

**Author:** ![Daniel\_Epperson](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@Daniel\_Epperson](https://community.f5.com/u/Daniel_Epperson)\
**Post date:** [November 21, 2014, 10:44pm UTC](https://community.f5.com/t/connection-closed/10154/2 "2014-11-21T22:44:59Z")

</div>

Hi, I’m with F5 Support and we’re currently looking into this issue.

---

<div class="post-metadata">

**Author:** ![Mike\_Dayton\_108](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@Mike\_Dayton\_108](https://community.f5.com/u/Mike_Dayton_108)\
**Post date:** [November 21, 2014, 10:46pm UTC](https://community.f5.com/t/connection-closed/10154/3 "2014-11-21T22:46:36Z")

</div>

Did you try username root password default over SSH?

---

<div class="post-metadata">

**Author:** ![Riley\_Schuit\_82](https://avatars.discourse-cdn.com/v4/letter/r/5f9b8f/32.png) [@Riley\_Schuit\_82](https://community.f5.com/u/Riley_Schuit_82)\
**Post date:** [November 21, 2014, 10:47pm UTC](https://community.f5.com/t/connection-closed/10154/4 "2014-11-21T22:47:12Z")

</div>

I have had issues in the past were it was resetting my attempted connection. After waiting a bit, just magically worked. I feel it was in relation to the EIP association with the private IP of the VPC. I blame AWS.

---

<div class="post-metadata">

**Author:** ![Riley\_Schuit\_82](https://avatars.discourse-cdn.com/v4/letter/r/5f9b8f/32.png) [@Riley\_Schuit\_82](https://community.f5.com/u/Riley_Schuit_82)\
**Post date:** [November 21, 2014, 10:49pm UTC](https://community.f5.com/t/connection-closed/10154/5 "2014-11-21T22:49:39Z")

</div>

That will not work, it will require to use host based authentication in AWS.

---

<div class="post-metadata">

**Author:** ![Isaac\_S\_177992](https://avatars.discourse-cdn.com/v4/letter/i/5e9695/32.png) [@Isaac\_S\_177992](https://community.f5.com/u/Isaac_S_177992)\
**Post date:** [November 21, 2014, 11:07pm UTC](https://community.f5.com/t/connection-closed/10154/6 "2014-11-21T23:07:55Z")

</div>

Yes. root/default gets me “Access denied”.

---

<div class="post-metadata">

**Author:** ![Riley\_Schuit\_82](https://avatars.discourse-cdn.com/v4/letter/r/5f9b8f/32.png) [@Riley\_Schuit\_82](https://community.f5.com/u/Riley_Schuit_82)\
**Post date:** [November 22, 2014, 1:48am UTC](https://community.f5.com/t/connection-closed/10154/7 "2014-11-22T01:48:55Z")

</div>

Just for informations sake; he is talking about how the root account’s (that can not be accessed via the web interface) default password is ‘default’. In AWS, you need to login via ssh as root that ties into your ssh key, then you can alter the admin password via the passwd command.

---

<div class="post-metadata">

**Author:** ![ChrisMutzel\_151](https://avatars.discourse-cdn.com/v4/letter/c/a88e57/32.png) [@ChrisMutzel\_151](https://community.f5.com/u/ChrisMutzel_151)\
**Post date:** [January 21, 2015, 10:57pm UTC](https://community.f5.com/t/connection-closed/10154/8 "2015-01-21T22:57:57Z")

</div>

I had this problem as well. In my case, I was working on the 11.6 version of bigIp, but mistakenly followed the instructions for bigIp 11.4 In the documentation the credentials were different “ec2-user@” versus “root@…” to log into the device on the mgmt port.

I am not sure if this is your problem, but I continually got the same “Connection closed”, even when I double checked my private key matched the one stored in EC2.
