Acenet Support SSH Key: Difference between revisions
Jump to navigation
Jump to search
Docs admin (talk | contribs) No edit summary |
Docs admin (talk | contribs) No edit summary |
||
(3 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:
<syntaxhighlight lang="bash"> 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 </syntaxhighlight>
The sed command on the first line deletes any existing SSH key for Acenet Technical Support from the authorized_keys file.