This article describes how to create and deploy SSH keys. With SSH keys, you can automate logins to your ViniHost Hosting account or use two-factor authentication for increased security.
This article describes how to configure SSH keys using the command line. Alternatively, if your hosting account includes cPanel, you can use its graphical user interface to configure SSH keys.
When you log in to your account interactively using an SSH client, you must enter a password every time. However, if you want to run an automated process, you can use SSH keys to connect to your account without typing a password.
SSH keys enable your computer to log in to your ViniHost Hosting account automatically. To use SSH keys, you must first create a public key and private key (key pair). The private key stays on your local computer, while the public key resides on the ViniHost Hosting server.
You can also create SSH keys with a passphrase for two-factor authentication, adding an extra layer of security.
Older versions of Microsoft Windows do not include the SSH suite of programs. You need to download an SSH key generator program like PuTTYgen.
mkdir ~/.ssh
and nano ~/.ssh/authorized_keys
to paste the public key.chmod 600 ~/.ssh/authorized_keys
and chmod 700 ~/.ssh
.Windows 10 includes native SSH programs. To generate and configure a key pair:
cmd
, and press Enter.ssh-keygen
and follow the prompts.Both Mac OS X and Linux include SSH support. To create and configure SSH keys:
ssh-keygen -t rsa
and follow the prompts.You can also configure your SSH client settings in the ~/.ssh/config
file for easier access.
Experience the ViniHost Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.