Difference between revisions of "Acenet Support SSH Key"
From Acenet Knowledgebase
Docs admin (Talk | contribs) |
Docs admin (Talk | contribs) |
||
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. |
− | Run the following to | + | Run the following to add our SSH key: |
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
Line 11: | Line 11: | ||
{{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.}} | ||
− | |||
− | + | Run the following command to remove our SSH key: | |
− | + | ||
− | + | ||
<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 | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 14:19, 23 July 2015
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.
Run the following to add our SSH key:
sed --in-place '/Acenet Technical Support/d' /root/.ssh/authorized_keys
cd /root/.ssh/
curl -s http://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.
Run the following command to remove our SSH key:
sed --in-place '/Acenet Technical Support/d' /root/.ssh/authorized_keys