How do you connect Coda to an AWS EC2 instance? wrong username or password

I followed the instructions in the thread: How do I configure Coda to work with an instance of Amazon EC2?

However, I still have a problem. I can use ssh in my EC2 instance by simply typing ssh unbuntu @ip, and also use the terminal in Coda. When I try to add a site and connect, it says that the username or password was not accepted by the server.

I am sure that my rights are correct (400) on my key pair located in .ssh, as I can ssh into it.

My codes settings:

Protocal: SFTP port 22
Server: <ip>
username: ubuntu
password: <blank>
Root URL: http://<ip>/sub

In addition, My .ssh resolution is 700, and 400 for all files. My configuration file looks like this:

Host <ip>
User ubuntu
IdentityFile ~/.ssh/key.pem
HostName <ip>

, ? ssh termainal Coda; "Could not connect to server xxxx: The username or password was not accepted by the server." Coda.

+5
2

Coda EC2, :

: SFTP

: 22

: ec2-xxx-xxx-xxx-xxx.eu-west-1.compute.amazonaws.com

: ec2-user

: ( "" " " )

URL- : http://whatever.com

:/var/www/html/whatever.com

://Macintosh HD/////

SAVE .

~/.ssh/config:

# AWS Ec2 Ireland
Host *.eu-west-1.compute.amazonaws.com
IdentityFile /location/of/your/pem/file/dublin.pem
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
IdentitiesOnly yes
ForwardAgent no
+8

"ec2-user" .

+2

All Articles