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.
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:
|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.
|server.dreamhost.com||'server' is the name of your Shared server|
|ps123456.dreamhostps.com||'ps123456' is the name of your VPS server|
|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 firstname.lastname@example.org
[server]$ ssh email@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
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.
How to configure passwordless login in Mac OS X and Linux
View the following article for instructions on how to enable this in OS X and Linux:
How to configure passwordless login in Windows
If you're using Windows you'll need to download a 3rd party program named PuTTY to emulate a shell environment. View the following articles for details:
- Enabling Shell access
- SSH client software
- Troubleshooting SSH
- How to configure passwordless login in Mac OS X and Linux
- How do I set up passwordless login in PuTTY?
- UNIX commands
- Updating host keys