Digital Masters Magazine

Mastering Digital Arts for Web, Video, Mobile, IoT (and Space Travel)

  • Design
  • Photo
  • Video
  • Web
  • Code
  • UX
  • Mobile
Home Code How to set up SFTP access in Dreamweaver for uploads to Amazon AWS EC2 using OpenSSH key pairs
How to set up SFTP access in Dreamweaver for uploads to Amazon AWS EC2 using OpenSSH key pairs

February 14, 2016 By admin 1 Comment

How to set up SFTP access in Dreamweaver for uploads to Amazon AWS EC2 using OpenSSH key pairs

For every user of Adobe Dreamweaver comes a time when it’s no longer feasible to work offline: sooner rather than later, you need access to a remote server, (either your staging or your production server, or both). If you are among the lucky ones whose staging or production environment runs on AWS EC2, Amazon’s high-performance low-cost compute cloud, you may hit quite a series of roadblocks before you get Dreamweaver CC/CC 2017 to communicate with your server instance(s). Here is a short and sweet tutorial on how to set up SFTP access in Dreamweaver without exposing your environment to the dangers of unsecured FTP.

A note about FTP: Quit demanding access via FTP from the system administrator of your remote server—and if you happen to be that administrator, don’t bother setting it up. FTP is not worth your precious time. This is a legacy protocol which comes with all sorts of security vulnerabilities that are unfixable. You might even say that FTP is a security vulnerability in and by itself. Stay away from classic FTP. You don’t need it and it’s not good for you.

One of the recommended methods of providing Dreamweaver access to a remote server for file exchange involves the use of SFTP and a key pair consisting of a private key file (which is only known by the authorized user) and a public key (which is installed on the server). This method is different from using a name and a password as access credentials. SFTP access in Dreamweaver is considered vastly more secure that (unsecured) FTP.

Step 1. On your local computer, create a key pair for OpenSSH

Windows users can use PuTTY Generator, a free utility which is part of the PuTTY Project, to generate OpenSSH-compatible key pairs.

Here is a short tutorial on how to create OpenSSH keys on a Windows desktop for remote access to a Linux server.

Step 2. Set up the target server for remote access based on the key pair you created

This step requires root access to the target server instance. In the environment of a typical creative agency, this task is usually performed by a server administrator. For step-by-step details on how to get this done, please refer to this tutorial: “How to set up remote access via SFTP to a web server root directory on RHEL/CentOS/Fedora using key pairs” and this one: High-Stakes, High-Security LEMP Setup: Nginx with MariaDB/MySQL, and PHP 7.x on RHEL/Fedora/CentOS 7 with SELinux.

Step 3. Edit the settings of your site for SFTP access in Dreamweaver

Open the settings dialog for your Dreamweaver site with the command „Site > Manage Sites“. Select the site you want to edit and navigate to the Servers section.

TechArmor iPhone 8 Protective Screen

Create a new server or select and edit an existing one.

For SFTP access in Dreamweaver, enter the following information pertaining to your remote server:

  • Connect using: SFTP;
  • SFTP address: any host name that points (in its domain’s DNS configuration) to the instance you want to connect with; in most cases simply the host name associated with your web application such as www.domainname.tld, or the IP address;
  • Authentication: Private Key File;
  • Username: your user name, other than root, that grants you read and write access to the web server document directory tree and its contents (never use root or you will seriously wreck your remote installation, making your web directory inaccessible to your web server!!): this user should be the website owner;
  • Identity File: your private key for authentication;
  • Passphrase: the passphrase that unlocks the key (empty by default, so when prompted for a passphrase, simply hit Enter);
  • Root Directory: the web server root directory you are connecting to (the example below shows a typical NGINX web directory location);
  • Web URL: the URL of your site that would be accessible to a web browser (this should be an HTTPS address).
SFTP access in Dreamweaver: Dreamweaver settings for a Linux instance on Amazon EC2
Dreamweaver settings for a Linux instance on Amazon EC2

Step 4. Test your configuration

Once you have completed this setup, hit the Test button and wait fro Dreamweaver to connect to your EC2 instance.

