- These instructions will help you to login / SSH into UNIX based OpenStack VPS services.
To log in, you'll need the default user and IP Address of the instance.
Finding the Default User
The default use will typically be the OS type.
- CentOS user = centos
- Ubuntu OS user = ubuntu
Locating the IP Address
- Using the Portal dashboard:
- Navigate to the (Portal > 'Services' > 'My Services') page.
- Click the Active service from the 'My Products & Services' page.
- Scroll down, check the 'Interfaces' section.
Finally, select the article below that corresponds to your operating system for instructions on how to log in using your Key Pair.
Download your Private Key
- Using the Portal dashboard:
- Navigate to the (Portal > 'Services' > 'My Services') page.
- Click the Active service from the 'My Products & Services' page.
- Scroll down, check the 'Additional Info' section.
Connect to your instance with SSH Keys in Windows
- Open PuttyGen and convert the rsa to ppk
- Open PuTTY and navigate to 'Connection > SSH > Auth'.
- Click the Browse button near the 'Private key file for authentication' field.
- Select the .ppk file you downloaded and then click open.
- Navigate to the 'Session' category and enter the IP Address of your server in the 'Host Name' field. In the 'Saved Sessions' field, give this connection a name. For example, dh-compute.
- Click the Save button on the right to save this session.
- Click the session name you just saved and click the Open button.
- PuTTY connects to your server instance and asks for your username.
login as: - Enter your user and click 'Enter'. You are now logged into the server.
Connect to your instance with ssh keys in Mac or Linux
For example, let's say you downloaded the key and named it mykey.pem from the instructions above.
- Move that from your /Downloads directory into your ~/.ssh directory:
macbook$ mv ~/Downloads/mykey.pem ~/.ssh
- Change the permissions to 600
macbook$ chmod 600 ~/.ssh/mykey.pem
- You can now log in while specifying that file name:
macbook$ ssh -i ~/.ssh/mykey.pem USER@IP_ADDRESS
Comments
0 comments
Please sign in to leave a comment.