I've installed OpenVPN in an EC2 instance with elastic IP in VPC. Setup with no issues, initial SSH connect and key generation went fine. Changed default username. Now I'd like to ssh in to the server again, but I keep getting message that the 'server refused our key'.
I have web access to the server working fine, clients connect to vpn fine as well. How can I regain SSH access to the server?
No SSH Access to Ec2 Instance
-
- OpenVPN Power User
- Posts: 89
- Joined: Fri Aug 05, 2011 3:02 pm
- Contact:
Re: No SSH Access to Ec2 Instance
possibly a misspelled username but more likely a permission error on the SSH files for the changed user. SSH will skip over risky files with unsafe permissions, even though no other users can login (very impractical to test that), as if these files do not exist. it can refuse the client's identity key for this reason.
most likely not an OpenVPN issue. most OpenVPN setup mistake make things unreachable.
most likely not an OpenVPN issue. most OpenVPN setup mistake make things unreachable.