Dreamweaver CS6 SSH private key SFTP on Amazon EC2
Asked Answered
V

4

6

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.

Vortical answered 13/8, 2012 at 21:32 Comment(0)
S
4

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

Stripe answered 12/10, 2012 at 7:26 Comment(0)
O
9

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.

Oink answered 26/11, 2014 at 10:15 Comment(1)
What about for mac usersRoodepoortmaraisburg
S
4

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

Stripe answered 12/10, 2012 at 7:26 Comment(0)
C
4

I see this is an old post, but I just ran into this issue. I have been using an app that has the same issue for years, my solution was to use Bitvise Tunnelier (http://www.bitvise.com/tunnelier) it allows you to connect to ssh with your key pair and it will proxy FTP to localhost on whatever port you set. So in Dreamweaver you connect to localhost at that port with regular FTP. It's secure enough for most cases because Tunnelier will not accept connections from anything but local.

The download page on their site can be a pain to find, it is here: http://www.bitvise.com/download-area . You will want "Download Bitvise SSH Client (Tunnelier)".

Calctufa answered 22/10, 2013 at 3:20 Comment(1)
This worked like a charm. Setup your sftp connection via Bitvise "Login" tab, than configure proxy via "Services" tab.Frightened
C
1

You may simply allow password authentication on your EC2 instance (which is disabled by default) by looking at the following instructions

http://bensnotepad.com/enable-password-access-to-your-amazon-ec2-linux-instance

Climax answered 11/4, 2014 at 7:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.