SSH keys [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:dpi:dpi_components:dpiui:user_guide:admin_section:equipment_management:ssh_keys:start [2024/08/06 08:33] – created amaioroven:dpi:dpi_components:dpiui:user_guide:admin_section:equipment_management:ssh_keys:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== SSH keys ====== 
  
-{{indexmenu_n>2}} 
-The connection with equipment is carried out via the SSH protocol. 
- 
-Add a sudo user on this hardware. See [[en:dpi:dpi_components:dpiui:user_guide:admin_section:equipment_management:sudo_user:start|Sudo user]]. 
- 
-=== Configuration sshd === 
- 
-Check the **/etc/ssh/sshd_config** file and the **PubkeyAuthentication** property on the connected server. 
- 
-If the **PubkeyAuthentication** property is missing, commented out, or set to **PubkeyAuthentication no**, then replace the property value with **PubkeyAuthentication yes** 
- 
-<note important>After any changes to the **/etc/ssh/sshd_config** file, restart the sshd service with the command: <code>sudo systemctl restart sshd</code></note> 
- 
-=== Authorized keys === 
- 
-Add a public key to a specific user's file on the remote server: 
-<code>/home/username/.ssh/authorized_keys</code> 
- 
-For root user: 
-<code>/root/.ssh/authorized_keys</code>