I have followed the instructions in thread: How do configure Coda to work for my Amazon EC2 instance?
However, I am still having a problem. I can ssh into my EC2 Instance by just typing ssh unbuntu@ip
as well as use the terminal in Coda. When I try to add a site and connect- it says User name or Password was not accepted by server.
I am sure my permissions are correct (400) on my keypair located in .ssh as I can ssh into it.
My coda settings are:
Protocal: SFTP port 22
Server: <ip>
username: ubuntu
password: <blank>
Root URL: http://<ip>/sub
Furthermore, My .ssh directory permission is 700 and all files within are set to 400. My config file looks like:
Host <ip>
User ubuntu
IdentityFile ~/.ssh/key.pem
HostName <ip>
Any idea what is going wrong? I can ssh through the terminal and use the Coda terminal; however, I says
"Could not connect to server xxxx: The username or password was not accepted by the server."`
when I try to open the site using Coda.