- 최신
- 최다 투표
- 가장 많은 댓글
Thank you for your comment. However, since 3 days I am working on it and I failed.
I want to describe my situation briefly. I am using bitnami server with basic plan of lightsail, with wordpress, I am a startup. During the setup, I prefered all in defaut with a static IP and I opened the website. It seems all is working, however SFTP connection can not be established since 3 days. I worked with deepseek (I think for technical issues it is good), we tried more than hundered codes, we have a connection to ssh online console to bitnami and use it. I tried every code but no success. Main problem is ssh key. I tried several way, deleting and building new ones, using Puttygen to convert, checking the key from ssh console, however the correct key not working. At bitnami ssh console, we find that the key is incorrect and we change it, but this not works also.
But at the end, we dont have any connection with filezilla or other ftp clients. Error log is "our key is not accepted from server".
Than, I tried to set a ftp (old version) at ssh console, only this I have a limited connection to service with a few files is seen but it is not a good connection and not to work.
So, I want to ask this is normal period for an sftp connection or I am facing an unregular situation. I dont think I do something wrong even Deepseek help does not work. This situation is ridiculous. That is an FTP connection only.
Now, here I am looking for my last chance to find a working solution, if not I am planing to go an other hosting company. I dont want this but an SFTP connection is must for a sustainable websites, so I need this connection.
I hope someone can help me.
When you encounter the "Server refused our key" error in FileZilla while trying to connect to your AWS Lightsail WordPress instance, there are several potential causes and solutions:
-
Username verification: Make sure you're using the correct username for your instance. For Lightsail WordPress instances, the default username is typically "bitnami" but could vary depending on your specific setup.
-
Key file format: FileZilla requires the key to be in PPK format. If you're using a .pem file, you need to convert it to .ppk format using PuTTYgen:
- Open PuTTYgen
- Click "Load" and select your .pem key file
- Click "Save private key" to save it in .ppk format
-
Key file permissions: Ensure your private key file has the correct permissions. On Windows, check that only your user account has access to it.
-
Update your SSH client: Try updating FileZilla and PuTTY to their latest versions, as older versions might have compatibility issues with newer SSH security configurations.
-
Security group settings: Verify that your Lightsail instance's firewall/security group allows inbound SFTP/SSH traffic (port 22) from your IP address.
-
Instance status: Confirm that your Lightsail instance is in the "running" state and has passed all status checks.
-
Alternative connection method: Try connecting via SSH using PuTTY directly or through the Lightsail browser-based SSH to check if you can access the instance at all. This can help determine if the issue is specific to FileZilla.
If you continue to experience issues, you might need to create a new key pair in the Lightsail console and update your instance to use the new key.
Sources
Problem to configure FileZilla to access my aws ec2. | AWS re:Post
Lightsail Instance refuse key | AWS re:Post
Troubleshoot issues connecting to your Amazon EC2 Linux instance - Amazon Elastic Compute Cloud
Hello! I understand you're having difficulties connecting to your Lightsail instance via SFTP using FileZilla. I'd be happy to help guide you to a solution.
AWS Lightsail has provided a comprehensive tutorial specifically for this situation that should resolve your connection issues. Please follow the documentation here: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-connecting-to-linux-unix-instance-using-sftp.html
Please make sure:
- You're using the correct default username (bitnami)
- Your SSH key is in the proper format
- You've configured FileZilla to use SFTP (not FTP)
- Your instance's networking settings allow SSH/SFTP connections
Please let us know if you still experience issues or need further assistance!
