Difference between revisions of "Acenet Support SSH Key"
From Acenet Knowledgebase
Docs admin (Talk | contribs) m (Docs admin moved page Allow Acenet Support SSH Key to Acenet Support SSH Key without leaving a redirect: Title change) |
Docs admin (Talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | There is an SSH Key that Acenet uses to allow us to access your server via SSH without needing your root password. In order to install this key, please verify that the /root/.ssh directory exists. If it does not, create it and set the directory to 750 permissions. | + | There is an SSH Key that Acenet uses to allow us to access your server via SSH without needing your root password. In order to install this key, please verify that the /root/.ssh directory exists. If it does not, create it and set the directory to 750 permissions. If you have locked down SSH to root, please allow 207.45.190.2 to access the server. This is the IP address used by Technical support. |
− | + | Copy and paste the following commands in the root SSH to add our SSH key to the server: | |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sed --in-place '/Acenet Technical Support/d' /root/.ssh/authorized_keys | sed --in-place '/Acenet Technical Support/d' /root/.ssh/authorized_keys | ||
cd /root/.ssh/ | cd /root/.ssh/ | ||
− | curl -s | + | curl -s https://www.ace-host.net/downloads/acenetpubkey.txt >> /root/.ssh/authorized_keys |
</syntaxhighlight> | </syntaxhighlight> | ||
{{note|The sed command on the first line deletes any existing SSH key for Acenet Technical Support from the authorized_keys file.}} | {{note|The sed command on the first line deletes any existing SSH key for Acenet Technical Support from the authorized_keys file.}} | ||
− | |||
− |
Latest revision as of 06:03, 14 July 2021
There is an SSH Key that Acenet uses to allow us to access your server via SSH without needing your root password. In order to install this key, please verify that the /root/.ssh directory exists. If it does not, create it and set the directory to 750 permissions. If you have locked down SSH to root, please allow 207.45.190.2 to access the server. This is the IP address used by Technical support.
Copy and paste the following commands in the root SSH to add our SSH key to the server:
sed --in-place '/Acenet Technical Support/d' /root/.ssh/authorized_keys
cd /root/.ssh/
curl -s https://www.ace-host.net/downloads/acenetpubkey.txt >> /root/.ssh/authorized_keys
The sed command on the first line deletes any existing SSH key for Acenet Technical Support from the authorized_keys file.