1 / 2

Copying an Account with SSH Keys

A proper process involving certain specific steps needs to be followed for using SSH keys to copy an account from a source server to a destination server securely.

htshosting
Download Presentation

Copying an Account with SSH Keys

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. If you are looking for information on how to use SSH keys for securely copying an account from a server, which is the source server, to another server, which is the destinationserver, then here’s all the information. Before elaborating on the main topic, let us digress, and mention in the context of servers that HTSHosting provides highly affordable and powerful servers, which include our globally popular Virtual Private Servers (VPS). HTS Hosting offers various plans for Managed VPS Hosting and for Self-Managed VPS Hosting that are good value for money. The information provided here uses the below-mentioned definitions. The destination server refers to that server where you wish to copy the account. The source server refers to that server from where you wish to copy the account. It is the server on which the account exists already. It is important to mention here that you should use the public key on the source server only. Never import the private key into the SSH keys of the source server. Secondly, if you encounter issues with session timeouts, then you should increase the number of seconds in the Number of second an SSH connection related to an account transfer may be inactive before timing out setting in the System section of the Tweak Settings interface of WHM. WHM >> Home >> Server Configuration >> Tweak Settings. Process to Securely Copy an Account with SSH Keys The below-mentioned actions need to be performed as the root user. The following steps need to be carried out in order to use SSH keys for securely moving an account from the source server to the destination server. 1.Log in to the destination server.

  2. 2.Use the Manage root’s SSH Keys interface of WHM for generating, authorising, and downloading a new SSH key pair. WHM >> Home >> Security Center >> Manage root’s SSH Keys. 3.Log in to the source server. 4.Use the Manage root’s SSH Keys interface of WHM for importing the public key generated by you. WHM >> Home >> Security Center >> Manage root’s SSH Keys. oA unique key name should be used for this key. oThe password should be included, if that is necessary. oThe public key should be pasted in the text box, Paste the Public Key. You should not paste in the private key. The private key needs to remain on the destination server. 5.Click Import 6.Click Return to SSH Manager. 7.The key needs to be located in the Public Keys table. 8.Click Manage Authorization. 9.Click Authorize. 10.Log in to the destination server. 11.Use the Transfer Tool interface of WHM. WHM >> Home >> Transfers >> Transfer Tool. This is done for carrying out the account transfer with the following settings: oThe appropriate information for the source server needs to be entered. oSelect Root, under Login. oSelect SSH Public Key, under Authentication Method. oSelect the key generated in step number 2, from the SSH Key menu. oIf it is necessary, then enter the SSH key’s passphrase in the text box, SSH Key Passphrase. This concludes successfully the process of copying an account with SSH keys. Source: https://www.htshosting.org/knowledge-base/technology/172/copying-an- account-with-ssh-keys

More Related