Prerequisites
- Access to the cPanel for the site in question
- 1Password SSH Agent configured.
Steps
-
In 1Password,
New Item>SSH Key -
Add Private Key>Generate New Key>Generate>Save- IMPORTANT Each vault not using a pre-configured vault requires its own record under
Configure SSH Agent....
- IMPORTANT Each vault not using a pre-configured vault requires its own record under
-
Copy the public key
-
In cPanel,
Security>SSH Access>Manage SSH Keys -
Click
Import Key, give the key a descriptive name and then paste in the public key. (The other sections can be left blank) -
Back on the Manage SSH Keys screen, click
Managenext to the new key and then clickAuthorize. -
The site can now be accessed via
ssh cPanelUserName@serverName.comWhere
cPanelUserNameis the username used to log in to cPanel, andserverName.comis the host of the website.