Dreamweaver_connecting_to_EC2

Step 5. Troubleshoot SFTP connection problems in Adobe Dreamweaver

If you are getting an error message, look at these as potential culprits:

  • the key you are attempting to use in your SFTP access in Dreamweaver is of the wrong type (for example a .ppk key in place of a .pem key)
  • you are not using a passphrase to unlock a key which needs one (or the other way around)
  • you are asking for a non-existing directory or one you are not allowed to access
  • the server address and/or port number you entered do not match the real specs
SFTP access in Dreamweaver: Dreamweaver: an (s)ftp error
Dreamweaver: an (s)ftp error

Step 6. Success! Feel free to celebrate

If everything worked well, you should see a message saying “Dreamweaver connected to your Web server successfully”.

SFTP access in Dreamweaver: Dreamweaver has connected to your web server successfully
Dreamweaver has connected to your web server successfully

Save your freshly confirmed settings for SFTP access in Dreamweaver and you are ready to go!

Filed Under: Code, Design, Tip of the Day, Webmasters' Insights, WordPress Tagged With: AWS, Dreamweaver, EC2, OpenSSH, SFTP

Trackbacks

  1. How to Set Up a Testing Server for Adobe Dreamweaver CS5.5 and CS6 | Digital Masters Magazine says:
    February 16, 2016 at 10:41 pm

    […] update to this post explains How to Set Up Adobe Dreamweaver for Uploads to Amazon AWS EC2 without an FTP Account. 1. Set up your testing […]

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Zizo

Change language settings in Adobe Photoshop 2020

How to change the language of Adobe Photoshop

Apple MacBook Pro (16-Inch, 16GB RAM, 1TB Storage) - Space Gray

The new 16-inch MacBook Pro: Faster, slightly heavier but still ultra-light and #WorthTheWait

iPhone XS

The iPhone XS +++ An Insider Report +++ new 5.8-inch and 6.5-inch OLED iPhones +++ Codename D32 & D33

Disable Create a PIN in Windows 10

How to disable the Create a PIN prompt on Windows 10 for good

SEO keywords research tools: SkyFu.com

Get more free inbound clicks for qualifying leads from paid search. SEO research tools on steroids

Disable Create a PIN in Windows 10

Windows 10 can be very persistent in asking you to create a PIN “for your convenience”, but what if you don’t want to remember a PIN? What if you are happy with a password-based sign-in? Windows 10 won’t quit nagging you about the digits and there is no obvious way to prevent it from throwing […]

SEO keywords research tools: SkyFu.com

Looking for more organic traffic and better qualifying leads from paid search? Look no more.

Recent Posts

  • How to change the language of Adobe Photoshop
  • The new 16-inch MacBook Pro: Faster, slightly heavier but still ultra-light and #WorthTheWait
  • The iPhone XS +++ An Insider Report +++ new 5.8-inch and 6.5-inch OLED iPhones +++ Codename D32 & D33
  • How to disable the Create a PIN prompt on Windows 10 for good
  • Get more free inbound clicks for qualifying leads from paid search. SEO research tools on steroids

What’s up

Adobe Adobe CC AJAX Amazon FPS Apache Apple Authorize.net checkout crash CSS3 Dreamweaver e-commerce eshops event log Event Viewer Facebook Finder Flash Google HTML 5 iOS JavaScript Mac MAMP merchant mobile OS X payment payments PayPal Photoshop PHP product key RSS SEO shopping cart timesheets virtual hosts Wall Street WAMP web shop Windows Windows 8 Windows 10 WordPress

Categories

Archives

  • May 2020
  • November 2019
  • August 2018
  • November 2017
  • October 2017
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • February 2015
  • November 2014
  • November 2013
  • October 2012
  • September 2012
  • August 2012
  • June 2011
  • May 2011
  • March 2011
  • May 2010
  • Home
  • Subscribe
  • Advertise
  • Privacy Policy
  • Legal
  • Contact Us

Copyright © 2021 ·Streamline Pro Theme · Genesis Framework by StudioPress · WordPress · Log in