Connecting to AW EC2 instances using ssh

To connect to my AWS EC2 instances requires a SFTP SSH connection using a user password and key file . The remote connection setup in Wappler does not allow for a Key file to be loaded , but only a password.
What might be the solution here that I can use to connect to my AWS instances.

Thanks

Hi Kelvin,

We were just adding more options to the FTP connection options in Wappler.
Next to options for FTPS Implicit/explicit connections we will also add a keyfile for SFTP.

Hope to make it available in the update for today.

Using SFTP with key files in now available in the latest 1.0.5 version

There is now a failure with Authentication on AWS using SSH . ( V1.05) The connection protocol is asking for a continue (Y/N ) but no opportunity to reply hence connection failure returned.

Hi Kelvin,

Could you find out what ssh program you got installed and where it is?

Also in what OS are you exactly?

Running Windows Putty and filezilla. Both
connect to aws ec2 instances OK. Note in filezilla when connecting

.
Also both using private key created by putty and run on C drive programs files
Running win10
Hope this helps

Wappler SSH connection test error

Could you send me the Wappler debug log after you tried the ftp:

Also could you start a Command prompt and see where is the SSH program located.
You can do this by clicking on the Windows Search button on the taskbar, type cmd in the search box and choose Command Prompt on the top.

In the command prompt type:

where ssh

then type:

ssh -v localhost

and let me know what the output is. Paste it here as screenshot

report_2018-5-24_22-11-2.zip (143.0 KB)
George two files as requested
Thanks

1 Like

Thanks Kelvin - this is really helpful.

It seems you are using the new ssh command for connecting that Microsoft auto installed in the latest Windows 10 April update …

This command isn’t functioning very well however.

You can try to install the Git for Windows, to get a real good replacement for ssh:

Make sure you don’t skip the add to path section.

Afterwards you can check with the command prompt as above, the “where ssh” should point to the github for windows installation.

If not - try reordering the PATH in the system environment settings.

Carried out these steps.

See result


oh I see there is some conflict with the cygwin DLL as the error indicates. Seems you have more of it and conflicting versions.

Maybe try to clean those out see what other software you have installed.

2 posts were split to a new topic: Connecting to AWS EC2 with ssh key