After provisioning your janeCloud server running CentOS 7, 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 details
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 CentOS 7 server you have provisioned.
If you cannot see the CentOS server or the cloud server is not active, please open a ticket.
3. Click Manage next to the CentOS 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 -l 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.
Set a new password for janedoe
At the prompt, reenter the new password and confirm by pressing
Give janedoe super-user privileges by adding her to the
wheelgroup which can use
gpasswd -a janedoe wheel
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 your new janedoe user
ssh -1 janedoe Your_Server's_IP
Login should be successful. Close all other open terminals.
Secure your janeCloud server by disabling
root user login
You need to edit the SSH daemon configuration to prevent anyone logging into your janeCloud using the
root or password authentication.
nano, the command-line text editor, to open the SSH daemon file (after logging in with your SSH new super user) by typing:
sudo nano /etc/ssh/sshd_config
Find PermitRootLogin, it will look like this:
Set it to
no using your cursor
Check that PasswordAuthentication in the same SSH daemon file is also 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
Change GMT/UTC time on your janeCloud
You’ll want to change the local time zone on your janeCloud to wherever you are by editing the /usr/share/zoneinfo directory.
Pull up a list of your janeCloud’s timezones by running:
ls -R /usr/share/zoneinfo
You’ll see an output, such as:
sudo command to change your timezone:
sudo ln -sf /usr/share/zoneinfo/Time/Zone /etc/localtime
Replace /Time/Zone with your actual location’s timezone, e.g. /US/Arizona
sudo ln -sf /usr/share/zoneinfo/US/Arizona /etc/localtime
Now run the
date command to test that your janeCloud’s timezone is updated.
If you were in Arizona (GMT -7), you should get something along the lines:
Sat Jul 21 05:21:58 MST 2018
You are now ready to start using your new janeCloud and installing any software.