I’m following the guide to spin up a F5 BigIP virtual appliance on an EC2 instance listed on the F5/AWS documentation page. I’ve launched the appliance and according to the steps I’m trying to SSH into the instance to set the admin password. But for the life of me I can’t log in with the SSH key I’ve created the appliance with.
I’m using the following command:
$ ssh -vvv root@[internalIP or EIP] -i .ssh/sshkey.pem
I’ve tried multiple SSH keys, also ones that work on other machines, the permissions are set correctly on the key files. The security groups are open for SSH and HTTPS on the appliance. But I keep getting a Connection Closed when trying to SSH in.
exact error:
debug1: Offering RSA public key: sshkey.pem debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Server accepts key: pkalg ssh-rsa blen 279 debug2: input_userauth_pk_ok: fp xx:xx:xx:xx:xx:xx debug3: sign_and_send_pubkey: RSA xx:xx:xx:xx:xx:xx Connection closed by [IP address]
What am i doing wrong? How can I SSH into the appliance and change the admin password so I can start configuring the ltm?
I have created an SSH key via the AWS console, downloaded it, set the permissions right and used it to launch the appliance with. I thought I was going crazy and later on once I’ve terminated and relaunched a couple of appliances, I selected a different SSH key to launch the appliance with, an SSH key that I’ve used to spin up other instances, to make sure that it wasn’t something with the key. But unfortunately, the same problem, i can connect to the appliance, it starts the key exchange and then the server closes the connection.
I am supposed to SSH in as root right? I’ve also tried ec2-user, but that asks for a password that I do not have.
Is there a way to log in to the web interface, a default admin password, that I can use?
The default admin username and password is admin/admin but I have a feeling things are a bit different with AWS and you must SSH in and set your own admin password first.
Yes, you should be specifying root when connecting via SSH.
I’ve spun up another appliance in a different VPC in a different region, with a different SSH key that I’ve already used on other EC2 instances, I’ve tried connecting directly from my mac and via a jumphost. When I try to connect:
Thanks for this Yvonne, I was having this problem all last week as well. This is incorrect in all of the F5 documentation, even the 11.6.0 guide which is the most recent.
Bumping this thread, I currently trying to deploy a bigip ve in aws. I can access the device via ssh without any issues but I can´t login because none of the passwords work. (default,admin or password)