Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dreamweaver CS6 SSH private key SFTP on Amazon EC2

Tags:

dreamweaver

Is there a way to connect to an Amazon EC2 server via SFTP with SSH private key authentication only? I've been busting my head researching this but couldn't find a proper answer.

Basically, I need to edit files in Dreamweaver and enable automatic upload on save.

like image 921
flavian Avatar asked Aug 13 '12 21:08

flavian


2 Answers

Adobe doesn't offer the option to use SFTP with private key authentication with Dreamweaver.

According to Adobes web site you can use FTPS where there is a certificate used for authenticating that your connecting to the correct server and obviously encryption, but nothing about the use of SFTP with private key authentication.

You can read all about what is available with Dreamweaver remote server connect function here: http://helpx.adobe.com/dreamweaver/using/connect-remote-server.html

You can use Putty's Pageant and FileZilla which I know is a bummer considering the cost of Adobe Dreamweaver (I have it) but appears to be the only other secure option. You can read about how to use the 2 here: http://wiki.filezilla-project.org/Howto

like image 43
Kyle Coots Avatar answered Sep 25 '22 08:09

Kyle Coots


I have some detailed instructions of the setup:

  1. Download Bitvise SSH Client (Tunnelier)http://www.bitvise.com/download-area
  2. In login tab, press ‘Use keypair manager’ and import your amazon .pem key. You should finally end up with something like this: enter image description here

  3. In login tab set your amazon instance information

Host: ec2 instance IP Port: 22 Username: ec2-user Initial method: publickey – slot 1

enter image description here

  1. In services tab setup localhost listener for FTP connections like below: enter image description here

  2. Press Login to connect to the Amazon EC2. If success, it will open the ssh and SFT terminals. You may now close these 2 windows.

  3. In Dreamweaver, setup a new server to connect to bitwise 127.0.0.1 listener. You can set the Root Directory of the FTP. enter image description here

  4. Now when you put files to ‘Amazon Test’ they will be directed to your amazon EC2 instance, in selected Root Directory above.

like image 200
Aris Avatar answered Sep 23 '22 08:09

Aris