SSH overview

SSH, or Secure Shell, is a secure alternative to telnet. With SSH, you are able to securely copy/edit files, access SVN, cron jobs, and other DreamHost services via a standard Unix command line also known as shell. All SSH traffic travels over a secured connection rather than plain text. Because of this, the connection is encrypted and secure. DreamHost currently uses OpenSSH software on the server end.

Before being able to log into your server via SSH, you must update your user to a SHELL user in the panel. This process is detailed in the Enabling Shell Access article.

Logging into your server

When you're ready to log into your server via SSH, you'll need to know your hostname. This can be one of four names:

  1. example.com
    You can use this if you're logging into a specific domain. Just change 'example.com' to your actual domain name

    The following three examples use your server name. View the 'Finding your server name' article for details on how to obtain the correct name.

  2. server.dreamhost.com
    'server' is the name of your Shared server
  3. ps123456.dreamhostps.com
    'ps123456' is the name of your VPS server
  4. ds123456.dreamservers.com
    'ds123456' is the name of your Dedicated server

This article uses server.dreamhost.com as a general example. Make sure to use the correct server name for your particular site or server.

Run the following command in your terminal to log in:

[server]$ ssh username@server.dreamhost.com

-or-

[server]$ ssh username@example.com

Be sure to change "example.com" to your actual domain or server.dreamhost.com to the server to which you're attempting to connect.

How to configure passwordless login in Mac OS X and Linux

Once you set up a shell user, you must enter your password each time when logging into the server. If you’d like to avoid entering your password each time, you can set up Passwordless Login. This way, you'll be able to automatically login each time immediately without needing to enter your password.

View the following article for instructions on how to enable this in different operating systems:

See also

Internal links

External links