Under Public Keys, locate the name of the key you just created.cPanel generates the public and private keys and saves them in the /home/ username/.ssh directory, where username represents your A2 Hosting account username.
#Import into ssh on mac generator#
Alternatively, you can click Password Generator and cPanel generates a strong password for you.
#Import into ssh on mac how to#
If you do not know how to log in to your cPanel account, please see this article. To generate a new SSH key pair for your account, follow these steps: When you configure SSH keys in cPanel, you can create a new key pair, or import an existing key. Although this configuration does not enable automatic logins, it does provide an extra layer of security, because you must have the correct key file and know the correct passphrase to access the account. The client's private key stays on your local computer, while the public key resides on the A2 Hosting server.Īlternatively, you can also create SSH keys and protect them with a passphrase for two-factor authentication. To use SSH keys, you must first create a public key and private key (also known as a key pair).
SSH keys enable your computer to log in to your A2 Hosting account automatically without you typing a password. You can solve these problems by using SSH keys to connect to your account. Or what if you want to allow multiple users to transfer files securely using SFTP, as described in this article? You would need to give them your cPanel password, which would give them complete access to your account. In this scenario, you don't want to have to manually type your SSH password every time the backup process runs. But what if you want to run an automated process? Perhaps you want to automatically download a database backup at certain times to your local computer. When you log in to your account interactively using an SSH client as described in this article, you must enter a password every time.