Manage your own SSH Key
- Go to Settings > User Settings > SSH and click Edit.
- You have the option to select how you would like to SSH into your server:
Download a Java Web Start Application: Uses a Java Web Start application to launch an SSH session. Requires Java 1.7 or later.
Run a Java Applet: Uses a standard Java Applet to launch an SSH session. Requires a compatible browser.
Generate ssh:// Protocol Links: For advanced users who do not want to use Java to launch an SSH session. May require additional browser configuration for proper operation.
Note: You may experience issues with Java depending on the browser you are using (for example, Chrome does not support version 7 of Java for Macs). For additional information, see Which Browsers are Supported by RightScale.
- In the Authentication section, you are given the option to choose how you would like your user-specific, SSH credentials to be managed. Yiou can have RightScale manage your credentials or you can choose to have your credentials stored on your computer.
Manage my credentials for me (default) - When you first set up your user account with RightScale, an SSH keypair is automatically generated for you. When you SSH into an instance, your Managed SSH Key will be used for authentication purposes (even if you launched the server with a cloud-specific SSH key (e.g. EC2 SSH Key).
Use the credentials stored on my computer - Select this option if you want to use your own SSH keypair instead of the one that RightScale created for you. For example, some company's may not allow you to use an SSH Key that was generated by someone other than yourself. If you choose this option, you must make your public and private key material accessible for use by the RightScale platform by uploading your public key and providing the relative location of the private key. Therefore, if you use more than one device (e.g. laptop, smartphone, etc.) to SSH into a running server, be sure to place the private key in the same location on each device. Note: If you want switch back to having RightScale manage your credentials, you can just click Manage my credentials for me however, RightScale will generate a new SSH keypair for you; your previous key will not be reused. Note: If the "Mandatory Server Login Control" option is 'enabled' on a RightScale account, users with 'server_login' access will be required to use their own credentials.
Public Key - Copy and paste the contents of the public key in the text field.
Private Key - Specify the location where the private key can be found (on the device that you're using to create an SSH session into running servers) relative to the home directory.
- Windows Example: If the private key ('my-key') is located in this directory, C:\Users\<my-user-name>\ssh\ on your Windows machine, you would enter \ssh\my-key in the Private Key field.
Note: For Account Managers who need to keep track of multiple users of an account, when a user pastes in their own public key, RightScale will automatically add the user's email to the end of the public key (i.e. [Public SSH Key] email@example.com). This makes it easier to identify the public keys of multiple users in an account.
- When the information has been entered, click Save.
Download and Store your Private User SSH Key
Once you generate your new Public Key, you will need to download and save your Private Key to your machine so you can properly SSH into a server. You will need this private key on every machine that is going to SSH into a server on the account. After saving your Public Key, you can click Download Private Key. This link is below your Public Key information.