We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
(Solved) "admin" SSH problems - Debian 8 on AWS EC2
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
(Solved) "admin" SSH problems - Debian 8 on AWS EC2
Hi,
I'm trying to install VestaCP on and Amazon Web Services EC2 Instance. You have to go to Amazon Market place and install Debian from there which creates the instance with "admin" user.
Now I can successfully install VestaCP with vst-install.sh --force but then it washes away the "admin" user's profile and RSA keys. I took backup of the public Key before installing the second time and restored it but now when I login using it, it shows
Using username "admin".
Server refused our key
What can be the problem ? -- what is the correct way of going about this ?
I'm trying to install VestaCP on and Amazon Web Services EC2 Instance. You have to go to Amazon Market place and install Debian from there which creates the instance with "admin" user.
Now I can successfully install VestaCP with vst-install.sh --force but then it washes away the "admin" user's profile and RSA keys. I took backup of the public Key before installing the second time and restored it but now when I login using it, it shows
Using username "admin".
Server refused our key
What can be the problem ? -- what is the correct way of going about this ?
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: (Solved) "admin" SSH problems - Debian 8 on AWS EC2
Well I solved it. Somehow the pubKey that I copied wasn't complete (wonder how). I used the command to retrieve the pubKey from my PEM file, put that in the authorized_keys and it worked flawless.
Ref: Retrieving the Public Key for Your Key Pair on Linux
Code: Select all
ssh-keygen -y
Ref: Retrieving the Public Key for Your Key Pair on Linux