manual:config:items:itemtypes:ssh_checks

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
manual:config:items:itemtypes:ssh_checks [2021/05/17 11:38]
127.0.0.1 external edit
manual:config:items:itemtypes:ssh_checks [2021/09/13 10:17] (current)
dimir [Key file authentication] fix zabbix user home directory
Line 32: Line 32:
 ///​home/​zabbix//​ here is the home directory for the //zabbix// user account and //.ssh// is a directory where by default public and private keys will be generated by a [[http://​en.wikipedia.org/​wiki/​Ssh-keygen|ssh-keygen]] command inside the home directory. ///​home/​zabbix//​ here is the home directory for the //zabbix// user account and //.ssh// is a directory where by default public and private keys will be generated by a [[http://​en.wikipedia.org/​wiki/​Ssh-keygen|ssh-keygen]] command inside the home directory.
  
-Usually installation packages of zabbix-server from different OS distributions create ​the //zabbix// user account with a home directory in not very well-known places (as for system accounts). ​For example, for CentOS it'​s ​///var/lib/zabbix//, for Debian it's ///var/run/zabbix//.+Usually installation packages of zabbix-server from different OS distributions create //zabbix// user account with a home directory in not very well-known places (as for system accounts), e. g. ///​var/​lib/​zabbix//​.
  
 Before starting to generate the keys, an approach to reallocate the home directory to a better known place (intuitively expected) could be considered. This will correspond with the //​SSHKeyLocation//​ Zabbix server configuration parameter mentioned above. Before starting to generate the keys, an approach to reallocate the home directory to a better known place (intuitively expected) could be considered. This will correspond with the //​SSHKeyLocation//​ Zabbix server configuration parameter mentioned above.