Difference between revisions of "Acenet Support SSH Key"

From Acenet Knowledgebase
Jump to: navigation, search
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.  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.
 
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:
+
Copy and paste the following commands in the root SSH to add our SSH key to the server:
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Line 10: Line 10:
  
 
{{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">
 
sed --in-place '/Acenet Technical Support/d' /root/.ssh/authorized_keys
 
</syntaxhighlight>
 

Revision as of 13:46, 30 January 2018

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 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.