Linode Cloud Manager supports Third-Party Authentication (TPA). This allows you to log in to the Linode Cloud Manager with another provider’s login credentials.
Note
Enabling TPA disables Two Factor Authentication (TFA) on your Linode account. You should enable TFA with the TPA provider with which you choose to authenticate to Linode.
Additionally, enabling TPA disables password authentication in the Lish console. You can still authenticate to Lish with an SSH key. For more information on SSH key authentication with Lish, visit our Using the Linode Shell (Lish) guide
Enabling Third Party Authentication
To get started with TPA, log in to the Linode Cloud Manager using your existing username and password.
Navigate to your profile by clicking on your username in the top right of the screen.
Click on the Password & Authentication tab, then click on the Third Party Authentication sub-tab.
Select the Third Party Authentication provider you would like to enable on your account. You may only have one TPA provider active at a time. You will be asked to confirm that you’d like to enable TPA with this provider.
Caution
Enabling Third Party Authentication disables your current Linode password and Two-Factor Authentication on your Linode account. Any Two-Factor Authentication you require will be handled by the TPA provider you choose.
You will be taken to the TPA provider’s website, where you will be prompted to give account access to Linode. You will see a list of permissions that will be granted to Linode. Confirm that you would like to grant Linode the required permissions.
After granting permissions, you will see a confirmation screen. You can now log in to your Cloud Manager account using the TPA provider.
Disabling Third Party Authentication
Log in to Linode Cloud Manager using Third Party Authentication.
Navigate to your profile by clicking your username in the top right of the screen.
Click on the Password & Authentication tab.
Click on the Disable button for your TPA provider. In the example below, the button is labeled Disable GitHub Authentication.
A prompt will appear confirming that you’ve disabled the TPA provider on your Linode account. At this point, your session will be invalidated and you’ll be logged out of Cloud Manager. You will need to click on the Reset Password button to send a password reset link to your email. This will be delivered to the email address associated with the Linode account, and not the email associated with the TPA provider. You will need to follow the link in that email to reset your Linode Cloud Manager password.
Once reset, you can use your new password to log in to Linode Cloud Manager.
This guide is published under a CC BY-ND 4.0 license.
You can copy a disk of a Linode from one Linode account to another. This is a great way to prepare a disk for another Linode customer and transfer it from one individual account to another individual account. Or if you have multiple Linode accounts, this guide provides instructions to consolidate all the disks in one account.
Note
If you are copying a disk of a Linode that hosts applications, then ensure that you complete the backup and migrate steps for the respective applications.
Preparing the Receiving Linode
You need to prepare the receiving Linode before initiating the transfer. First, create a Linode with a new disks to hold the files from the other Linode.
Creating a New Receiving Linode
Log in to the Cloud Manager with the username and password you created when signing up.
Click Create at the top of the page and select Linode.
Click X to not choose any Image in the Choose a Distribution section of the Distributions tab.
Choose the region where you would like the Linode to reside. If you’re not sure which to select, see our How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the route path between you and a data center in each specific region.
Select a Linode plan.
Give the Linode a label. This is a name to help you easily identify it within the Cloud Manager’s Dashboard. If desired, assign a tag to the Linode in the Add Tags field.
Create a root password for your Linode in the Root Password field. This password must be provided when you log in to the Linode through SSH. It must be at least 6 characters long and contain characters from two of the following categories:
lowercase and uppercase case letters
numbers
punctuation characters
Click Create. The system directs you to the Linodes page that reports the status of the Linode as it boots up.
Creating New Disks
To hold the files transferred from the other Linode, create two new disks labeled copy and swap:
Select the Linode that is receiving the disk. The Linode’s dashboard appears.
Go to the Disks/Configs tab and click Add a Disk in the Disks section. The Add Disk window appears.
Type a descriptive name such as copy for the disk in the Label field.
Select ext4 in the Filesystem dropdown field.
Set the size of the disk in the Size field. The size of the disk must be large enough to hold the contents of the disk that you want to copy.
Click Add to create the disk.
Repeat the steps to create a disk labeled swap and select swap in the Filesystem dropdown field.
Ensure that the size of the swap disk is the same as that of the swap disk of the disk that you want to copy.
The system creates disks to hold the files from the disk of other account.
Booting into Rescue Mode
Start the receiving Linode in rescue mode:
Select the Linode that is receiving the disk. The Linode’s dashboard appears.
Click the Rescue tab.
Set the /dev/sda field to copy and /dev/sdb to swap.
Click Reboot into Rescue Mode.
Access the Linode in Rescue Mode
After the Linode has booted, connect to the Linode through LISH.
Select the Linode that is receiving the disk. The Linode’s dashboard appears.
Click Launch Console . A new window appears that displays the Lish console, a Welcome to Finnix! message, and a root prompt.
Set the root password for the Finnix rescue environment by entering the following command:
passwd
Note
This root password is separate from the root password of the disk that you normally boot from. Setting the root password for Finnix does not affect the root account of the distribution.
Type the new password for the root user.
Start the SSH server:
service ssh start
You can now connect to the server as root with the SSH client on the local computer.
The Linode is now ready to receive the files from the other Linode account.
Copying the Disk
To start copying the files on the disk from one account to another, initiate the file transfer:
Connect to the source Linode through an SSH client.
Type the following command to start copying the disk, replace 192.0.2.0 with the IP address of the receiving Linode:
The following output appears. Enter yes to continue connecting:
The authenticity of host '192.0.2.0 (192.0.2.0)' can't be established.
RSA key fingerprint is 20:f4:de:4d:5c:6e:a9:c7:e6:1f:8a:ad:60:62:96:3f.
Are you sure you want to continue connecting (yes/no)?
The system prompts you for the root password. Enter the password you created in the last section when you started the SSH server:
[email protected]'s password:
The file transfer starts, as shown below:
2048000+0 records in
2048000+0 records out
1048576000 bytes (1.0 GB) copied, 391.504 seconds, 2.7 MB/s
2048000+0 records in
2048000+0 records out
1048576000 bytes (1.0 GB) copied, 387.843 seconds, 2.7 MB/s
Wait for the transfer to complete. Note that this process can take a while, depending on the size of your disk.
Verifying the Disk
After the file transfer has completed, you should verify the disk by mounting it on the receiving Linode. Ensure that the Network Helper is on for the receiving Linode or the Static IP is configured to enable networking with the new IP addresses.
Connect to the receiving Linode through SSH as root.
To check that the disks are transferred successfully make a new directory for the disk by typing the following command:
mkdir linode
Mount the disk by typing the following command:
mount /dev/sda linode
View the directories in the disk by typing the following command:
ls linode/
The output is similar to:
bin dev home lost+found mnt proc sbin srv tmp var
boot etc lib media opt root selinux sys usr
Note
If the system displays any disk errors, then perform the Copying the Disk steps again.
Now the Linode is ready to boot from the disk.
Booting from the Disk
Boot the receiving Linode from the disk. First, create a configuration profile on the receiving Linode, and then boot the receiving Linode with the disk that you just transferred.
Creating the Configuration Profile
To boot the receiving Linode from the transferred disk, create a new configuration profile:
Click the Linodes tab.
Select the Linode that received the disk. The Linode’s dashboard appears.
Select Disks/Configs tab and in the Configuration section click Add a Configuration. The Add a Linode Configuration window appears.
Enter a name for the configuration profile in the Label field, such as Received disk.
In the Block Device Assignment section, set /dev/sda to copy and /dev/sdb to swap disk.
Click Submit.
You have successfully created the configuration profile.
Booting the Receiving Linode
Now to start the receiving Linode from the transferred disk, select the configuration profile that you created:
From the Linode’s dashboard, select the Received disk configuration profile that you created.
Click the more options ellipsis and select Boot This Config to restart the Linode from the transferred disk.
The Linode boots using the disk you transferred.
This guide is published under a CC BY-ND 4.0 license.
Use promo code DOCS10 for $10 credit on a new account.
Creating strong passwords is essential to protecting your Linode and your Linode Cloud Manager account. If you suspect that an unauthorized user has gained access to one of your accounts, you should change the password immediately.
Changing or Resetting Your Linode Cloud Manager Password
If you want to change your password, or you forgot your password and need a new one, you can accomplish these tasks through the Forgot Password webpage. Here’s how:
Visit the Forgot Password webpage.
Enter your username in the Username field.
Note
Click the Reset password button.
Check your email for a message containing further instructions.
Follow the instructions in the email message to reset your password.
This guide is published under a CC BY-ND 4.0 license.