Rackspace Cloud Essentials - Going From Mac To Linux Using Terminal
Secure shell connection
If you are a Mac user, you don’t need to install a third party client like PuTTY to connect to your Cloud Server via Secure Shell (SSH). Terminal is a terminal emulation program included with Mac OS that can be used to run ssh. It can be accessed at Applications > Utilities.
These instructions are written for users connecting to a new Cloud Server for the first time. If you’re connecting with a non-root user, replace root in the instructions with your username.
Follow these steps to connect to your Cloud Server with Terminal:
- Launch Terminal. You will see a terminal window interface.
user00241 in ~MKD1JTF1G3->$
- Establish an SSH connection to your Cloud Server. The correct syntax is:
MKD1JTF1G3->$ ssh email@example.com
- The first time you connect to your Cloud Server, you will see a message asking if you want to continue connecting.
This is because your Cloud Server has an RSA key not stored in your system registry, the identity of which cannot be verified.
The authenticity of host '220.127.116.11 (18.104.22.168)' can't be established. RSA key fingerprint is 47:ff:76:b4:211:0f:11:15:21:bd:92:2f:44:0a:d9:0a. Are you sure you want to continue connecting (yes/no)?
Type yes and hit enter. This adds the RSA key to the list of known hosts. You will not see this warning again during future connections.
- Enter the root password for this server. The password will not echo to the screen.
MKD1JTF1G3-$ ssh firstname.lastname@example.org email@example.com's password:
If you entered the correct password, the prompt will respond with a shell prompt as seen below:
First things first – changing the root password
Change the root password after your first login.
At the shell prompt, enter
Change your password:
Enter new UNIX password: Retype new UNIX password:
- If the passwords match, you will receive the following confirmation that the authentication tokens have been updated successfully:
Passwd: password updated successfully
Use the new password with the root user when connecting to your server.
The next article will show you how to use Rescue Mode to connect to your Cloud Server. This is useful when performing troubleshooting and when your server becomes unresponsive.
© 2011-2013 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License
See license specifics and DISCLAIMER