- 最新
- 投票最多
- 评论最多
For connecting to your AWS Lightsail instance, there are several options available:
-
SFTP instead of FTP: By default, Lightsail supports SFTP rather than traditional FTP. You can use FileZilla or other SFTP clients to connect to your instance using your SSH key.
-
For cPanel/WHM instances: By default, FTP is disabled in cPanel/WHM. You can enable it by going to Home / Service Configuration / FTP Server Selection. The required FTP application will be installed after clicking the Save button.
-
Browser-based SSH: Lightsail offers an in-browser SSH Connect feature. While logged into the Lightsail console, you can click the Connect button for your specific instance to open a new browser window with an SSH session.
-
Terminal or third-party SSH clients: You can also connect using terminal (on Mac/Linux) or clients like PuTTY (on Windows) if you prefer using your own SSH client.
If you're still having connection issues, you might want to:
- Verify your instance is running properly
- Check that port 22 (for SSH/SFTP) is open in your firewall settings
- Ensure your SSH key is properly configured
- Try restarting your instance from the Lightsail console
If none of these solutions work, you may need to check if there's a firewall on the OS level blocking connections, or consider creating a snapshot and restoring to a new instance.
Sources
How do I FTP to my cPanel domain on my Lightsail instance | AWS re:Post
How to connect my AWS instance using SSH | AWS re:Post
Can not connect to lightsail server even on web ssh, port is open | AWS re:Post
