Connect to a site via SSH

One of the major benefits of Idealstack is that it offers a standard approach to uploading files & code to your site.  You can do this in any tool that supports SFTP

Before you start : setting up your SSH keypair

If you haven't already, setup an SSH keypair

Finding SFTP connection details

  1. Click on the site you want to connect to : on the settings tab ensure you have an SSH key.  If you don't currently have one see Setting up an SSH key
  2. Go to the Connect tab
  3. SSHconnection details are in the section Connect to SSH to run shell commands.
    1. If you are on a Mac, a linux machine, or you use a linux VM (eg Vagrant or Virtualbox) then pasting the openssh commandline into a terminal should be sufficient
    2. On Windows:
      1. You can use Cygwin, or Git Bash, and run openssh - in which case you can also paste the openssh commandline
      2. Alternatively if you prefer a more GUI approach use Putty or Kitty:
        1. Download and install PuTTY from the PuTTY download page. Be sure to install the entire suite.
        2. If you haven't already, ensure your private key is in the correct format for Putty: it uses a different format from OpenSSH .  Putty provides the PuttyGen tool which can convert OpenSSH keys to Putty compatible ones
        3. In the Host Name (or IP address) field, paste the User and  Host from idealstack in the format user@host (eg wordpress@54.79.82.255) and paste the Port in the Port field
        4. Under Connection > Auth > SSH in the config tree on the left, select your SSH key
        5. Click open, after a message about caching the host key (accept it), you'll be logged into your site

 

Troubleshooting

If you see this message, you still need to upload an SSH key