After provisioning your janeCloud server running Ubuntu 16.04 x64, we recommend several steps to customize your new cloud server before you start using it or installing any software layer onto the new environment. This will help protect your server and increase it’s effectiveness for multiple purposes.
Get your cloud server’s IP and login credentials
1. After successful payment is approved, your server will be set up within 2 minutes.
2. Login to My HostJane. In the Dashboard under Services, look for the Ubuntu server you have provisioned.
If you cannot see the Ubuntu server or the cloud server is not active, please open a ticket.
3. Click Manage next to the Ubuntu server item. You will be transferred to the server’s dashboard.
Identifying your root password
4. Go to the Statistics area to find your cloud server’s IP address and password.
Sample screenshot of the Cloud Information.
The Main IP is your janeCloud’s IP address.
The Default Password is the root password.
ssh root [Your_Server's_IP]
Replace Your_Server’s_IP with the janeCloud IP address given in Statistics.
Create a new user
For security reasons it’s best not to use the
root user for everyday administrative tasks. The solution is to create a new user.
Type the following on the command line:
Replace janedoe with the unique name of your new user.
You will be automatically asked to set a new password for janedoe, and to reenter the password to confirm.
Press Enter to proceed with default information, otherwise enter values for your:
- Full name
- Room number
- Work phone
- Home phone
Give janedoe super-user privileges by adding her to the
usermod -aG sudo janedoe
Your new user can now have
root privileges using
We recommend setting up public SSH keys to secure your server.
After you’ve set up your SSH keys, open another terminal on your local machine and add your SSH key to janedoe‘s home directory.
With the SSH key now installed, log back into your janeCloud server using the root user
Switch to janedoe to enter her home directory
su - janedoe
Create a new directory .ssh and restrict permissions:
Ensure there are no spaces between
chmod 700 ~/.ssh
nano, the command-line text editor, to edit the
authorized_keys file in .ssh directory by typing:
chmod 600 ~/.ssh/authorized_keys
exit to switch back to the
Verify the configuration
Check that janedoe can successfully log into her janeCloud using SSH.
If successful, you will login to your janeCloud using your private key, and will not be asked for a password.
Secure your janeCloud server by disabling
root password authentication
Edit the SSH daemon file to prevent unauthorized users logging into your janeCloud using password authentication.
nano, the command-line text editor, to open the SSH daemon file (after logging in with your SSH new super-user, janedoe) by typing:
sudo nano /etc/ssh/sshd_config
Find PasswordAuthentication, it will look like this:
Set it to
no using your cursor
Check that PubkeyAuthentication and ChallengeResponseAuthentication in the same SSH daemon file are set to
ctrl + Othen
Enterto write the changes to SSH daemon
Now close the file with
ctrl + x
To save the changes, restart the SSH service:
sudo systemctl reload sshd
You are now ready to start using your new Ubuntu janeCloud server and begin installing any software.