Configuring an SSH connection

Connect Launchdeck to your server over SSH to deploy your application securely.

You'll need:

  • Your server hostname or IP address
  • Your SSH username
  • Your SSH port (usually 22)
  • Password or SSH key access

1. Add your server

In Launchdeck, add a new server and select SSH as the connection type.

Give your server a recognizable name, then enter:

  • Hostname --- your server hostname or IP address
  • Port --- usually 22
  • Username --- the SSH user Launchdeck should connect as

2. Configure authentication

Launchdeck can connect to your server using an SSH key or password.

SSH key authentication

SSH key authentication is recommended.

Launchdeck generates a public SSH key for your server connection. Add this key to the authorized_keys file for the SSH user on your server.

Launchdeck provides a command you can run on your server to add the key automatically.

If your hosting provider manages SSH keys through a control panel, copy the public key from Launchdeck and add it through your hosting provider instead.

Note: Some hosting providers may also require you to whitelist Launchdeck's IP address. You can find the IP address in the server configuration window.

Configuring an SSH server for
deployment

Password authentication

If your server allows password authentication, you can enter the SSH user's password instead.

3. Set your deployment paths

Choose where Launchdeck should deploy your application on the server.

Launchdeck uses a release-based directory structure:

/your/installation/path
├── releases/     Previous and current releases
├── current ->    Symlink to the active release
└── shared/       Files shared between releases

The installation path should be a directory that your SSH user has permission to access and modify.

4. Configure your webroot

If you want Launchdeck to automatically link your webroot to the latest release, enable that option and configure the paths below.

Webroot path on server

Enter the path used by your web server to serve your application.

For example:

/home/username/domains/example.com/public_html

On some hosting setups, this may simply be:

/public_html

Webroot path in repository

This setting is optional. If your application's public files are inside a subdirectory of your repository, enter that directory here.

Common examples include:

  • public for Laravel applications
  • web for Bedrock applications

If your repository root is also your webroot, use /.

SSH server deployment
paths

5. Test the connection

Click Test connection to check your server configuration.

Launchdeck will attempt to connect to your server and verify that the configured paths are accessible.

Once the connection succeeds, your server is ready to use for deployments.

What Customers Say

“Outstanding customer service.”
- Markus M, Business Owner
“It has really been making deployment of our software to several different staging environments a lot smoother.”
- Arjan S, SaaS Company CTO
“I just wanted to say, great job. I spent like a week to find a service like this.”
- Pasha K, Lead Frontend Engineer
A better way to deploy code
Try Launchdeck free

No credit card required